Merge branch 'dev' of http://47.101.211.7:10101/r/VWED into dev
| | |
| | | cell := selectobject( ccrow, Cell, cell, cell.Column() = column ); |
| | | traverse( sameproductcells, Elements.GeneralExcelImportAndExportDataRow, samerow ){ |
| | | attricell := selectobject( samerow, GeneralExcelImportAndExportDataCell, attricell, attricell.GeneralExcelImportAndExportDataColumn() = attricolumn ); |
| | | if( not ( attricell.Value() = 'é¢è®¡æ»è´¹ç¨' or attricell.Value() = 'æ»è´¹ç¨' ) ){ |
| | | if( attricell.Value() = 'æ»è´¹ç¨' ){ |
| | | valuecell := selectobject( samerow, GeneralExcelImportAndExportDataCell, valuecell, valuecell.GeneralExcelImportAndExportDataColumn() = excelcolumn ); |
| | | if( attricell.Value() = 'å¤ç§åºå
¥åºè´¹ç¨' ){ |
| | | cell.RentInCost( [Number]valuecell.Value() ); |
| | | }else if( attricell.Value() = 'å¤ç§åºåºåºè´¹ç¨' ){ |
| | | cell.RentOutOfCost( [Number]valuecell.Value() ); |
| | | }else if( attricell.Value() = 'åå
å°å¤ç§åºè¿è¾è´¹ç¨' ){ |
| | | cell.WerkToRentTransCost( [Number]valuecell.Value() ); |
| | | }else if( attricell.Value() = 'å¤ç§åºä»å¨è´¹ç¨' ){ |
| | | cell.RentStorCost( [Number]valuecell.Value() ); |
| | | if( [Real]valuecell.Value() <> cell.AllCost() ){ |
| | | cell.AllCost( [Real]valuecell.Value() ); |
| | | cell.IsUpdate( true ); |
| | | } |
| | | } |
| | | // if( not ( attricell.Value() = 'é¢è®¡æ»è´¹ç¨' or attricell.Value() = 'æ»è´¹ç¨' ) ){ |
| | | // valuecell := selectobject( samerow, GeneralExcelImportAndExportDataCell, valuecell, valuecell.GeneralExcelImportAndExportDataColumn() = excelcolumn ); |
| | | // if( attricell.Value() = 'å¤ç§åºå
¥åºè´¹ç¨' ){ |
| | | // cell.RentInCost( [Number]valuecell.Value() ); |
| | | // }else if( attricell.Value() = 'å¤ç§åºåºåºè´¹ç¨' ){ |
| | | // cell.RentOutOfCost( [Number]valuecell.Value() ); |
| | | // }else if( attricell.Value() = 'åå
å°å¤ç§åºè¿è¾è´¹ç¨' ){ |
| | | // cell.WerkToRentTransCost( [Number]valuecell.Value() ); |
| | | // }else if( attricell.Value() = 'å¤ç§åºä»å¨è´¹ç¨' ){ |
| | | // cell.RentStorCost( [Number]valuecell.Value() ); |
| | | // } |
| | | // else if( attricell.Value() = 'é¢è®¡æ»è´¹ç¨' ){ |
| | | // cell.EstimatedTotalCost( [Number]valuecell.Value() ); |
| | | // } |
| | | else if( attricell.Value() = 'ç³»æ°' ){ |
| | | cell.CoefficientValue( valuecell.Value() ); |
| | | } |
| | | // else if( attricell.Value() = 'ç³»æ°' ){ |
| | | // cell.CoefficientValue( valuecell.Value() ); |
| | | // } |
| | | // else if( attricell.Value() = 'æ»è´¹ç¨' ){ |
| | | // cell.TotalCost( [Number]valuecell.Value() ); |
| | | // } |
| | | } |
| | | // } |
| | | } |
| | | } |
| | | } |
| | |
| | | cell := selectobject( ccrow, Cell, cell, cell.Column() = column ); |
| | | traverse( sameproductcells, Elements.GeneralExcelImportAndExportDataRow, samerow ){ |
| | | attricell := selectobject( samerow, GeneralExcelImportAndExportDataCell, attricell, attricell.GeneralExcelImportAndExportDataColumn() = attricolumn ); |
| | | if( not ( attricell.Value() = 'é¢è®¡æ»è´¹ç¨' or attricell.Value() = 'æ»è´¹ç¨' ) ){ |
| | | if( attricell.Value() = 'æ»è´¹ç¨' ){ |
| | | valuecell := selectobject( samerow, GeneralExcelImportAndExportDataCell, valuecell, valuecell.GeneralExcelImportAndExportDataColumn() = excelcolumn ); |
| | | if( attricell.Value() = 'é¿æ¥å¤ç§åºå
¥åºè´¹ç¨' ){ |
| | | cell.CCRentInCost( [Number]valuecell.Value() ); |
| | | }else if( attricell.Value() = 'é¿æ¥å¤ç§åºåºåºè´¹ç¨' ){ |
| | | cell.CCRentOutOfCost( [Number]valuecell.Value() ); |
| | | }else if( attricell.Value() = 'é¿æ¥é¿éè¿è¾è´¹ç¨' ){ |
| | | cell.CCLongTransCost( [Number]valuecell.Value() ); |
| | | }else if( attricell.Value() = 'é¿æ¥çéè¿è¾è´¹ç¨' ){ |
| | | cell.CCShorTransCost( [Number]valuecell.Value() ); |
| | | }else if( attricell.Value() = 'é¿æ¥å¤ç§åºä»å¨è´¹ç¨' ){ |
| | | cell.CCRentStorCost( [Number]valuecell.Value() ); |
| | | }else if( attricell.Value() = '大è¿å¤ç§åºå
¥åºè´¹ç¨' ){ |
| | | cell.DLRentInCost( [Number]valuecell.Value() ); |
| | | }else if( attricell.Value() = '大è¿å¤ç§åºåºåºè´¹ç¨' ){ |
| | | cell.DLRentOutOfCost( [Number]valuecell.Value() ); |
| | | }else if( attricell.Value() = 'åå
å°å¤ç§åºè¿è¾è´¹ç¨' ){ |
| | | cell.WerkToDLRentTransCost( [Number]valuecell.Value() ); |
| | | }else if( attricell.Value() = '大è¿å¤ç§åºä»å¨è´¹ç¨' ){ |
| | | cell.DLRentStorCost( [Number]valuecell.Value() ); |
| | | if( [Real]valuecell.Value() <> cell.AllCost() ){ |
| | | cell.AllCost( [Real]valuecell.Value() ); |
| | | cell.IsUpdate( true ); |
| | | } |
| | | // else if( attricell.Value() = 'é¢è®¡æ»è´¹ç¨' ){ |
| | | // cell.EstimatedTotalCost( [Number]valuecell.Value() ); |
| | | // } |
| | | else if( attricell.Value() = 'ç³»æ°' ){ |
| | | cell.CoefficientValue( valuecell.Value() ); |
| | | } |
| | | // else if( attricell.Value() = 'æ»è´¹ç¨' ){ |
| | | // cell.TotalCost( [Number]valuecell.Value() ); |
| | | // } |
| | | } |
| | | // if( not ( attricell.Value() = 'é¢è®¡æ»è´¹ç¨' or attricell.Value() = 'æ»è´¹ç¨' ) ){ |
| | | // valuecell := selectobject( samerow, GeneralExcelImportAndExportDataCell, valuecell, valuecell.GeneralExcelImportAndExportDataColumn() = excelcolumn ); |
| | | // if( attricell.Value() = 'é¿æ¥å¤ç§åºå
¥åºè´¹ç¨' ){ |
| | | // cell.CCRentInCost( [Number]valuecell.Value() ); |
| | | // }else if( attricell.Value() = 'é¿æ¥å¤ç§åºåºåºè´¹ç¨' ){ |
| | | // cell.CCRentOutOfCost( [Number]valuecell.Value() ); |
| | | // }else if( attricell.Value() = 'é¿æ¥é¿éè¿è¾è´¹ç¨' ){ |
| | | // cell.CCLongTransCost( [Number]valuecell.Value() ); |
| | | // }else if( attricell.Value() = 'é¿æ¥çéè¿è¾è´¹ç¨' ){ |
| | | // cell.CCShorTransCost( [Number]valuecell.Value() ); |
| | | // }else if( attricell.Value() = 'é¿æ¥å¤ç§åºä»å¨è´¹ç¨' ){ |
| | | // cell.CCRentStorCost( [Number]valuecell.Value() ); |
| | | // }else if( attricell.Value() = '大è¿å¤ç§åºå
¥åºè´¹ç¨' ){ |
| | | // cell.DLRentInCost( [Number]valuecell.Value() ); |
| | | // }else if( attricell.Value() = '大è¿å¤ç§åºåºåºè´¹ç¨' ){ |
| | | // cell.DLRentOutOfCost( [Number]valuecell.Value() ); |
| | | // }else if( attricell.Value() = 'åå
å°å¤ç§åºè¿è¾è´¹ç¨' ){ |
| | | // cell.WerkToDLRentTransCost( [Number]valuecell.Value() ); |
| | | // }else if( attricell.Value() = '大è¿å¤ç§åºä»å¨è´¹ç¨' ){ |
| | | // cell.DLRentStorCost( [Number]valuecell.Value() ); |
| | | // } |
| | | //// else if( attricell.Value() = 'é¢è®¡æ»è´¹ç¨' ){ |
| | | //// cell.EstimatedTotalCost( [Number]valuecell.Value() ); |
| | | //// } |
| | | // else if( attricell.Value() = 'ç³»æ°' ){ |
| | | // cell.CoefficientValue( valuecell.Value() ); |
| | | // } |
| | | //// else if( attricell.Value() = 'æ»è´¹ç¨' ){ |
| | | //// cell.TotalCost( [Number]valuecell.Value() ); |
| | | //// } |
| | | // } |
| | | } |
| | | } |
| | | } |
| | |
| | | Transaction::Transaction().Propagate( relation( PackagingPlanCell, Next ) ); |
| | | |
| | | // 设置å
è£
&æå
-æ°é |
| | | PackagingPlanCell::SetPackagingAndUnpackingValues( macroPlan ); |
| | | //traverse ( macroPlan, PackagingPlanRow, ppr, ( ppr.ProductID() = "Windshield" and ppr.StockingPointID() = "Bosch" ) or ( ppr.ProductID() = "Windshield" and ppr.StockingPointID() = "Components (Spain)" ) ) { |
| | | // traverse ( ppr, PackagingPlanCell, ppc/*, ppc.StartDate() = Date::Construct( 2020, 4, 1 )*/ ) { |
| | | // // 设置å
è£
æ°é |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod SetPackagingAndUnpackingValues ( |
| | | MacroPlan macroPlan |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | // 设置å
è£
å¼ï¼ç¬¦ålotsizeå䏿¥æå¤§å
è£
éï¼ |
| | | traverse ( macroPlan, PackagingPlanRow, ppr, ppr.Factory() = "大è¿å·¥å" and ppr.ProductID() = "06K103011CM" ) { |
| | | traverse ( ppr, PackagingPlanCell, ppcell, ppcell.StartDate() <= Date::Construct( 2025, 1, 3 ) ) { |
| | | // Product_MP |
| | | pmp := select( macroPlan, Product_MP, tempPMP, tempPMP.IsLeaf() and tempPMP.ID() = ppr.ProductID() ); |
| | | // å
è£
lotsize |
| | | ppls := select( macroPlan, PackagingPlanLotSize, tempPPLS, tempPPLS.Factory() = ppr.Factory() and |
| | | tempPPLS.ProductID() = ifexpr( exists( macroPlan, PackagingPlanLotSize, tempPPLS1, tempPPLS1.ProductID() = pmp.ID() ), |
| | | pmp.ID(), |
| | | pmp.ParentID() ) ); |
| | | // 䏿¥å
è£
容é |
| | | ppnc := select( macroPlan, PackagingPlanNewCapability, tempPPNC, tempPPNC.Factory() = ppr.Factory() and |
| | | tempPPNC.ProductID() = ifexpr( exists( macroPlan, PackagingPlanNewCapability, tempPPNC1, tempPPNC1.ProductID() = pmp.ID() ), |
| | | pmp.ID(), |
| | | pmp.ParentID() ) ); |
| | | // Unit |
| | | u := select( macroPlan, Unit, tempU, tempU.ID().Regex( ppr.FactoryAbbreviation() + " " + ppr.Category() ) ); |
| | | |
| | | // å
è£
åºååºç°è´å¼ï¼éè¦è®¾ç½®å
è£
é |
| | | if ( ppcell.PackagingInventory() < 0 and not isnull( ppls ) and not isnull( ppnc ) ) { |
| | | // éè¦å
è£
çæ°é |
| | | needPackagingQuantity := abs( ppcell.PackagingInventory() ).Round( 0 ); |
| | | // å
è£
å¼å§çç´¢å¼ |
| | | indexPPCell := ppcell.Previous(); |
| | | |
| | | info( "产线åï¼", u.ID(), " å¼å§æ¶é´ï¼", ppcell.StartDate().Format( "Y-M2-D2" ), " å
è£
åºåæ°éï¼", ppcell.PackagingInventory(), " éè¦å
è£
çæ°éï¼", needPackagingQuantity, |
| | | " å
è£
lotsizeï¼",guard( ppls.LotSize(), 0 ), " æå¤§å
è£
容éï¼", ppnc.MaximumDailyPackagingQuantity() ); |
| | | |
| | | while ( not isnull( indexPPCell ) and needPackagingQuantity > 0 ) { |
| | | // è½å
è£
çæ°é |
| | | canPackagingQuantity := ifexpr( ceil( needPackagingQuantity / ppls.LotSize() ) < floor( ppnc.MaximumDailyPackagingQuantity() / ppls.LotSize() ), |
| | | ceil( needPackagingQuantity / ppls.LotSize() ), |
| | | floor( ppnc.MaximumDailyPackagingQuantity() / ppls.LotSize() ) ) * ppls.LotSize(); |
| | | info( "å¼å§å
è£
çæ¥æï¼", indexPPCell.StartDate().Format( "Y-M2-D2" ), " è½å
è£
çæ°é:", canPackagingQuantity ); |
| | | |
| | | indexPPCell.Package( canPackagingQuantity ); |
| | | |
| | | needPackagingQuantity := needPackagingQuantity - canPackagingQuantity; |
| | | indexPPCell := indexPPCell.Previous(); |
| | | } |
| | | } |
| | | } |
| | | } |
| | | |
| | | // 设置å
è£
å¼ï¼ç¬¦åå¤§ç±»ä¸ææäº§åå
è£
éå åä¸è½å¤§äºæå¤§å
è£
éï¼ |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute Factory |
| | | { |
| | | #keys: '3[415754.0.412692725][415754.0.412692724][415754.0.412692726]' |
| | | Description: 'å·¥å' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute ProductID |
| | | { |
| | | #keys: '3[415754.0.412692742][415754.0.412692741][415754.0.412692743]' |
| | | Description: '产åID' |
| | | ValueType: String |
| | | } |
| | |
| | | Taborder: 12 |
| | | ] |
| | | } |
| | | Component ButtonAssemblyOnlinePlanVersion |
| | | { |
| | | #keys: '[415136.0.1201203922]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | Image: 'Document' |
| | | Label: 'Assembly online plan version' |
| | | Taborder: 13 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: ActionBarGroupReport/ButtonAssemblyOnlinePlanVersion |
| | | Response OnClick () id:Response_MacroPlanner_ActionBarGroupReport_ButtonAssemblyOnlinePlanVersion_OnClick |
| | | { |
| | | #keys: '[415136.0.1201203950]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | ApplicationScope.ViewManager().ResetUserViewById( "Assembly_online_plan_version", true); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
| | |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component ddslProductionLine |
| | | Component ddslFactory |
| | | { |
| | | #keys: '[413988.0.1596148502]' |
| | | BaseType: 'WebDropDownStringList' |
| | | Properties: |
| | | [ |
| | | DataBinding: 'DataHolderDialogData.Data.ProductionLine' |
| | | DataBinding: 'DataHolderDialogData.Data.Factory' |
| | | Label: 'Production line' |
| | | Strings: '大è¿å·¥å;é¿æ¥å·¥å' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | |
| | | [ |
| | | DataBinding: 'DataHolderDialogData.Data.MaximumDailyPackagingQuantity' |
| | | Label: 'Maximum daily packaging quantity' |
| | | Taborder: 1 |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | | Component npMaximumDailyUnpackingQuantity |
| | |
| | | [ |
| | | DataBinding: 'DataHolderDialogData.Data.MaximumDailyUnpackingQuantity' |
| | | Label: 'Maximum daily unpacking quantity' |
| | | Taborder: 2 |
| | | Taborder: 3 |
| | | ] |
| | | } |
| | | Component ddslProductID |
| | | { |
| | | #keys: '[415754.0.415211304]' |
| | | BaseType: 'WebDropDownStringList' |
| | | Properties: |
| | | [ |
| | | DataBinding: 'DataHolderDialogData.Data.ProductID' |
| | | Label: 'Product ID' |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | | ] |
| | |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | Precondition: |
| | | [* |
| | | return not exists( MacroPlan, PackagingPlanNewCapability, tempPPNC, true, tempPPNC.ProductionLine() = ddslProductionLine.Text() ); |
| | | return not exists( MacroPlan, PackagingPlanNewCapability, tempPPNC, true, tempPPNC.ProductionLine() = ddslFactory.Text() ); |
| | | *] |
| | | QuillAction |
| | | { |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: pnlContent/ddslProductID |
| | | Response OnCreated () id:Response_pnlContent_ddslProductID_OnCreated |
| | | { |
| | | #keys: '[415754.0.415211358]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebComponent_OnCreated' |
| | | Precondition: |
| | | [* |
| | | return not isnull( MacroPlan ); |
| | | *] |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | pmpids := selectuniquevalues( MacroPlan, Product_MP, tempPMP, true, tempPMP.ID() ); |
| | | |
| | | this.Strings( pmpids.Concatenate( ";" ) ); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
| | |
| | | ] |
| | | Properties: |
| | | [ |
| | | Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ProductionLine","title":"ProductionLine","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ProductionLine"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"MaximumDailyPackagingQuantity","title":"MaximumDailyPackagingQuantity","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"MaximumDailyPackagingQuantity"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"MaximumDailyUnpackingQuantity","title":"MaximumDailyUnpackingQuantity","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"MaximumDailyUnpackingQuantity"}}]' |
| | | Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Factory","title":"Factory","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Factory"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ProductID","title":"ProductID","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ProductID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"MaximumDailyPackagingQuantity","title":"MaximumDailyPackagingQuantity","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"MaximumDailyPackagingQuantity"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"MaximumDailyUnpackingQuantity","title":"MaximumDailyUnpackingQuantity","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"MaximumDailyUnpackingQuantity"}}]' |
| | | ContextMenu: 'cmContent' |
| | | Taborder: 2 |
| | | ] |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component MatrixEditorTable id:MatrixEditorTable_384 |
| | | { |
| | | #keys: '[415136.0.1199351187]' |
| | | BaseType: 'WebMatrixEditor' |
| | | Children: |
| | | [ |
| | | Component MatrixEditorCellTable |
| | | { |
| | | #keys: '[415136.0.1199351188]' |
| | | BaseType: 'WebMatrixEditorCell' |
| | | Children: |
| | | [ |
| | | Component DataExtractorCells |
| | | { |
| | | #keys: '[415136.0.1199351189]' |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | | DataType: 'InterfaceDataset' |
| | | FilterArguments: 'search:QMacroPlanner::FormAssemblyOnlinePlanVersion.dhSearch' |
| | | FixedFilter: 'object.Column().TimeUnit() = search.TimeUnit() and object.Column().StartDate() >= search.StartDate() and object.Column().StartDate() <= search.EndDate()' |
| | | Source: 'InterfaceDataset' |
| | | Taborder: 0 |
| | | Transformation: 'AssemblyOnlinePlanVersion.Row.Cell' |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Attributes: 'Value' |
| | | Column: 'Column' |
| | | Row: 'Row' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | Component MatrixEditorRowsTable |
| | | { |
| | | #keys: '[415136.0.1199351190]' |
| | | BaseType: 'WebMatrixEditorHeaderLevel' |
| | | Children: |
| | | [ |
| | | Component DataExtractorRows |
| | | { |
| | | #keys: '[415136.0.1199351191]' |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | | DataType: 'InterfaceDataset' |
| | | Description: "( search.Generation() = '<All>' or object.Product_MP().Generation() = search.Generation() ) and ( search.MqbMlb() = '<All>' or object.Product_MP().MQBMLB() = search.MqbMlb() ) and ( search.Power() = '<All>' or object.Product_MP().Power() = search.Power() )" |
| | | FilterArguments: 'search:QMacroPlanner::FormAssemblyOnlinePlanVersion.dhSearch' |
| | | FixedFilter: "( search.Product() = '<All>' or object.ProductID() = search.Product() ) and ( search.ProductionLine() = '<All>' or object.ProductionLine() = search.ProductionLine() )" |
| | | Source: 'InterfaceDataset' |
| | | Taborder: 0 |
| | | Transformation: 'AssemblyOnlinePlanVersion.Row' |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Legend: 'ProductID' |
| | | SortCriteria: 'ProductID' |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | | Component MatrixEditorColumnsTable |
| | | { |
| | | #keys: '[415136.0.1199351192]' |
| | | BaseType: 'WebMatrixEditorHeaderLevel' |
| | | Children: |
| | | [ |
| | | Component DataExtractorColumns |
| | | { |
| | | #keys: '[415136.0.1199351193]' |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | | DataType: 'InterfaceDataset' |
| | | FilterArguments: 'search:QMacroPlanner::FormAssemblyOnlinePlanVersion.dhSearch' |
| | | FixedFilter: 'object.TimeUnit() = search.TimeUnit() and object.StartDate() >= search.StartDate() and object.StartDate() <= search.EndDate()' |
| | | Source: 'InterfaceDataset' |
| | | Taborder: 0 |
| | | Transformation: 'AssemblyOnlinePlanVersion.Column' |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Legend: 'ColumnName' |
| | | SortCriteria: 'StartDate' |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | | #child: matrixEditorActionBarPageTable_1 |
| | | #child: matrixeditorContextMenuTable_1 |
| | | ] |
| | | Properties: |
| | | [ |
| | | Columns: 'MatrixEditorColumnsTable' |
| | | ContextMenu: 'matrixeditorContextMenuTable' |
| | | Rows: 'MatrixEditorRowsTable' |
| | | Taborder: 0 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component PanelHeader id:PanelHeader_952 |
| | | { |
| | | #keys: '[415136.0.1199302065]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | #child: PanelUnit |
| | | #child: PanelProductLine |
| | | #child: PanelOperation_283 |
| | | #child: PanelTimeUnit_234 |
| | | #child: PanelPeriod |
| | | #child: PanelProduct_937 |
| | | ] |
| | | Properties: |
| | | [ |
| | | Orientation: 'horizontal' |
| | | Taborder: 1 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component PanelOperation id:PanelOperation_283 |
| | | { |
| | | #keys: '[415136.0.1199302076]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component ButtonSearch |
| | | { |
| | | #keys: '[415136.0.1199302077]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | Image: 'VIEW' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 5 |
| | | Visible: false |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component PanelPeriod |
| | | { |
| | | #keys: '[415136.0.1199302080]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component DateSelectorStart |
| | | { |
| | | #keys: '[415136.0.1199302081]' |
| | | BaseType: 'WebDateSelector' |
| | | Properties: |
| | | [ |
| | | Label: 'Start date' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | Component DateSelectorEnd |
| | | { |
| | | #keys: '[415136.0.1199302082]' |
| | | BaseType: 'WebDateSelector' |
| | | Properties: |
| | | [ |
| | | Date: 9999-12-31 |
| | | Label: 'End date' |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Orientation: 'horizontal' |
| | | Taborder: 3 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component PanelProduct id:PanelProduct_937 |
| | | { |
| | | #keys: '[415136.0.1199302078]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component ddslProduct |
| | | { |
| | | #keys: '[415136.0.1199302079]' |
| | | BaseType: 'WebDropDownStringList' |
| | | Properties: |
| | | [ |
| | | FixedSize: false |
| | | Label: 'Product' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | FixedSize: true |
| | | Taborder: 2 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component PanelProductLine |
| | | { |
| | | #keys: '[415136.0.1199302072]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component ddslMQBMLB |
| | | { |
| | | #keys: '[415136.0.1199302073]' |
| | | BaseType: 'WebDropDownStringList' |
| | | Properties: |
| | | [ |
| | | Label: 'MQB/MLB' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | FixedSize: true |
| | | Taborder: 1 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component PanelTable id:PanelTable_273 |
| | | { |
| | | #keys: '[415136.0.1199351186]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | #child: MatrixEditorTable_384 |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 2 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component PanelTimeUnit id:PanelTimeUnit_234 |
| | | { |
| | | #keys: '[415136.0.1199302074]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component RadioButtonGroupUseForTimeUnit |
| | | { |
| | | #keys: '[415136.0.1199302075]' |
| | | BaseType: 'WebRadioButtonGroup' |
| | | Properties: |
| | | [ |
| | | ButtonLabels: 'Day;Week;Month' |
| | | ButtonValues: 'Day;Week;Month' |
| | | Orientation: 'horizontal' |
| | | Taborder: 0 |
| | | Title: 'Periods' |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 4 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component PanelUnit |
| | | { |
| | | #keys: '[415136.0.1199302066]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component ddslUnit |
| | | { |
| | | #keys: '[415136.0.1199302067]' |
| | | BaseType: 'WebDropDownStringList' |
| | | Properties: |
| | | [ |
| | | Label: 'Unit' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | FixedSize: true |
| | | Taborder: 0 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component matrixEditorActionBarPageTable id:matrixEditorActionBarPageTable_1 |
| | | { |
| | | #keys: '[415136.0.1199351194]' |
| | | BaseType: 'matrixEditorActionBarPage' |
| | | Properties: |
| | | [ |
| | | Taborder: 3 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component matrixeditorContextMenuTable id:matrixeditorContextMenuTable_1 |
| | | { |
| | | #keys: '[415136.0.1199351195]' |
| | | BaseType: 'matrixeditorContextMenu' |
| | | Properties: |
| | | [ |
| | | Taborder: 4 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: PanelPeriod/DateSelectorEnd |
| | | Response OnChanged () id:Response_PanelPeriod_DateSelectorEnd_OnChanged |
| | | { |
| | | #keys: '[415136.0.1199302051]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebDateTimeFieldBase_OnChanged' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | //æ¥ææ¹ååå·æ°æ¾ç¤º |
| | | if( this.Date() < DateSelectorStart.Date() ){ |
| | | this.HintError( 'The end date cannot be less than the start date!' ); |
| | | }else{ |
| | | if( dhSearch.Data().EndDate() <> this.Date() ){ |
| | | dhSearch.Data().EndDate( this.Date() ); |
| | | // DataHolderTable.Data().Generate( dhSearch.Data(), DataHolderProduct.Data() ); |
| | | } |
| | | } |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: PanelPeriod/DateSelectorStart |
| | | Response OnChanged () id:Response_PanelPeriod_DateSelectorStart_OnChanged |
| | | { |
| | | #keys: '[415136.0.1199302052]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebDateTimeFieldBase_OnChanged' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | //æ¥ææ¹ååå·æ°æ¾ç¤º |
| | | if( this.Date() > DateSelectorEnd.Date() ){ |
| | | this.HintError( 'The start date cannot be later than the end date!' ); |
| | | }else{ |
| | | if( dhSearch.Data().StartDate() <> this.Date() ){ |
| | | dhSearch.Data().StartDate( this.Date() ); |
| | | // DataHolderTable.Data().Generate( dhSearch.Data(), DataHolderProduct.Data() ); |
| | | } |
| | | } |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: PanelProductLine/ddslMQBMLB |
| | | Response OnCreated () id:Response_PanelProductLine_ddslMQBMLB_OnCreated |
| | | { |
| | | #keys: '[415136.0.1199302058]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebComponent_OnCreated' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | values := selectuniquevalues( InterfaceDataset, AssemblyOnlinePlanVersion.Row, row, true, row.ProductionLine() ); |
| | | |
| | | valueString := values.Concatenate( ";" ); |
| | | valueString := selectuniquevalues( valueString.Tokenize( ";" ), Elements, tempS, true, tempS ).Concatenate( ";" ); |
| | | |
| | | valueString := "<All>" + ifexpr( valueString = "", "", ";" ) + valueString; |
| | | |
| | | this.Strings( valueString ); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: PanelProductLine/ddslMQBMLB |
| | | Response OnSelectionChanged () id:Response_PanelProductLine_ddslMQBMLB_OnSelectionChanged |
| | | { |
| | | #keys: '[415136.0.1199302057]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebDropDownStringList_OnSelectionChanged' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | if( dhSearch.Data().ProductionLine() <> selection ){ |
| | | dhSearch.Data().ProductionLine( selection ); |
| | | // DataHolderTable.Data().Generate( dhSearch.Data(), DataHolderProduct.Data() ); |
| | | } |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: PanelProduct_937/ddslProduct |
| | | Response OnCreated () id:Response_PanelProduct_937_ddslProduct_OnCreated |
| | | { |
| | | #keys: '[415136.0.1199302054]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebComponent_OnCreated' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | values := selectuniquevalues( InterfaceDataset, AssemblyOnlinePlanVersion.Row, row, true, row.ProductID() ); |
| | | |
| | | valueString := values.Concatenate( ";" ); |
| | | valueString := selectuniquevalues( valueString.Tokenize( ";" ), Elements, tempS, true, tempS ).Concatenate( ";" ); |
| | | |
| | | valueString := "<All>" + ifexpr( valueString = "", "", ";" ) + valueString; |
| | | |
| | | this.Strings( valueString ); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: PanelProduct_937/ddslProduct |
| | | Response OnSelectionChanged () id:Response_PanelProduct_937_ddslProduct_OnSelectionChanged |
| | | { |
| | | #keys: '[415136.0.1199302053]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebDropDownStringList_OnSelectionChanged' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | if( dhSearch.Data().Product() <> selection ){ |
| | | dhSearch.Data().Product( selection ); |
| | | // DataHolderTable.Data().Generate( dhSearch.Data(), DataHolderProduct.Data() ); |
| | | } |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: PanelTimeUnit_234/RadioButtonGroupUseForTimeUnit |
| | | Response OnChanged () id:Response_PanelTimeUnit_234_RadioButtonGroupUseForTimeUnit_OnChanged |
| | | { |
| | | #keys: '[415136.0.1199302056]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebRadioButtonGroup_OnChanged' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | //åºé´æ¹ååå·æ°æ¾ç¤º |
| | | if( dhSearch.Data().TimeUnit() <> this.BoundValue() ){ |
| | | dhSearch.Data().TimeUnit( this.BoundValue() ); |
| | | // DataHolderTable.Data().Generate( dhSearch.Data(), DataHolderProduct.Data() ); |
| | | } |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: PanelTimeUnit_234/RadioButtonGroupUseForTimeUnit |
| | | Response OnCreated () id:Response_PanelTimeUnit_234_RadioButtonGroupUseForTimeUnit_OnCreated |
| | | { |
| | | #keys: '[415136.0.1199302055]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebComponent_OnCreated' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | this.ButtonValues( Translations::MP_GlobalParameters_Day() + ';' + Translations::MP_GlobalParameters_Week() + ';' + Translations::MP_GlobalParameters_Month() ); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: PanelUnit/ddslUnit |
| | | Response OnCreated () id:Response_PanelUnit_ddslUnit_OnCreated |
| | | { |
| | | #keys: '[415136.0.1199302062]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebComponent_OnCreated' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | values := selectuniquevalues( InterfaceDataset, AssemblyOnlinePlanVersion.Row, row, true, row.Type() ); |
| | | |
| | | valueString := values.Concatenate( ";" ); |
| | | valueString := selectuniquevalues( valueString.Tokenize( ";" ), Elements, tempS, true, tempS ).Concatenate( ";" ); |
| | | |
| | | valueString := "<All>" + ifexpr( valueString = "", "", ";" ) + valueString; |
| | | |
| | | this.Strings( valueString ); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: PanelUnit/ddslUnit |
| | | Response OnSelectionChanged () id:Response_PanelUnit_ddslUnit_OnSelectionChanged |
| | | { |
| | | #keys: '[415136.0.1199302061]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebDropDownStringList_OnSelectionChanged' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | if( dhSearch.Data().Unit() <> selection ){ |
| | | dhSearch.Data().Unit( selection ); |
| | | // DataHolderTable.Data().Generate( dhSearch.Data(), DataHolderProduct.Data() ); |
| | | } |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: MacroPlannerWebApp |
| | | OrphanComponent FormAssemblyOnlinePlanVersion |
| | | { |
| | | #keys: '[415136.0.1199301919]' |
| | | BaseType: 'WebForm' |
| | | Children: |
| | | [ |
| | | Component dhSearch |
| | | { |
| | | #keys: '[415136.0.1199301972]' |
| | | BaseType: 'WebDataHolder' |
| | | Databinding: 'AssemblyOnlinePlanVersionSearch' |
| | | Children: |
| | | [ |
| | | Component deSearch id:deSearch_604 |
| | | { |
| | | #keys: '[415136.0.1199301973]' |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | | DataType: 'InterfaceDataset' |
| | | Source: 'InterfaceDataset' |
| | | Taborder: 0 |
| | | Transformation: 'AssemblyOnlinePlanVersionSearch' |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | #child: PanelHeader_952 |
| | | #child: PanelTable_273 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | { |
| | | viewcontents |
| | | { |
| | | forms |
| | | { |
| | | form_FormAssemblyOnlinePlanVersion |
| | | { |
| | | title: 'QMacroPlanner::FormAssemblyOnlinePlanVersion' |
| | | shown: true |
| | | componentID: 'QMacroPlanner::FormAssemblyOnlinePlanVersion' |
| | | layout |
| | | { |
| | | mode: 'open' |
| | | rowPosition: 1 |
| | | rowSpan: 16 |
| | | columnPosition: 1 |
| | | columnSpan: 12 |
| | | } |
| | | components |
| | | { |
| | | FormAssemblyOnlinePlanVersion_PanelHeader |
| | | { |
| | | sizeRatio: 1 |
| | | } |
| | | FormAssemblyOnlinePlanVersion_PanelUnit |
| | | { |
| | | sizeRatio: 1 |
| | | } |
| | | FormAssemblyOnlinePlanVersion_PanelProductLine |
| | | { |
| | | sizeRatio: 1 |
| | | } |
| | | FormAssemblyOnlinePlanVersion_PanelProduct |
| | | { |
| | | sizeRatio: 1 |
| | | } |
| | | FormAssemblyOnlinePlanVersion_PanelPeriod |
| | | { |
| | | sizeRatio: 1 |
| | | } |
| | | FormAssemblyOnlinePlanVersion_PanelTimeUnit |
| | | { |
| | | sizeRatio: 1 |
| | | } |
| | | FormAssemblyOnlinePlanVersion_PanelOperation |
| | | { |
| | | sizeRatio: 1 |
| | | } |
| | | FormAssemblyOnlinePlanVersion_PanelTable |
| | | { |
| | | sizeRatio: 1 |
| | | } |
| | | FormAssemblyOnlinePlanVersion_MatrixEditorTable |
| | | { |
| | | gridColor: '#c4c4c4' |
| | | totalHeaderWidth: 200 |
| | | attributeHeaderWidthRatio: 0.6 |
| | | nameHeaderWidthRatio: 0.4 |
| | | columnWidth: 100 |
| | | horizontalGrid: true |
| | | verticalGrid: true |
| | | backendState |
| | | { |
| | | componentId: 'QMacroPlanner::FormAssemblyOnlinePlanVersion.MatrixEditorTable' |
| | | state |
| | | { |
| | | cells |
| | | { |
| | | attributes |
| | | { |
| | | attribute_Value |
| | | { |
| | | type: 'MatrixEditorWebApiCellDataModelInterest' |
| | | index: 0 |
| | | rowsubtotal: '' |
| | | columnsubtotal: '' |
| | | attribute: 'Value' |
| | | } |
| | | } |
| | | } |
| | | columns |
| | | { |
| | | sorting |
| | | { |
| | | criteria: "datamember:'StartDate'" |
| | | } |
| | | } |
| | | rows |
| | | { |
| | | sorting |
| | | { |
| | | criteria: "datamember:'ProductID'" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } |
| | | userconfigurableinformation |
| | | { |
| | | } |
| | | index: 0 |
| | | image: 'Document' |
| | | page: '' |
| | | group: '' |
| | | description: '' |
| | | } |
| | | formatversion: 2 |
| | | id: 'Assembly_online_plan_version' |
| | | name: 'Assembly online plan version view' |
| | | isglobal: false |
| | | isroot: true |
| | | } |