Merge branch 'dev' of http://47.101.211.7:10101/r/VWED into dev
| | |
| | | { |
| | | DefaultText: 'There are duplicate three digit codes present' |
| | | } |
| | | InfoMessage MP_ChangeLossSetting_CheckNull |
| | | { |
| | | DefaultText: 'The required field is blank.' |
| | | } |
| | | InfoMessage MP_ChangeLossSetting_Exist |
| | | { |
| | | DefaultText: 'The same data already exists.' |
| | | } |
| | | InfoMessage MP_ChangeLossSetting_SameProduct |
| | | { |
| | | DefaultText: 'The two products selected are the same.' |
| | | } |
| | | InfoMessage MP_LibCal_EventType_Exist |
| | | { |
| | | DefaultText: 'The ID or name is the same.' |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod ValidateInput ( |
| | | output String feedback, |
| | | MacroPlan owner, |
| | | ChangeLossSetting old, |
| | | Unit unit, |
| | | Product_MP product1, |
| | | Product_MP product2, |
| | | Number number |
| | | ) as Boolean |
| | | { |
| | | TextBody: |
| | | [* |
| | | // çå
°é¸½ Jun-5-2024 (created) |
| | | feedback := ''; |
| | | |
| | | if( isnull( unit ) or isnull( product1 ) or isnull( product2 ) or number < 1 ){ |
| | | feedback := Translations::MP_ChangeLossSetting_CheckNull(); |
| | | } |
| | | if( product1 = product2 ){ |
| | | feedback := Translations::MP_ChangeLossSetting_SameProduct(); |
| | | } |
| | | if( exists( owner, ChangeLossSetting, cls, cls <> old and cls.Unit() = unit |
| | | and ( ( cls.ProductFirst() = product1 and cls.ProductSecond() = product2 ) |
| | | or ( cls.ProductFirst() = product2 and cls.ProductSecond() = product1 ) ) ) ){ |
| | | feedback := Translations::MP_ChangeLossSetting_Exist() |
| | | } |
| | | |
| | | return feedback = ''; |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component ActionBarGroupRestraint |
| | | { |
| | | #keys: '[415136.0.747550191]' |
| | | BaseType: 'WebActionBarGroup' |
| | | Children: |
| | | [ |
| | | Component ButtonChangeLossSetting |
| | | { |
| | | #keys: '[415136.0.747550259]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | Image: 'GEAR' |
| | | Label: 'Change loss setting' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 0 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component ActionBarPageRestraint |
| | | { |
| | | #keys: '[415136.0.747550190]' |
| | | BaseType: 'WebActionBarPage' |
| | | Children: |
| | | [ |
| | | #child: ActionBarGroupRestraint |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 18 |
| | | Title: 'Restraint' |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component ActionBarPageScenarioSelection #extension |
| | | { |
| | | Properties: |
| | | [ |
| | | Taborder: 20 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component applicationFixedPageActionBarPageDef #extension |
| | | { |
| | | Properties: |
| | | [ |
| | | Taborder: 21 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: ActionBarGroupRestraint/ButtonChangeLossSetting |
| | | Response OnClick () id:Response_MacroPlanner_ActionBarGroupRestraint_ButtonChangeLossSetting_OnClick |
| | | { |
| | | #keys: '[415136.0.748214014]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | ApplicationScope.ViewManager().ResetUserViewById( "Change_loss_setting_view", true); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
| | |
| | | #child: ActionBarPageSales |
| | | #child: applicationConfigureActionBarPageDef |
| | | #child: ActionBarPageInventory |
| | | #child: ActionBarPageRestraint |
| | | #child: ActionBarPageScenarioSelection |
| | | #child: applicationFixedPageActionBarPageDef |
| | | #child: applicationDevelopmentActionBarPageDef_1 |
| | | ] |
| | | } |
| | |
| | | { |
| | | #keys: '[415136.0.735612418]' |
| | | BaseType: 'WebDropDownList' |
| | | Databinding: 'Unit' |
| | | Children: |
| | | [ |
| | | Component deUnit |
| | |
| | | Properties: |
| | | [ |
| | | DataType: 'MacroPlan' |
| | | FixedFilter: "object.CapacityType() = 'Time'" |
| | | Source: 'MacroPlan' |
| | | Taborder: 0 |
| | | Transformation: 'Unit' |
| | |
| | | Properties: |
| | | [ |
| | | DataBinding: 'dhDialogData.Data.Unit' |
| | | Label: 'Line' |
| | | DisplayField: 'Name' |
| | | Label: 'Unit' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | |
| | | { |
| | | #keys: '[415136.0.738250065]' |
| | | BaseType: 'WebDropDownList' |
| | | Databinding: 'Product_MP' |
| | | Children: |
| | | [ |
| | | Component deProductFirst |
| | |
| | | Properties: |
| | | [ |
| | | DataBinding: 'dhDialogData.Data.ProductFirst' |
| | | DisplayField: 'Name' |
| | | Label: 'Product1' |
| | | Taborder: 1 |
| | | ] |
| | |
| | | { |
| | | #keys: '[415136.0.738250142]' |
| | | BaseType: 'WebDropDownList' |
| | | Databinding: 'Product_MP' |
| | | Children: |
| | | [ |
| | | Component deProductSecond |
| | |
| | | Properties: |
| | | [ |
| | | DataBinding: 'dhDialogData.Data.ProductSecond' |
| | | DisplayField: 'Name' |
| | | Label: 'Product2' |
| | | Taborder: 2 |
| | | ] |
| | |
| | | [ |
| | | DataBinding: 'dhDialogData.Data.ChangeLossNr' |
| | | Label: 'Change loss number' |
| | | Min: '0' |
| | | Taborder: 3 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method Edit ( |
| | | ChangeLossSetting selection |
| | | ) id:Method_DialogCreateEditChangeLossSetting_Edit |
| | | { |
| | | #keys: '[415136.0.746200731]' |
| | | Body: |
| | | [* |
| | | // Edit Product(s) |
| | | |
| | | data := shadow( selection ); |
| | | dhDialogData.Data( &data ); |
| | | |
| | | ApplicationMacroPlanner.ShowFormModal( this ); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method New ( |
| | | FormChangeLossSetting form |
| | | ) id:Method_DialogCreateEditChangeLossSetting_New |
| | | { |
| | | #keys: '[415136.0.746200358]' |
| | | Body: |
| | | [* |
| | | // To create a new product |
| | | owner := LibCal_GlobalState.dhGlobalCalendarRegistry().Data(); |
| | | obj := MacroPlan.ChangeLossSetting( relshadow ); |
| | | |
| | | dhDialogData.Data( &obj ); |
| | | |
| | | dhForm.Data( form ); |
| | | |
| | | ApplicationMacroPlanner.ShowFormModal( this ); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method OnOK () id:Method_DialogCreateEditChangeLossSetting_OnOK |
| | | { |
| | | #keys: '[415136.0.746200837]' |
| | | Body: |
| | | [* |
| | | // onOK for ProductDialog |
| | | // When the user clicks ok, |
| | | // we either create or edit the data |
| | | this.ApplyChanges(); |
| | | |
| | | data := dhDialogData.Data(); |
| | | |
| | | if( isnull( data.WrappedInstance() ) ) // New |
| | | { |
| | | data.Commit(); |
| | | dhForm.Data().ListChangeLossSetting().SelectByKey( data.WrappedInstance().Key() ); |
| | | } |
| | | else |
| | | { |
| | | data.Commit(); |
| | | } |
| | | |
| | | this.Close(); |
| | | *] |
| | | } |
| | |
| | | { |
| | | #keys: '[415136.0.735612174]' |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | GroupServerCalls: true |
| | | Precondition: |
| | | [* |
| | | return ChangeLossSetting::ValidateInput( feedback, MacroPlan, dhDialogData.Data().WrappedInstance(), ddlUnit.Data(), ddlProduct1.Data(), ddlProduct2.Data(), [Number]npChangeLossNr.Number() ); |
| | | *] |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | Form.ApplyChanges(); |
| | | Form.Close(); |
| | | Form.OnOK(); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
| | |
| | | FixedSize: false |
| | | Label: 'Parent event type' |
| | | Taborder: 2 |
| | | Tooltip: '<html>Leave empty if the product is at the highest level of the product hierarchy.<br>Otherwise select the parent product.</html>' |
| | | ] |
| | | } |
| | | ] |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component pnlActions |
| | | { |
| | | #keys: '[415136.0.756140030]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component btnOk |
| | | { |
| | | #keys: '[415136.0.756140034]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | Label: 'OK' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | Component btnCancel |
| | | { |
| | | #keys: '[415136.0.756140036]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | Label: 'Cancel' |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Alignment: 'trailing' |
| | | Border: true |
| | | ExcludeFromActiveComponent: true |
| | | FixedSize: true |
| | | Orientation: 'horizontal' |
| | | Padding: 'true' |
| | | Style: 'footer' |
| | | Taborder: 3 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component pnlContent |
| | | { |
| | | #keys: '[415136.0.756140028]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | #child: pnlRouting |
| | | #child: pnlMaxCapacity |
| | | #child: pnlStartAndEnd |
| | | #child: pnlRatio |
| | | ] |
| | | Properties: |
| | | [ |
| | | Padding: 'true' |
| | | Taborder: 2 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component pnlEndTime |
| | | { |
| | | #keys: '[415136.0.756140748]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component dsEndTime |
| | | { |
| | | #keys: '[415136.0.756140766]' |
| | | BaseType: 'WebDateSelector' |
| | | Properties: |
| | | [ |
| | | Label: 'End' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 1 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component pnlMaxCapacity |
| | | { |
| | | #keys: '[415136.0.756140541]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component efMaxCapacity |
| | | { |
| | | #keys: '[415136.0.756140589]' |
| | | BaseType: 'WebEditField' |
| | | Properties: |
| | | [ |
| | | Label: 'Maximum thermal trial capacity' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | FixedSize: true |
| | | Taborder: 1 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component pnlRatio |
| | | { |
| | | #keys: '[415136.0.756140800]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component lblThermalTrialRatio |
| | | { |
| | | #keys: '[415136.0.756140822]' |
| | | BaseType: 'WebLabel' |
| | | Properties: |
| | | [ |
| | | Label: 'Thermal Trial Ratio' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | Component efThermalTrialRatio |
| | | { |
| | | #keys: '[415136.0.756140847]' |
| | | BaseType: 'WebEditField' |
| | | Properties: |
| | | [ |
| | | Label: '1:' |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | FixedSize: true |
| | | Orientation: 'horizontal' |
| | | Taborder: 3 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component pnlRouting |
| | | { |
| | | #keys: '[415136.0.756140163]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component ddlRouting |
| | | { |
| | | #keys: '[415136.0.756140276]' |
| | | BaseType: 'WebDropDownList' |
| | | Databinding: 'Routing' |
| | | Children: |
| | | [ |
| | | Component DataExtractorRouting |
| | | { |
| | | #keys: '[415136.0.756140277]' |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | | DataType: 'structured[Routing]' |
| | | Source: 'dhRoutingSelection' |
| | | Taborder: 0 |
| | | Transformation: 'Elements' |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | AllowEmpty: true |
| | | DataBinding: 'dhDialogData.Data' |
| | | DisplayField: 'Name' |
| | | FixedSize: false |
| | | Label: 'Routing' |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | | Component dhRoutingSelection |
| | | { |
| | | #keys: '[415136.0.756140424]' |
| | | BaseType: 'WebDataHolder' |
| | | Databinding: 'structured[Routing]*' |
| | | Properties: |
| | | [ |
| | | MergeStyle: 'Union' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | FixedSize: true |
| | | Taborder: 0 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component pnlStartAndEnd |
| | | { |
| | | #keys: '[415136.0.756140654]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | #child: pnlStartTime |
| | | #child: pnlEndTime |
| | | ] |
| | | Properties: |
| | | [ |
| | | FixedSize: true |
| | | Taborder: 2 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component pnlStartTime |
| | | { |
| | | #keys: '[415136.0.756140686]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component dsStartTime |
| | | { |
| | | #keys: '[415136.0.756140720]' |
| | | BaseType: 'WebDateSelector' |
| | | Properties: |
| | | [ |
| | | Label: 'Start' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 0 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method New ( |
| | | Routing selection, |
| | | FormRoutings formrouting |
| | | ) id:Method_DialogCreateEditThermalTrialRatio_New |
| | | { |
| | | #keys: '[415136.0.756141435]' |
| | | Body: |
| | | [* |
| | | // Edit Product(s) |
| | | dhForm.Data( formrouting ); |
| | | dhDialogData.Data( selection ); |
| | | |
| | | Form.SetDefaultValue(); |
| | | |
| | | ApplicationMacroPlanner.ShowFormModal( this ); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method OnOK () id:Method_DialogCreateEditThermalTrialRatio_OnOK |
| | | { |
| | | #keys: '[415136.0.762562093]' |
| | | Body: |
| | | [* |
| | | // onOK for ProductDialog |
| | | // When the user clicks ok, |
| | | // we either create or edit the data |
| | | this.ApplyChanges(); |
| | | |
| | | data := dhDialogData.Data(); |
| | | |
| | | //if( isnull( data.WrappedInstance() ) ) // New |
| | | //{ |
| | | // // When create product, parent relation must be null (as server method has logic to detect parent change using this relation) |
| | | // data.Parent( relflush ); |
| | | // data.Commit(); |
| | | // dhForm.Data().ListEventType().SelectByKey( data.WrappedInstance().Key() ); |
| | | //} |
| | | //else |
| | | //{ |
| | | // LibCal_EventType::Update( dhDialogData.Data().WrappedInstance(), efID.Text(), efName.Text() |
| | | // ,guard( selParent.Data(), null( LibCal_EventType ) ) ); |
| | | //} |
| | | |
| | | this.Close(); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method SetDefaultValue () id:Method_DialogCreateEditThermalTrialRatio_SetDefaultValue |
| | | { |
| | | #keys: '[415136.0.756141199]' |
| | | Body: |
| | | [* |
| | | // Set default + init dialog |
| | | |
| | | routings := selectset( MacroPlan, Routing, routing , true ); |
| | | |
| | | dhRoutingSelection.Data( routings.Copy() ); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: pnlActions/btnCancel |
| | | Response OnClick () id:Response_pnlActions_btnCancel_OnClick |
| | | { |
| | | #keys: '[415136.0.756140040]' |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | GroupServerCalls: true |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | Form.Close(); |
| | | *] |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: pnlActions/btnOk |
| | | Response OnClick () id:Response_pnlActions_btnOk_OnClick |
| | | { |
| | | #keys: '[415136.0.756140039]' |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | GroupServerCalls: true |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | Form.ApplyChanges(); |
| | | Form.Close(); |
| | | *] |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: MacroPlannerWebApp |
| | | OrphanComponent DialogCreateEditThermalTrialRatio |
| | | { |
| | | #keys: '[415136.0.756140026]' |
| | | BaseType: 'WebForm' |
| | | Children: |
| | | [ |
| | | #child: pnlContent |
| | | #child: pnlActions |
| | | Component dhDialogData id:dhDialogData_623 |
| | | { |
| | | #keys: '[415136.0.756140336]' |
| | | BaseType: 'WebDataHolder' |
| | | Databinding: 'Routing' |
| | | Properties: |
| | | [ |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | Component dhForm id:dhForm_836 |
| | | { |
| | | #keys: '[415136.0.762562257]' |
| | | BaseType: 'WebDataHolder' |
| | | Databinding: 'FormRoutings' |
| | | Properties: |
| | | [ |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Alignment: 'trailing' |
| | | EnterButton: 'btnOk' |
| | | EscapeButton: 'btnCancel' |
| | | ExcludeFromActiveComponent: true |
| | | Padding: 'false' |
| | | Title: 'Thermal trial ratio' |
| | | ] |
| | | } |
| | |
| | | ] |
| | | Properties: |
| | | [ |
| | | Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Line","title":"Line","subtotals":"","tooltip":"","width":-1,"display":"shown","attribute":"Line"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Product1","title":"Product1","subtotals":"","tooltip":"","width":-1,"display":"shown","attribute":"Product1"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Product2","title":"Product2","subtotals":"","tooltip":"","width":-1,"display":"shown","attribute":"Product2"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ChangeLossNr","title":"ChangeLossNr","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ChangeLossNr"}}]' |
| | | Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Unit.ID","title":"Unit","subtotals":"","tooltip":"","width":-1,"display":"shown","attribute":"Unit.ID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ProductFirst.ID","title":"Product1","subtotals":"","tooltip":"","width":-1,"display":"shown","attribute":"ProductFirst.ID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ProductSecond.ID","title":"Product2","subtotals":"","tooltip":"","width":-1,"display":"shown","attribute":"ProductSecond.ID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ChangeLossNr","title":"ChangeLossNr","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ChangeLossNr"}}]' |
| | | ContextMenu: 'listContextMenuChangeLossSetting' |
| | | Taborder: 2 |
| | | ] |
| | |
| | | [ |
| | | Taborder: 0 |
| | | ] |
| | | ResponseDefinitions: |
| | | [ |
| | | DelegatedResponseDefinition OnClick id:Responsedef_ListChangeLossSetting_WebMenu_OnClick |
| | | { |
| | | #keys: '[415136.0.747540770]' |
| | | Initiator: 'WebMenu' |
| | | IsInherited: false |
| | | ResponseType: 'OnClick' |
| | | Arguments: |
| | | [ |
| | | ResponseDefinitionArgument selection |
| | | { |
| | | #keys: '[913.0.7765768]' |
| | | Binding: 'this.Selection()' |
| | | } |
| | | ] |
| | | } |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: ListChangeLossSetting |
| | | Response OnClick ( |
| | | structured[ChangeLossSetting] selection |
| | | ) id:Response_ListChangeLossSetting_MenuDelete_OnClick |
| | | { |
| | | #keys: '[415136.0.747541132]' |
| | | CanBindMultiple: false |
| | | DefinitionID => /ListChangeLossSetting/Responsedef_ListChangeLossSetting_WebMenu_OnClick |
| | | Initiator: 'MenuDelete' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | traverse( selection, Elements, e ){ |
| | | e.Delete(); |
| | | } |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: ListChangeLossSetting |
| | | Response OnClick ( |
| | | ChangeLossSetting selection |
| | | ) id:Response_ListChangeLossSetting_MenuEdit_OnClick |
| | | { |
| | | #keys: '[415136.0.747540962]' |
| | | CanBindMultiple: false |
| | | DefinitionID => /ListChangeLossSetting/Responsedef_ListChangeLossSetting_WebMenu_OnClick |
| | | Initiator: 'MenuEdit' |
| | | Precondition: |
| | | [* |
| | | return MacroPlan::HasMacroPlan( MacroPlan, feedback ); |
| | | *] |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | dlg := construct( DialogCreateEditChangeLossSetting ); |
| | | dlg.Edit( selection ); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: ListChangeLossSetting |
| | | Response OnClick () id:Response_ListChangeLossSetting_MenuNew_OnClick |
| | | { |
| | | #keys: '[415136.0.747540787]' |
| | | CanBindMultiple: false |
| | | DefinitionID => /ListChangeLossSetting/Responsedef_ListChangeLossSetting_WebMenu_OnClick |
| | | Initiator: 'MenuNew' |
| | | Precondition: |
| | | [* |
| | | return MacroPlan::HasMacroPlan( MacroPlan, feedback ); |
| | | *] |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | dlg := construct( DialogCreateEditChangeLossSetting ); |
| | | dlg.New( FormChangeLossSetting ); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component ListRoutings #extension |
| | | { |
| | | Children: |
| | | [ |
| | | Component DataSetLevelRoutings #extension |
| | | { |
| | | Children: |
| | | [ |
| | | #child: listContextMenuRoutings |
| | | ] |
| | | } |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component listContextMenuRoutings #extension |
| | | { |
| | | Children: |
| | | [ |
| | | Component MenuSeparator1 |
| | | { |
| | | #keys: '[415136.0.761890739]' |
| | | BaseType: 'WebMenu' |
| | | Properties: |
| | | [ |
| | | Separator: true |
| | | Taborder: 11 |
| | | ] |
| | | } |
| | | Component MenuThermalTrialRatio |
| | | { |
| | | #keys: '[415136.0.761890786]' |
| | | BaseType: 'WebMenu' |
| | | Properties: |
| | | [ |
| | | Image: 'OSZILLOGRAPH' |
| | | Taborder: 12 |
| | | Title: 'Thermal trial ratio' |
| | | ] |
| | | } |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: ListRoutings |
| | | Response OnClick ( |
| | | Routing selection |
| | | ) id:Response_MacroPlanner_ListRoutings_MenuThermalTrialRatio_OnClick |
| | | { |
| | | #keys: '[415136.0.761890849]' |
| | | CanBindMultiple: false |
| | | DefinitionID => /ListRoutings/Responsedef_ListRoutings_WebMenu_OnClick |
| | | Initiator: 'MenuThermalTrialRatio' |
| | | Precondition: |
| | | [* |
| | | return MacroPlan::HasMacroPlan( DataHolderActiveScenario.Data(), feedback ); |
| | | *] |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | dlg := construct( DialogCreateEditThermalTrialRatio ); |
| | | dlg.New( selection, FormRoutings ); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: LibMacroPlannerWebUI |
| | | OrphanComponent FormRoutings #extension |
| | | { |
| | | Children: |
| | | [ |
| | | #child: ListRoutings |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | { |
| | | viewcontents |
| | | { |
| | | forms |
| | | { |
| | | form_FormChangeLossSetting |
| | | { |
| | | title: 'QMacroPlanner::FormChangeLossSetting' |
| | | shown: true |
| | | componentID: 'QMacroPlanner::FormChangeLossSetting' |
| | | layout |
| | | { |
| | | mode: 'open' |
| | | rowPosition: 1 |
| | | rowSpan: 15 |
| | | columnPosition: 1 |
| | | columnSpan: 12 |
| | | } |
| | | components |
| | | { |
| | | FormChangeLossSetting_ListChangeLossSetting |
| | | { |
| | | } |
| | | FormChangeLossSetting_DataSetLevelChangeLossSetting |
| | | { |
| | | groupDepth: -1 |
| | | column_Unit_ID |
| | | { |
| | | columnId: 'Unit.ID' |
| | | dataPath: 'Unit.ID' |
| | | dataType: 'string' |
| | | index: 0 |
| | | subtotals: '' |
| | | width: 150 |
| | | } |
| | | column_ProductFirst_ID |
| | | { |
| | | columnId: 'ProductFirst.ID' |
| | | dataPath: 'ProductFirst.ID' |
| | | dataType: 'string' |
| | | index: 1 |
| | | subtotals: '' |
| | | width: 150 |
| | | } |
| | | column_ProductSecond_ID |
| | | { |
| | | columnId: 'ProductSecond.ID' |
| | | dataPath: 'ProductSecond.ID' |
| | | dataType: 'string' |
| | | index: 2 |
| | | subtotals: '' |
| | | width: 150 |
| | | } |
| | | column_ChangeLossNr |
| | | { |
| | | columnId: 'ChangeLossNr' |
| | | dataPath: 'ChangeLossNr' |
| | | dataType: 'number' |
| | | index: 3 |
| | | subtotals: '' |
| | | width: 150 |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } |
| | | userconfigurableinformation |
| | | { |
| | | } |
| | | page: '' |
| | | group: '' |
| | | index: 15 |
| | | image: 'GEAR' |
| | | description: '' |
| | | } |
| | | formatversion: 2 |
| | | id: 'Change_loss_setting_view' |
| | | name: 'Change loss setting view' |
| | | isglobal: false |
| | | isroot: true |
| | | } |