¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod GetMacroPlans |
| | | { |
| | | TextBody: |
| | | [* |
| | | // rislai Jul-31-2024 (created) |
| | | //options := DatasetFindOptions::Construct( 'MacroPlan' ).IncludeOffline( true ); //to load we must search offline datasets. |
| | | //mdskey := DatasetController::FindUnique( options ); |
| | | // |
| | | //MDSMacroPlan::Root( mdskey ) -> {} |
| | | |
| | | |
| | | |
| | | // componentmds := ApplicationScope.ComponentMDS(); |
| | | // |
| | | // mdsinstance := select( componentmds, ComponentMDSKinds.ComponentMDSInstances, m, m.MDSID().MDSKey() = MacroPlan.DemandMPID() ); |
| | | // |
| | | // handle := mdsinstance.GetMDSHandle() |
| | | // |
| | | // demandMacroPlan := handle.AsMacroPlan(); |
| | | *] |
| | | } |
| | |
| | | { |
| | | TextBody: |
| | | [* |
| | | name := "2020/04/01"; |
| | | names := name.Tokenize( "/" ); |
| | | info( guard( Date::Construct( [Number]names.Element( 0 ),[Number]names.Element( 1 ),[Number]names.Element( 2 )),Date::MinDate() )); |
| | | //name := "2020/04/01"; |
| | | //names := name.Tokenize( "/" ); |
| | | // info( guard( Date::Construct( [Number]names.Element( 0 ),[Number]names.Element( 1 ),[Number]names.Element( 2 )),Date::MinDate() )); |
| | | |
| | | info( macroPlan.DisplayNameForSelection() ); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method GetMacroPlans () as structured[MacroPlan] id:Method_ApplicationMacroPlanner_GetMacroPlans |
| | | { |
| | | #keys: '[412672.1.82702269]' |
| | | Body: |
| | | [* |
| | | componentmds := ApplicationScope.ComponentMDS(); |
| | | |
| | | macroPlans := construct( MacroPlans ); |
| | | scemps := selectset( ScenarioManager,ScenarioMP,mp,mp.IsLoaded()); |
| | | traverse( scemps,Elements,scemp ){ |
| | | mdsinstance := select( componentmds, ComponentMDSKinds.ComponentMDSInstances, m, m.MDSID().MDSKey() = scemp.DatasetMDSID() ); |
| | | handle := mdsinstance.GetMDSHandle(); |
| | | demandMacroPlan := handle.AsMacroPlan(); |
| | | macroPlans.Add( demandMacroPlan ); |
| | | } |
| | | |
| | | return ¯oPlans |
| | | *] |
| | | ReturnsOwning: true |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component MatrixEditor |
| | | { |
| | | #keys: '[412672.1.78210532]' |
| | | BaseType: 'WebMatrixEditor' |
| | | Children: |
| | | [ |
| | | Component MatrixEditorCell |
| | | { |
| | | #keys: '[412672.1.78210533]' |
| | | BaseType: 'WebMatrixEditorCell' |
| | | Children: |
| | | [ |
| | | Component DataExtractorCells |
| | | { |
| | | #keys: '[412672.1.78210534]' |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | | DataType: 'LocalTable' |
| | | Source: 'dhComparisonData' |
| | | Taborder: 0 |
| | | Transformation: 'LocalRow.LocalCell.astype(LocalCell_OfflinePlanComparison)' |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Attributes: 'BaseVersion;CompareVersion;Gap' |
| | | Column: 'LocalColumn' |
| | | Row: 'LocalRow' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | Component MatrixEditorRows |
| | | { |
| | | #keys: '[412672.1.78210535]' |
| | | BaseType: 'WebMatrixEditorHeaderLevel' |
| | | Children: |
| | | [ |
| | | Component DataExtractorRows |
| | | { |
| | | #keys: '[412672.1.78210536]' |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | | DataType: 'LocalTable' |
| | | FilterArguments: 'checkedProduct:QMacroPlanner::FormOfflinePlanComparison701.dhFinelProduct' |
| | | FixedFilter: 'exists( checkedProduct,Elements,product,product.ID() = object.Name() )' |
| | | Source: 'dhComparisonData' |
| | | Taborder: 0 |
| | | Transformation: 'LocalRow' |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Legend: 'Name' |
| | | SortCriteria: 'Index' |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | | Component MatrixEditorColumns |
| | | { |
| | | #keys: '[412672.1.78210537]' |
| | | BaseType: 'WebMatrixEditorHeaderLevel' |
| | | Children: |
| | | [ |
| | | Component DataExtractorColumns |
| | | { |
| | | #keys: '[412672.1.78210538]' |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | | DataType: 'LocalTable' |
| | | FilterArguments: 'startDate:QMacroPlanner::FormOfflinePlanComparison701.dhStartDate;endDate:QMacroPlanner::FormOfflinePlanComparison701.dhEndDate' |
| | | FixedFilter: 'not object.IsAttrbuteColumn() and startDate <= object.Date() and endDate > object.Date() ' |
| | | Source: 'dhComparisonData' |
| | | Taborder: 0 |
| | | Transformation: 'LocalColumn' |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Legend: 'Date' |
| | | SortCriteria: 'Index' |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | | #child: matrixEditorActionBarPageDemandComparison |
| | | #child: matrixeditorContextMenuDemandComparison |
| | | ] |
| | | Properties: |
| | | [ |
| | | AllowMultipleAttributes: true |
| | | Columns: 'MatrixEditorColumns' |
| | | ContextMenu: 'matrixeditorContextMenuDemandComparison' |
| | | Rows: 'MatrixEditorRows' |
| | | Taborder: 0 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component PanelDemandComparison |
| | | { |
| | | #keys: '[412672.1.78210531]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component dhComparisonData |
| | | { |
| | | #keys: '[412672.1.78210541]' |
| | | BaseType: 'WebDataHolder' |
| | | Databinding: 'LocalTable' |
| | | Properties: |
| | | [ |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | | Component dhCheckedProduct |
| | | { |
| | | #keys: '[412672.1.78210542]' |
| | | BaseType: 'WebDataHolder' |
| | | Databinding: 'structured[Product_MP]*' |
| | | Children: |
| | | [ |
| | | Component deCheckedProduct |
| | | { |
| | | #keys: '[412672.1.78210543]' |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | | DataType: 'structured[Product_MP]' |
| | | Source: 'ApplicationMacroPlanner.DataHolderCheckedProduct' |
| | | Taborder: 0 |
| | | Transformation: 'Elements' |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 3 |
| | | ] |
| | | } |
| | | Component dhFinelProduct |
| | | { |
| | | #keys: '[412672.1.78210544]' |
| | | BaseType: 'WebDataHolder' |
| | | Databinding: 'structured[Product_MP]*' |
| | | Properties: |
| | | [ |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | | Component dhCheckedSalesSegment |
| | | { |
| | | #keys: '[412672.1.78210545]' |
| | | BaseType: 'WebDataHolder' |
| | | Databinding: 'structured[SalesSegment_MP]*' |
| | | Children: |
| | | [ |
| | | Component deCheckedSalesSegment |
| | | { |
| | | #keys: '[412672.1.78210546]' |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | | DataType: 'structured[SalesSegment_MP]' |
| | | Source: 'ApplicationMacroPlanner.DataHolderCheckedSalesSegment' |
| | | Taborder: 0 |
| | | Transformation: 'Elements' |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 4 |
| | | ] |
| | | } |
| | | #child: MatrixEditor |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 1 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component PanelFilter |
| | | { |
| | | #keys: '[412672.1.78210464]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component ddslGeneration |
| | | { |
| | | #keys: '[412672.1.78210465]' |
| | | BaseType: 'WebDropDownStringList' |
| | | Properties: |
| | | [ |
| | | Label: 'Generation' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | Component ddslMQBMLB |
| | | { |
| | | #keys: '[412672.1.78210466]' |
| | | BaseType: 'WebDropDownStringList' |
| | | Properties: |
| | | [ |
| | | Label: 'MQB/MLB' |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | | Component ddslPower |
| | | { |
| | | #keys: '[412672.1.78210467]' |
| | | BaseType: 'WebDropDownStringList' |
| | | Properties: |
| | | [ |
| | | Label: 'åç' |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | | Component dsStartDate |
| | | { |
| | | #keys: '[412672.1.78210468]' |
| | | BaseType: 'WebDateSelector' |
| | | Properties: |
| | | [ |
| | | Label: 'Start Date' |
| | | Taborder: 3 |
| | | ] |
| | | } |
| | | Component dsEndDate |
| | | { |
| | | #keys: '[412672.1.78210469]' |
| | | BaseType: 'WebDateSelector' |
| | | Properties: |
| | | [ |
| | | Date: 9999-12-31 |
| | | Label: 'End Date' |
| | | Taborder: 5 |
| | | ] |
| | | } |
| | | Component ButtonFilter |
| | | { |
| | | #keys: '[412672.1.78210470]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | Label: 'è¿æ»¤' |
| | | Taborder: 7 |
| | | ] |
| | | } |
| | | Component dhStartDate |
| | | { |
| | | #keys: '[412672.1.78210471]' |
| | | BaseType: 'WebDataHolder' |
| | | Databinding: 'Date*' |
| | | Properties: |
| | | [ |
| | | Taborder: 4 |
| | | ] |
| | | } |
| | | Component dhEndDate |
| | | { |
| | | #keys: '[412672.1.78210472]' |
| | | BaseType: 'WebDataHolder' |
| | | Databinding: 'Date*' |
| | | Properties: |
| | | [ |
| | | Taborder: 6 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | FixedSize: true |
| | | Orientation: 'horizontal' |
| | | Taborder: 2 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component PanelRibbon id:PanelRibbon_799 |
| | | { |
| | | #keys: '[412672.1.78210463]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | #child: PanelFilter |
| | | #child: PanelRibbon504_801 |
| | | #child: PanelRibbon322 |
| | | ] |
| | | Properties: |
| | | [ |
| | | FixedSize: true |
| | | Taborder: 0 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component PanelRibbon322 |
| | | { |
| | | #keys: '[412672.1.82701845]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component ddlBaseMacroPlan |
| | | { |
| | | #keys: '[412672.1.82701846]' |
| | | BaseType: 'WebDropDownList' |
| | | Databinding: 'MacroPlan' |
| | | Children: |
| | | [ |
| | | Component deBaseMacroPlan |
| | | { |
| | | #keys: '[412672.1.82702010]' |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | | DataType: 'structured[MacroPlan]' |
| | | Source: 'dhMacroPlans' |
| | | Taborder: 0 |
| | | Transformation: 'Elements' |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | DisplayField: 'DisplayNameForSelection' |
| | | Label: 'åºåçæ¬:' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | Component ddlCompareMacroPlan |
| | | { |
| | | #keys: '[412672.1.82701851]' |
| | | BaseType: 'WebDropDownList' |
| | | Databinding: 'MacroPlan' |
| | | Children: |
| | | [ |
| | | Component deCompareMacroPlan |
| | | { |
| | | #keys: '[412672.1.82702025]' |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | | DataType: 'structured[MacroPlan]' |
| | | Source: 'dhMacroPlans' |
| | | Taborder: 0 |
| | | Transformation: 'Elements' |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | DisplayField: 'DisplayNameForSelection' |
| | | Label: '对æ¯çæ¬:' |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | | Component dhMacroPlans |
| | | { |
| | | #keys: '[412672.1.82701972]' |
| | | BaseType: 'WebDataHolder' |
| | | Databinding: 'structured[MacroPlan]*' |
| | | Properties: |
| | | [ |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | | Component ButtonRibbon |
| | | { |
| | | #keys: '[412672.1.85851524]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | Label: 'Tesyt' |
| | | Taborder: 3 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | FixedSize: true |
| | | Orientation: 'horizontal' |
| | | Taborder: 0 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component PanelRibbon504 id:PanelRibbon504_801 |
| | | { |
| | | #keys: '[412672.1.78210473]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component ddlBaseOfflinePlanTable |
| | | { |
| | | #keys: '[412672.1.78210474]' |
| | | BaseType: 'WebDropDownList' |
| | | Databinding: 'OfflinePlanTable' |
| | | Children: |
| | | [ |
| | | Component DataExtractorRibbon |
| | | { |
| | | #keys: '[412672.1.78210475]' |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | | DataType: 'MacroPlan' |
| | | Source: 'MacroPlan' |
| | | Taborder: 0 |
| | | Transformation: 'OfflinePlanTable' |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | DisplayField: 'SaveDateTime' |
| | | Label: 'åºåä¸çº¿è®¡å:' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | Component bComparison |
| | | { |
| | | #keys: '[412672.1.78210476]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | Label: 'å¼å§å¯¹æ¯' |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | | Component ddlCompareOfflinePlanTable |
| | | { |
| | | #keys: '[412672.1.78210579]' |
| | | BaseType: 'WebDropDownList' |
| | | Databinding: 'OfflinePlanTable' |
| | | Children: |
| | | [ |
| | | Component DataExtractorRibbon300 |
| | | { |
| | | #keys: '[412672.1.78210580]' |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | | DataType: 'MacroPlan' |
| | | Source: 'MacroPlan' |
| | | Taborder: 0 |
| | | Transformation: 'OfflinePlanTable' |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | DisplayField: 'SaveDateTime' |
| | | Label: '对æ¯ä¸çº¿è®¡å:' |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | FixedSize: true |
| | | Orientation: 'horizontal' |
| | | Taborder: 1 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component matrixEditorActionBarPageDemandComparison |
| | | { |
| | | #keys: '[412672.1.78210539]' |
| | | BaseType: 'matrixEditorActionBarPage' |
| | | Properties: |
| | | [ |
| | | Taborder: 3 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component matrixeditorContextMenuDemandComparison |
| | | { |
| | | #keys: '[412672.1.78210540]' |
| | | BaseType: 'matrixeditorContextMenu' |
| | | Properties: |
| | | [ |
| | | Taborder: 4 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: PanelDemandComparison/dhCheckedProduct |
| | | Response OnDataChanged () id:Response_PanelDemandComparison_dhCheckedProduct_OnDataChanged |
| | | { |
| | | #keys: '[412672.1.78210527]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebComponent_OnDataChanged' |
| | | GroupServerCalls: true |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | if( this.Data().Size() <> 0 ){ |
| | | dhFinelProduct.Data( this.Data().Copy() ); |
| | | }else{ |
| | | dhFinelProduct.Data( DataHolderProduct.Data().Copy() ); |
| | | } |
| | | *] |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: PanelDemandComparison/dhCheckedSalesSegment |
| | | Response OnDataChanged () id:Response_PanelDemandComparison_dhCheckedSalesSegment_OnDataChanged |
| | | { |
| | | #keys: '[412672.1.78210525]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebComponent_OnDataChanged' |
| | | GroupServerCalls: true |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | if( this.Data().Size() <> 0 ){ |
| | | prods := selectset( dhFinelProduct.Data(),Elements,element,exists( this.Data(),Elements.SalesDemand.Product_MP,prod,element = prod )); |
| | | dhFinelProduct.Data( &prods ); |
| | | }else{ |
| | | dhFinelProduct.Data( DataHolderProduct.Data().Copy() ); |
| | | } |
| | | *] |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: PanelDemandComparison/dhComparisonData |
| | | Response OnDataChanged () id:Response_PanelDemandComparison_dhComparisonData_OnDataChanged |
| | | { |
| | | #keys: '[412672.1.78210528]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebComponent_OnDataChanged' |
| | | GroupServerCalls: true |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | PanelDemandComparison.Title( this.Data().Name() ); |
| | | *] |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: PanelDemandComparison/dhFinelProduct |
| | | Response OnCreated () id:Response_PanelDemandComparison_dhFinelProduct_OnCreated |
| | | { |
| | | #keys: '[412672.1.78210526]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebComponent_OnCreated' |
| | | GroupServerCalls: true |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | this.Data( DataHolderProduct.Data().Copy() ); |
| | | *] |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: PanelFilter/ButtonFilter |
| | | Response OnClick () id:Response_PanelFilter_ButtonFilter_OnClick |
| | | { |
| | | #keys: '[412672.1.78210457]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | GroupServerCalls: true |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | products := dhCheckedProduct.Data().Copy(); |
| | | if( ddslGeneration.Text() <> "<All>" ){ |
| | | products := selectset( products,Elements,element,element.Generation() <> ddslGeneration.Text()); |
| | | } |
| | | if( ddslMQBMLB.Text() <> "<All>" ){ |
| | | products := selectset( products,Elements,element,element.MQBMLB() <> ddslMQBMLB.Text()); |
| | | } |
| | | if( ddslPower.Text() <> "<All>" ){ |
| | | products := selectset( products,Elements,element,element.Power() <> ddslPower.Text()); |
| | | } |
| | | dhFinelProduct.Data( &products ); |
| | | *] |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: PanelFilter/ddslGeneration |
| | | Response OnCreated () id:Response_PanelFilter_ddslGeneration_OnCreated |
| | | { |
| | | #keys: '[412672.1.78210462]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebComponent_OnCreated' |
| | | GroupServerCalls: true |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | strings := selectuniquevalues( MacroPlan,Product_MP,product,not product.IsSystem(),product.Generation() ); |
| | | |
| | | res := strings.Concatenate( ";" ); |
| | | |
| | | this.Strings( "<All>;" + res ); |
| | | *] |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: PanelFilter/ddslMQBMLB |
| | | Response OnCreated () id:Response_PanelFilter_ddslMQBMLB_OnCreated |
| | | { |
| | | #keys: '[412672.1.78210461]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebComponent_OnCreated' |
| | | GroupServerCalls: true |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | strings := selectuniquevalues( MacroPlan,Product_MP,product,not product.IsSystem(),product.MQBMLB() ); |
| | | |
| | | res := strings.Concatenate( ";" ); |
| | | |
| | | this.Strings( "<All>;" + res ); |
| | | *] |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: PanelFilter/ddslPower |
| | | Response OnCreated () id:Response_PanelFilter_ddslPower_OnCreated |
| | | { |
| | | #keys: '[412672.1.78210460]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebComponent_OnCreated' |
| | | GroupServerCalls: true |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | strings := selectuniquevalues( MacroPlan,Product_MP,product,not product.IsSystem(),product.Power() ); |
| | | |
| | | res := strings.Concatenate( ";" ); |
| | | |
| | | this.Strings( "<All>;" + res ); |
| | | *] |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: PanelFilter/dhEndDate |
| | | Response OnCreated () id:Response_PanelFilter_dhEndDate_OnCreated |
| | | { |
| | | #keys: '[412672.1.78210455]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebComponent_OnCreated' |
| | | GroupServerCalls: true |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | this.Data( Date::MaxDate() ); |
| | | *] |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: PanelFilter/dhStartDate |
| | | Response OnCreated () id:Response_PanelFilter_dhStartDate_OnCreated |
| | | { |
| | | #keys: '[412672.1.78210456]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebComponent_OnCreated' |
| | | GroupServerCalls: true |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | this.Data( Date::MinDate() ); |
| | | *] |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: PanelFilter/dsEndDate |
| | | Response OnChanged () id:Response_PanelFilter_dsEndDate_OnChanged |
| | | { |
| | | #keys: '[412672.1.78210458]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebDateTimeFieldBase_OnChanged' |
| | | GroupServerCalls: true |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | dhEndDate.Data( this.Date() ); |
| | | *] |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: PanelFilter/dsStartDate |
| | | Response OnChanged () id:Response_PanelFilter_dsStartDate_OnChanged |
| | | { |
| | | #keys: '[412672.1.78210459]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebDateTimeFieldBase_OnChanged' |
| | | GroupServerCalls: true |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | dhStartDate.Data( this.Date() ); |
| | | *] |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: PanelRibbon322/ButtonRibbon |
| | | Response OnClick () id:Response_PanelRibbon322_ButtonRibbon_OnClick |
| | | { |
| | | #keys: '[412672.1.85851565]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | GroupServerCalls: true |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | macroPlans := ApplicationMacroPlanner.GetMacroPlans(); |
| | | dhMacroPlans.Data( ¯oPlans ); |
| | | *] |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: PanelRibbon322/dhMacroPlans |
| | | Response OnCreated () id:Response_PanelRibbon322_dhMacroPlans_OnCreated |
| | | { |
| | | #keys: '[412672.1.82702179]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebComponent_OnCreated' |
| | | QuillAction |
| | | { |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: PanelRibbon504_801/bComparison |
| | | Response OnClick () id:Response_PanelRibbon504_801_bComparison_OnClick |
| | | { |
| | | #keys: '[412672.1.78210454]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | baseVersion := ddlBaseOfflinePlanTable.Data(); |
| | | compareVersion := ddlCompareOfflinePlanTable.Data(); |
| | | |
| | | dhComparisonData.Data( LocalCell_OfflinePlanComparison::Compared( RecycleBin,baseVersion,compareVersion )); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: MacroPlannerWebApp |
| | | OrphanComponent FormOfflinePlanComparison701 |
| | | { |
| | | #keys: '[412672.1.78201744]' |
| | | BaseType: 'WebForm' |
| | | Children: |
| | | [ |
| | | #child: PanelRibbon_799 |
| | | #child: PanelDemandComparison |
| | | ] |
| | | Properties: |
| | | [ |
| | | Image: 'DOCUMENT_INFO' |
| | | Title: 'ä¸çº¿è®¡åå¯¹æ¯æ¥è¡¨' |
| | | ] |
| | | } |
| | |
| | | ProjectProperties |
| | | { |
| | | ApplicationComponentName: 'ApplicationMacroPlanner' |
| | | BuildVersion: '2022.3.0.29' |
| | | BuildVersion: '2022.3.0.48' |
| | | Description: 'Quintiq Macro Planner' |
| | | ProjectKind: 'WebClient' |
| | | } |