Merge branch 'dev' of http://47.101.211.7:10101/r/VWED into dev-zlg
# Conflicts:
# _Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Component_abgSecondDevelopmentPlan.def
| | |
| | | options := DatasetFindOptions::Construct( 'InterfaceDataset' ).IncludeOffline( true ); //to load we must search offline datasets. |
| | | mdskey := DatasetController::FindUnique( options ); |
| | | |
| | | MDSInterfaceDataset::Root( mdskey ) -> ShippingActualData::Synchronize(); |
| | | MDSInterfaceDataset::Root( mdskey ) -> ShippingActualData::Synchronize( "Administrator" ); |
| | | *] |
| | | } |
| | |
| | | { |
| | | DefaultText: 'There are duplicate three digit codes present' |
| | | } |
| | | InfoMessage InterfaceDataset_Address |
| | | { |
| | | DefaultText: 'ds-yunrong-gw.dmp.vwfawedl.mobi' |
| | | } |
| | | InfoMessage InterfaceDataset_ContentType |
| | | { |
| | | DefaultText: 'application/json' |
| | | } |
| | | InfoMessage InterfaceDataset_ShippingActualData_Name |
| | | { |
| | | DefaultText: 'Shipping actual data' |
| | | } |
| | | InfoMessage InterfaceDataset_ShippingActualData_URL |
| | | { |
| | | DefaultText: '/data-service/api/service/post-data/V1.101/f4f94c47c1a2440898b5e1e2c0c5cbc8' |
| | | } |
| | | InfoMessage InterfaceDataset_Token_URL |
| | | { |
| | | DefaultText: '/authorization/token/api/open/token/generateToken?grant_type=client_credentials&client_id=19KxoxPF25cy96K8TL&client_secret=514390007906041965' |
| | | } |
| | | InfoMessage MP_ChangeLossSetting_CheckNull |
| | | { |
| | | DefaultText: 'The required field is blank.' |
| | |
| | | { |
| | | DefaultText: 'The Event type of binding Event exists.' |
| | | } |
| | | InfoMessage MP_LibCal_Event_ValidDate |
| | | { |
| | | DefaultText: 'This date is not within the planned cycle!' |
| | | } |
| | | InfoMessage MP_Routing_IllegalDateRange |
| | | { |
| | | DefaultText: 'The start date cannot be longer than the end date.' |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Relation InterfaceLoginfo_InterfaceDataset_InterfaceDataset_InterfaceLoginfo |
| | | { |
| | | #keys: '1[415136.0.917964687]' |
| | | DefaultRelationStrategy |
| | | { |
| | | } |
| | | RelationSide.LeftSide InterfaceDataset |
| | | { |
| | | #keys: '3[415136.0.917964689][415136.0.917964688][415136.0.917964690]' |
| | | Cardinality: '0to1' |
| | | ObjectDefinition: InterfaceLoginfo |
| | | OwningSide: 'Reference' |
| | | } |
| | | RelationSide.RightSide InterfaceLoginfo |
| | | { |
| | | #keys: '3[415136.0.917964692][415136.0.917964691][415136.0.917964693]' |
| | | Cardinality: '1toN' |
| | | ObjectDefinition: InterfaceDataset |
| | | OwningSide: 'Owned' |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Relation InterfaceLoginfo_ShippingActualData_ShippingActualData_InterfaceLoginfo |
| | | { |
| | | #keys: '1[415136.0.917964760]' |
| | | DefaultRelationStrategy |
| | | { |
| | | } |
| | | RelationSide.LeftSide ShippingActualData |
| | | { |
| | | #keys: '3[415136.0.917964762][415136.0.917964761][415136.0.917964763]' |
| | | Cardinality: '1toN' |
| | | ObjectDefinition: InterfaceLoginfo |
| | | OwningSide: 'Owned' |
| | | } |
| | | RelationSide.RightSide InterfaceLoginfo |
| | | { |
| | | #keys: '3[415136.0.917964765][415136.0.917964764][415136.0.917964766]' |
| | | Cardinality: '0to1' |
| | | ObjectDefinition: ShippingActualData |
| | | OwningSide: 'Reference' |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute ExecuteUser |
| | | { |
| | | #keys: '3[415136.0.917964722][415136.0.917964721][415136.0.917964723]' |
| | | Description: 'æ§è¡äºº' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute FinishTime |
| | | { |
| | | #keys: '3[415136.0.917964701][415136.0.917964700][415136.0.917964702]' |
| | | Description: '宿æ¶é´' |
| | | ValueType: DateTime |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute InterfaceDateTime |
| | | { |
| | | #keys: '3[415136.0.917964734][415136.0.917964733][415136.0.917964735]' |
| | | Description: 'è§¦åæ¶é´' |
| | | ValueType: DateTime |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute Last |
| | | { |
| | | #keys: '3[415136.0.917964713][415136.0.917964712][415136.0.917964714]' |
| | | Description: 'æ¯å¦æ¯ææ°çæ¥å£æ°æ®' |
| | | ValueType: Boolean |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute Message |
| | | { |
| | | #keys: '3[415136.0.917964728][415136.0.917964727][415136.0.917964729]' |
| | | Description: 'æ¥å£ä¿¡æ¯' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute Name |
| | | { |
| | | #keys: '3[415136.0.917964704][415136.0.917964703][415136.0.917964705]' |
| | | Description: 'æ¥å£åç§°' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute RequestBody |
| | | { |
| | | #keys: '3[415136.0.917964731][415136.0.917964730][415136.0.917964732]' |
| | | Description: 'æ¥å£å
¥å' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute Response |
| | | { |
| | | #keys: '3[415136.0.917964710][415136.0.917964709][415136.0.917964711]' |
| | | Description: 'æ¥å£è¿åæ°æ®' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute ReturnMsg |
| | | { |
| | | #keys: '3[415136.0.917964719][415136.0.917964718][415136.0.917964720]' |
| | | Description: 'è¿åä¿¡æ¯' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute ReturnSuccess |
| | | { |
| | | #keys: '3[415136.0.917964737][415136.0.917964736][415136.0.917964738]' |
| | | ValueType: Boolean |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute Success |
| | | { |
| | | #keys: '3[415136.0.917964716][415136.0.917964715][415136.0.917964717]' |
| | | ValueType: Boolean |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute TotalRow |
| | | { |
| | | #keys: '3[415136.0.917964725][415136.0.917964724][415136.0.917964726]' |
| | | Description: 'æ»è¡æ°' |
| | | ValueType: Number |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: Message |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: Name |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: Response |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method UpdateLast |
| | | { |
| | | TextBody: |
| | | [* |
| | | // çå
°é¸½ Jul-22-2024 (created) |
| | | if( this.Success() and this.ReturnSuccess() ){ |
| | | traverse( this,InterfaceDataset.InterfaceLoginfo,item,item.Last() = true and item.Name() = this.Name()){ |
| | | item.Last(false); |
| | | } |
| | | this.Last(true); |
| | | } |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod CallInterface ( |
| | | InterfaceDataset owner, |
| | | InterfaceLoginfo loginfo |
| | | ) as owning JSON |
| | | { |
| | | TextBody: |
| | | [* |
| | | // çå
°é¸½ Jul-22-2024 (created) |
| | | address := Translations::InterfaceDataset_Address(); |
| | | httpinterface := HTTPInterface::Create( address,80); |
| | | |
| | | if( loginfo.Name() = Translations::InterfaceDataset_ShippingActualData_Name() ){//åè¿å®é
æ°æ® |
| | | |
| | | httpinterface.URL( Translations::InterfaceDataset_ShippingActualData_URL() ); |
| | | httpinterface.MediaType( Translations::InterfaceDataset_ContentType() ); |
| | | httpinterface.PostMethod( true ); |
| | | try{ |
| | | httpinterface.AddHeader("Authorization",InterfaceLoginfo::CallToken()) |
| | | |
| | | httpinterface.Call( loginfo.RequestBody() ); |
| | | |
| | | result := httpinterface.Result(); |
| | | loginfo.Response( result ); |
| | | loginfo.Success( true ); |
| | | }onerror{ |
| | | loginfo.ReturnMsg( e.GeneralInformation() ); |
| | | } |
| | | } |
| | | //åç»å
Œ
±å¤ç |
| | | loginfo.FinishTime( DateTime::ActualTime() ); |
| | | data := JSON::Null().Build(); |
| | | |
| | | if( loginfo.Success() ){ |
| | | resultJson := JSON::Parse( loginfo.Response() ); |
| | | code := resultJson.Get( "code" ).AsString(); |
| | | msg := resultJson.Get( "message" ).AsString(); |
| | | data := resultJson.Get( "data" ); |
| | | |
| | | loginfo.ReturnMsg( msg ); |
| | | if( code = "200" ){ |
| | | total := resultJson.Get( "dataSize" ).GetNumber(); |
| | | loginfo.ReturnSuccess( true ); |
| | | loginfo.TotalRow( total ); |
| | | loginfo.UpdateLast(); |
| | | } |
| | | } |
| | | |
| | | return &data; |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod CallToken () as String |
| | | { |
| | | TextBody: |
| | | [* |
| | | // çå
°é¸½ Jul-22-2024 (created) |
| | | address := Translations::InterfaceDataset_Address(); |
| | | httpinterface := HTTPInterface::Create( address,80); |
| | | |
| | | httpinterface.URL( Translations::InterfaceDataset_Token_URL() ); |
| | | httpinterface.MediaType( Translations::InterfaceDataset_ContentType() ); |
| | | httpinterface.Call(); |
| | | result := httpinterface.Result(); |
| | | |
| | | resultJson := JSON::Parse( result ); |
| | | token := resultJson.Get( "access_token" ).AsString(); |
| | | |
| | | return token; |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: #DomainModel |
| | | Type InterfaceLoginfo |
| | | { |
| | | #keys: '5[415136.0.917964684][415136.0.917964682][0.0.0][415136.0.917964683][415136.0.917964685]' |
| | | BaseType: Object |
| | | StructuredName: 'InterfaceLoginfos' |
| | | } |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod GenerateData ( |
| | | InterfaceDataset owner, |
| | | InterfaceLoginfo owner, |
| | | StringToDateTime cnv1, |
| | | StringToDate cnv, |
| | | JSON item |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod Synchronize ( |
| | | InterfaceDataset owner |
| | | InterfaceDataset owner, |
| | | String executor |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | //// çå
°é¸½ Jul-17-2024 (created) |
| | | column := owner.ShippingActualColumn( relnew, StartDate := Date::ActualDate(), Index := owner.ShippingActualColumn( relsize ) ); |
| | | date := Date::ActualDate(); |
| | | loginfo := owner.InterfaceLoginfo( relnew, ExecuteUser := executor |
| | | , Name := Translations::InterfaceDataset_ShippingActualData_Name() |
| | | , InterfaceDateTime := DateTime::ActualTime() |
| | | , Message := 'åè¿å®é
æ°æ®' |
| | | , RequestBody := ShippingActualData::GetRequestBody( date ) ); |
| | | // vwedadmin Jul-18-2024 (created) |
| | | address := "ds-yunrong-gw.dmp.vwfawedl.mobi"; |
| | | //address := "ds-yunrong-gw.dmp.vwfawedl.mobi"; |
| | | // |
| | | // /// http://ds-yunrong-gw.dmp.vwfawedl.mobi/data-service/api/service/post-data/V1.101/f4f94c47c1a2440898b5e1e2c0c5cbc8 |
| | | //httpinterface := HTTPInterface::Create( address,80); |
| | | // httpinterface.URL("/data-service/api/service/post-data/V1.101/f4f94c47c1a2440898b5e1e2c0c5cbc8"); |
| | | //httpinterface.MediaType("application/json"); |
| | | ////httpinterface.SSL(true); |
| | | ////httpinterface.SSLKeystore("MyKeystore"); |
| | | //httpinterface.PostMethod(true); |
| | | ////str :='{ |
| | | //// "inParam": |
| | | //// { |
| | | //// "dday" : "2024-07-11" |
| | | //// } |
| | | ////}' |
| | | //httpinterface.AddHeader("Authorization","MTlLeG94UEYyNWN5OTZLOFRMXzUyNzA4ODkwNzg1NTA2OTIxNV9wcml2YXRlS2V5XzE3MjEzMDM4Nzc0NTE=") |
| | | //httpinterface.Call( ShippingActualData::GetRequestBody( column.StartDate() ) ); //Sends request with the header Authorization: 538baa9045a84c0e889f å¯ä»¥ä¼ é卿token çå§ |
| | | //result := httpinterface.Result(); |
| | | |
| | | /// http://ds-yunrong-gw.dmp.vwfawedl.mobi/data-service/api/service/post-data/V1.101/f4f94c47c1a2440898b5e1e2c0c5cbc8 |
| | | httpinterface := HTTPInterface::Create( address,80); |
| | | httpinterface.URL("/data-service/api/service/post-data/V1.101/f4f94c47c1a2440898b5e1e2c0c5cbc8"); |
| | | httpinterface.MediaType("application/json"); |
| | | //httpinterface.SSL(true); |
| | | //httpinterface.SSLKeystore("MyKeystore"); |
| | | httpinterface.PostMethod(true); |
| | | //str :='{ |
| | | // "inParam": |
| | | // { |
| | | // "dday" : "2024-07-11" |
| | | // } |
| | | //}' |
| | | httpinterface.AddHeader("Authorization","MTlLeG94UEYyNWN5OTZLOFRMXzUyNzA4ODkwNzg1NTA2OTIxNV9wcml2YXRlS2V5XzE3MjEzMDM4Nzc0NTE=") |
| | | httpinterface.Call( ShippingActualData::GetRequestBody( column.StartDate() ) ); //Sends request with the header Authorization: 538baa9045a84c0e889f å¯ä»¥ä¼ é卿token çå§ |
| | | result := httpinterface.Result(); |
| | | |
| | | cnv1 := StringToDateTime::StandardConverter(); |
| | | cnv1.SetCustomConversion(); |
| | | cnv1.CustomFormatString( 'yyyy-MM-dd HH:mm:ss' ); |
| | | |
| | | cnv2 := StringToDate::StandardConverter(); |
| | | cnv2.SetCustomConversion(); |
| | | cnv2.CustomFormatString( 'yyyy-MM-dd' ); |
| | | |
| | | data := InterfaceDataset::GetResponseJsonData( result ); |
| | | |
| | | sadatalist := construct( ShippingActualDatas ); |
| | | for( seq := 0;seq < data.Size();seq++){ |
| | | item := data.Get(seq); |
| | | sadata := ShippingActualData::GenerateData( owner, cnv1, cnv2, item ); |
| | | sadatalist.Add( sadata ); |
| | | } |
| | | beforerowsize := owner.ShippingActualRow( relsize ); |
| | | traverse( sadatalist, Elements, e ){ |
| | | row := selectobject( owner, ShippingActualRow, row, row.Name() = e.FourCode() ); |
| | | if( isnull( row ) ){ |
| | | owner.ShippingActualRow( relnew, Name := e.FourCode() ); |
| | | } |
| | | data := InterfaceLoginfo::CallInterface( owner, loginfo ); |
| | | if( not isnull( data ) ){ |
| | | cnv1 := StringToDateTime::StandardConverter(); |
| | | cnv1.SetCustomConversion(); |
| | | cnv1.CustomFormatString( 'yyyy-MM-dd HH:mm:ss' ); |
| | | |
| | | cell := row.ShippingActualCell( relnew, Quantity := e.Quantity() ); |
| | | column.ShippingActualCell( relinsert, cell ); |
| | | } |
| | | if( beforerowsize <> owner.ShippingActualRow( relsize ) ){ |
| | | rows := selectsortedset( owner, ShippingActualRow, row, row.Name() ); |
| | | nr := 0; |
| | | traverse( rows, Elements, e ){ |
| | | e.RowNr( nr ); |
| | | nr := nr + 1; |
| | | cnv2 := StringToDate::StandardConverter(); |
| | | cnv2.SetCustomConversion(); |
| | | cnv2.CustomFormatString( 'yyyy-MM-dd' ); |
| | | column := owner.ShippingActualColumn( relnew, StartDate := date, Index := owner.ShippingActualColumn( relsize ) ); |
| | | |
| | | sadatalist := construct( ShippingActualDatas ); |
| | | for( seq := 0;seq < data.Size();seq++){ |
| | | item := data.Get(seq); |
| | | sadata := ShippingActualData::GenerateData( loginfo, cnv1, cnv2, item ); |
| | | sadatalist.Add( sadata ); |
| | | } |
| | | beforerowsize := owner.ShippingActualRow( relsize ); |
| | | traverse( sadatalist, Elements, e ){ |
| | | row := selectobject( owner, ShippingActualRow, row, row.Name() = e.FourCode() ); |
| | | if( isnull( row ) ){ |
| | | owner.ShippingActualRow( relnew, Name := e.FourCode() ); |
| | | } |
| | | |
| | | cell := row.ShippingActualCell( relnew, Quantity := e.Quantity() ); |
| | | column.ShippingActualCell( relinsert, cell ); |
| | | } |
| | | if( beforerowsize <> owner.ShippingActualRow( relsize ) ){ |
| | | rows := selectsortedset( owner, ShippingActualRow, row, row.Name() ); |
| | | nr := 0; |
| | | traverse( rows, Elements, e ){ |
| | | e.RowNr( nr ); |
| | | nr := nr + 1; |
| | | } |
| | | } |
| | | } |
| | | *] |
| | |
| | | ] |
| | | Properties: |
| | | [ |
| | | Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"StartDate","title":"StartDate","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":""}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Participation.Calendar.CalendarID","title":"CalendarID","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Participation.Calendar.CalendarID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Participation.Event.EventType.Name","title":"Name","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Participation.Event.EventType.Name"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Participation.Event.Subject","title":"Subject","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Participation.Event.Subject"}},{"attribute":{"classtype":"WebApiDefinitionAttributeExpression","columnid":"StartDate","title":"StartDate","subtotals":"","tooltip":"","width":-1,"display":"shown","expressionbody":"object.Start().Date()"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Participation.Event.StartTimeOfDay","title":"StartTimeOfDay","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Participation.Event.StartTimeOfDay"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Participation.Event.EndTimeOfDay","title":"EndTimeOfDay","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Participation.Event.EndTimeOfDay"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Participation.Event.Description","title":"Description","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Participation.Event.Description"}}]' |
| | | Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Participation.Calendar.CalendarID","title":"产线","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Participation.Calendar.CalendarID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Participation.Event.EventType.Name","title":"äºä»¶ç±»å","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Participation.Event.EventType.Name"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Participation.Event.Subject","title":"äºä»¶","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Participation.Event.Subject"}},{"attribute":{"classtype":"WebApiDefinitionAttributeExpression","columnid":"StartDate","title":"æ¥æ","subtotals":"","tooltip":"","width":-1,"display":"shown","expressionbody":"object.Start().Date()"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Participation.Event.StartTimeOfDay","title":"å¼å§æ¶é´","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Participation.Event.StartTimeOfDay"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Participation.Event.EndTimeOfDay","title":"ç»ææ¶é´","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Participation.Event.EndTimeOfDay"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Participation.Event.Description","title":"夿³¨","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Participation.Event.Description"}}]' |
| | | ContextMenu: 'listContextMenu967' |
| | | SortCriteria: 'desc:Start' |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | |
| | | [ |
| | | Taborder: 0 |
| | | ] |
| | | ResponseDefinitions: |
| | | [ |
| | | DelegatedResponseDefinition OnClick id:Responsedef_ListList_WebMenu_OnClick |
| | | { |
| | | #keys: '[415136.0.905460388]' |
| | | Initiator: 'WebMenu' |
| | | IsInherited: false |
| | | ResponseType: 'OnClick' |
| | | Arguments: |
| | | [ |
| | | ResponseDefinitionArgument selection |
| | | { |
| | | #keys: '[1197.0.10345066]' |
| | | Binding: 'this.Selection()' |
| | | } |
| | | ] |
| | | } |
| | | ] |
| | | } |
| | |
| | | { |
| | | #keys: '[415136.0.657740261]' |
| | | BaseType: 'listContextMenu' |
| | | Children: |
| | | [ |
| | | Component MenuDelete |
| | | { |
| | | #keys: '[415136.0.905460274]' |
| | | BaseType: 'WebMenu' |
| | | Properties: |
| | | [ |
| | | Image: 'DELETE' |
| | | Taborder: 3 |
| | | Title: 'Delete' |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 0 |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: ListList |
| | | Response OnClick ( |
| | | structured[ExplicitTimeInterval] selection |
| | | ) id:Response_ListList_MenuDelete_OnClick |
| | | { |
| | | #keys: '[415136.0.905460576]' |
| | | CanBindMultiple: false |
| | | DefinitionID => /ListList/Responsedef_ListList_WebMenu_OnClick |
| | | Initiator: 'MenuDelete' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | traverse( selection, Elements, e ){ |
| | | e.Delete(); |
| | | } |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |