_Main/BL/Type_AOnlineAndMOfflinePlanPIR/StaticMethod_Publish.qbl
@@ -28,9 +28,9 @@ } loginfo.RequestBody( jsondata.Build().AsString() ); info( loginfo.RequestBody() ); //info( loginfo.RequestBody() ); data := InterfaceLoginfo::CallInterfaceForSAPGet( owner, loginfo ); info( '----------------', data ); //info( '----------------', data ); return data; *] } _Main/BL/Type_InterfaceLoginfo/StaticMethod_CallInterfaceForSAPGet.qbl
@@ -20,6 +20,7 @@ if( loginfo.Name() = Translations::InterfaceDataset_AOnlineAndMOfflinePlanMS64_Name() ){//è£ é ä¸çº¿è®¡åMS64 httpinterface.URL( Translations::InterfaceDataset_AOnlineAndMOfflinePlanMS64_URL() ); } // info( "请æ±ä½:", loginfo.RequestBody() ); httpinterface.Call( loginfo.RequestBody() ); result := httpinterface.Result(); loginfo.Response( result ); @@ -33,6 +34,7 @@ data := JSON::Null().Build(); sapresponse := construct( InterfaceSAPResponseLoginfos ); feedback := ''; info( "è¿åååºï¼", loginfo.Response() ); if( loginfo.Success() ){ resultJson := JSON::Parse( loginfo.Response() ); code := resultJson.Get( "code" ).GetNumber(); _Main/UI/MacroPlannerWebApp/Component_DialogEditQuantitySAP_PIR/Component_pnlActions.def
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,40 @@ Quintiq file version 2.0 Component pnlActions { #keys: '[415754.0.907118089]' BaseType: 'WebPanel' Children: [ Component btnOk { #keys: '[415754.0.907118093]' BaseType: 'WebButton' Properties: [ Label: 'OK' Taborder: 0 ] } Component btnCancel { #keys: '[415754.0.907118095]' BaseType: 'WebButton' Properties: [ Label: 'Cancel' Taborder: 1 ] } ] Properties: [ Alignment: 'trailing' Border: true ExcludeFromActiveComponent: true FixedSize: true Orientation: 'horizontal' Padding: 'true' Style: 'footer' Taborder: 1 ] } _Main/UI/MacroPlannerWebApp/Component_DialogEditQuantitySAP_PIR/Component_pnlContent.def
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,25 @@ Quintiq file version 2.0 Component pnlContent { #keys: '[415754.0.907118087]' BaseType: 'WebPanel' Children: [ Component npContent { #keys: '[415754.0.907475925]' BaseType: 'WebNumberPicker' Properties: [ DataBinding: 'dhDialogData.Data.PlanningQty' Label: 'æ°é' Taborder: 0 ] } ] Properties: [ Padding: 'true' Taborder: 0 ] } _Main/UI/MacroPlannerWebApp/Component_DialogEditQuantitySAP_PIR/Method_Edit.def
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,14 @@ Quintiq file version 2.0 #parent: #root Method Edit ( AOnlineAndMOfflinePlanPIRData data ) id:Method_DialogEditQuantitySAP_PIR_Edit { #keys: '[415754.0.907475839]' Body: [* dhDialogData.Data( data ); ApplicationMacroPlanner.ShowFormNonModal( this ); *] } _Main/UI/MacroPlannerWebApp/Component_DialogEditQuantitySAP_PIR/Response_pnlActions_btnCancel_OnClick.def
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,15 @@ Quintiq file version 2.0 #parent: pnlActions/btnCancel Response OnClick () id:Response_pnlActions_btnCancel_OnClick { #keys: '[415754.0.907118099]' DefinitionID: 'Responsedef_WebButton_OnClick' GroupServerCalls: true QuillAction { Body: [* Form.Close(); *] } } _Main/UI/MacroPlannerWebApp/Component_DialogEditQuantitySAP_PIR/Response_pnlActions_btnOk_OnClick.def
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,16 @@ Quintiq file version 2.0 #parent: pnlActions/btnOk Response OnClick () id:Response_pnlActions_btnOk_OnClick { #keys: '[415754.0.907118098]' DefinitionID: 'Responsedef_WebButton_OnClick' GroupServerCalls: true QuillAction { Body: [* Form.ApplyChanges(); Form.Close(); *] } } _Main/UI/MacroPlannerWebApp/Component_DialogEditQuantitySAP_PIR/_ROOT_Component_DialogEditQuantitySAP_PIR.def
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,31 @@ Quintiq file version 2.0 #root #parent: MacroPlannerWebApp OrphanComponent DialogEditQuantitySAP_PIR { #keys: '[415754.0.907118085]' BaseType: 'WebForm' Children: [ #child: pnlContent #child: pnlActions Component dhDialogData { #keys: '[415754.0.907520662]' BaseType: 'WebDataHolder' Databinding: 'AOnlineAndMOfflinePlanPIRData' Properties: [ Taborder: 2 ] } ] Properties: [ Alignment: 'trailing' EnterButton: 'btnOk' EscapeButton: 'btnCancel' ExcludeFromActiveComponent: true Padding: 'false' ] } _Main/UI/MacroPlannerWebApp/Component_FormSAP_PIR/Component_List655.def
@@ -39,4 +39,22 @@ [ Taborder: 0 ] ResponseDefinitions: [ DelegatedResponseDefinition OnClick id:Responsedef_List655_WebMenu_OnClick { #keys: '[415754.0.907118164]' Initiator: 'WebMenu' IsInherited: false ResponseType: 'OnClick' Arguments: [ ResponseDefinitionArgument selection { #keys: '[1489.0.58140061]' Binding: 'this.Selection()' } ] } ] } _Main/UI/MacroPlannerWebApp/Component_FormSAP_PIR/Component_listContextMenu713.def
@@ -3,6 +3,20 @@ { #keys: '[415754.0.906554209]' BaseType: 'listContextMenu' Children: [ Component mEdit { #keys: '[415754.0.907118195]' BaseType: 'WebMenu' Properties: [ Image: 'EDITOR_CONSTRAINT' Taborder: 3 Title: 'Edit' ] } ] Properties: [ Taborder: 0 _Main/UI/MacroPlannerWebApp/Component_FormSAP_PIR/Component_pHeader.def
@@ -37,6 +37,16 @@ Taborder: 2 ] } Component bPush { #keys: '[415754.0.907118015]' BaseType: 'WebButton' Properties: [ Label: 'æ¨é' Taborder: 3 ] } ] Properties: [ _Main/UI/MacroPlannerWebApp/Component_FormSAP_PIR/Response_List391_bPush_OnClick.def
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,19 @@ Quintiq file version 2.0 #parent: List391 Response OnClick ( AOnlineAndMOfflinePlanPIR selection ) id:Response_List391_bPush_OnClick { #keys: '[415754.0.907252248]' CanBindMultiple: false DefinitionID => /List391/Responsedef_List391_WebButton_OnClick Initiator: 'bPush' QuillAction { Body: [* AOnlineAndMOfflinePlanPIR::Publish( InterfaceDataset, selection.InterfaceLoginfo() ); *] GroupServerCalls: false } } _Main/UI/MacroPlannerWebApp/Component_FormSAP_PIR/Response_List655_mEdit_OnClick.def
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,21 @@ Quintiq file version 2.0 #parent: List655 Response OnClick ( AOnlineAndMOfflinePlanPIRData selection ) id:Response_List655_mEdit_OnClick { #keys: '[415754.0.907392054]' CanBindMultiple: false DefinitionID => /List655/Responsedef_List655_WebMenu_OnClick Initiator: 'mEdit' QuillAction { Body: [* dlg := construct( DialogEditQuantitySAP_PIR ); dlg.Edit( selection ); *] GroupServerCalls: false } } _Main/UI/MacroPlannerWebApp/Component_FormSAP_PIR/Response_pHeader_bPush_OnClick.def
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,12 @@ Quintiq file version 2.0 #parent: pHeader/bPush Response OnClick () id:Response_pHeader_bPush_OnClick { #keys: '[415754.0.907252162]' CanBindMultiple: false DefinitionID: 'Responsedef_WebButton_OnClick' QuillAction { GroupServerCalls: false } }