已复制1个文件
已重命名1个文件
已修改24个文件
已添加2个文件
已删除3个文件
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method Generate ( |
| | | AssemblyOnlinePlanVersionSearch search |
| | | AssemblyOnlinePlanVersionSearch search, |
| | | Strings products, |
| | | Strings units |
| | | ) |
| | | { |
| | | TextBody: |
| | |
| | | //æ¸
空ä¹ååå¨çæ¾ç¤ºæ°æ® |
| | | aopcolumns := selectuniquevalues( table, Column, aopcolumn, aopcolumn.TimeUnit() = search.TimeUnit() and aopcolumn.StartDate() >= search.StartDate() and aopcolumn.StartDate() <= search.EndDate(), aopcolumn.StartDate() ); |
| | | this.Clear( aopcolumns ); |
| | | traverse( table, Row, row, ( search.Unit() = FinancialProductionReport::GetDefaultAllUnit() or row.Unit() = search.Unit() ) |
| | | and ( search.Product() = FinancialProductionReport::GetDefaultAllUnit() or search.Product() = row.Name() ) |
| | | and ( search.ProductionLine() = FinancialProductionReport::GetDefaultAllUnit() or search.ProductionLine() = row.ProductionLine() ) ){ |
| | | traverse( table, Row, row, ( units.Size() = 0 or units.Find( row.ProductionLine() ) > -1 ) and ( products.Size() = 0 or products.Find( row.Name() ) > -1 ) ){ |
| | | |
| | | showrow := selectobject( this, Row, showrow, showrow.Name() = row.Name() and showrow.Unit() = search.Unit() ); |
| | | if( isnull( showrow ) ){ |
| | |
| | | } |
| | | table := selectobject( owner, AssemblyOnlinePlanVersion, table, table.IsShow() ); |
| | | if( not isnull( table ) ){ |
| | | table.Generate( search); |
| | | productids := selectuniquevalues( table, Row, row, row.Name() ); |
| | | productlines := selectuniquevalues( table, Row, row, row.Unit() ); |
| | | table.Generate( search, productids, productlines ); |
| | | } |
| | | return table; |
| | | *] |
| | |
| | | cell.Quantity( qty ); |
| | | } |
| | | } |
| | | showtable.Generate( search ); |
| | | productids := selectuniquevalues( table, Row, row, row.Name() ); |
| | | productlines := selectuniquevalues( table, Row, row, row.ProductionLine() ); |
| | | showtable.Generate( search, productids, productlines ); |
| | | *] |
| | | } |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method Generate ( |
| | | CustomerDemandIDSSearch search |
| | | CustomerDemandIDSSearch search, |
| | | Strings products |
| | | ) |
| | | { |
| | | TextBody: |
| | |
| | | idscolumns := selectuniquevalues( table, Column, idscolumn, idscolumn.TimeUnit() = search.TimeUnit() and idscolumn.StartDate() >= search.StartDate() and idscolumn.StartDate() <= search.EndDate(), idscolumn.StartDate() ); |
| | | this.Clear( idscolumns ); |
| | | traverse( table, Row, row, ( search.Unit() = FinancialProductionReport::GetDefaultAllUnit() or row.Factory() = search.Unit() ) |
| | | and ( search.Product() = FinancialProductionReport::GetDefaultAllUnit() or search.Product() = row.Name() ) ){ |
| | | and ( products.Size() = 0 or products.Find( row.Name() ) > -1 ) ){ |
| | | |
| | | showrow := selectobject( this, Row, showrow, showrow.Name() = row.Name() and showrow.Factory() = search.Unit() ); |
| | | if( isnull( showrow ) ){ |
| | |
| | | |
| | | source.Delete(); |
| | | info( '-------------------------End---------------------'); |
| | | showtable.Generate( search ); |
| | | productids := selectuniquevalues( idstable, Row, row, row.Name() ); |
| | | showtable.Generate( search, productids ); |
| | | *] |
| | | } |
| | |
| | | } |
| | | table := selectobject( owner, CustomerDemandIDS, table, table.IsShow() ); |
| | | if( not isnull( table ) ){ |
| | | table.Generate( search); |
| | | productids := selectuniquevalues( table, Row, row, row.Name() ); |
| | | table.Generate( search, productids ); |
| | | } |
| | | return table; |
| | | *] |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method Generate ( |
| | | InventoryPlanArchiveVersionSearch search |
| | | InventoryPlanArchiveVersionSearch search, |
| | | Strings products, |
| | | Strings units |
| | | ) |
| | | { |
| | | TextBody: |
| | |
| | | //æ¸
空ä¹ååå¨çæ¾ç¤ºæ°æ® |
| | | aopcolumns := selectuniquevalues( table, Column, aopcolumn, aopcolumn.TimeUnit() = search.TimeUnit() and aopcolumn.StartDate() >= search.StartDate() and aopcolumn.StartDate() <= search.EndDate(), aopcolumn.StartDate() ); |
| | | this.Clear( aopcolumns ); |
| | | traverse( table, Row, row, ( search.Unit() = FinancialProductionReport::GetDefaultAllUnit() or row.Unit() = search.Unit() ) |
| | | and ( search.Product() = FinancialProductionReport::GetDefaultAllUnit() or search.Product() = row.Name() )){ |
| | | traverse( table, Row, row, ( units.Size() = 0 or units.Find( row.Unit() ) > -1 ) and ( products.Size() = 0 or products.Find( row.Name() ) > -1 ) ){ |
| | | |
| | | showrow := selectobject( this, Row, showrow, showrow.Name() = row.Name() and showrow.Unit() = search.Unit() ); |
| | | if( isnull( showrow ) ){ |
| | |
| | | TextBody: |
| | | [* |
| | | // çå
°é¸½ Jun-25-2024 (created) |
| | | timeunit := guard( this.InterfaceDataset().AssemblyOnlinePlanVersionSearch().TimeUnit(), Translations::MP_GlobalParameters_Day() ) ; |
| | | timeunit := guard( this.InterfaceDataset().InventoryPlanArchiveVersionSearch().TimeUnit(), Translations::MP_GlobalParameters_Day() ) ; |
| | | weekstart := periods.Element( 0 ); |
| | | |
| | | monthstart := periods.Element( 0 ); |
| | |
| | | } |
| | | |
| | | info( '-------------------------End---------------------'); |
| | | showtable.Generate( search ); |
| | | productids := selectuniquevalues( table, Row, row, row.Name() ); |
| | | productlines := selectuniquevalues( table, Row, row, row.Unit() ); |
| | | showtable.Generate( search, productids, productlines ); |
| | | *] |
| | | } |
| | |
| | | } |
| | | table := selectobject( owner, InventoryPlanArchiveVersion, table, table.IsShow() ); |
| | | if( not isnull( table ) ){ |
| | | table.Generate( search); |
| | | productids := selectuniquevalues( table, Row, row, row.Name() ); |
| | | productlines := selectuniquevalues( table, Row, row, row.Unit() ); |
| | | table.Generate( search, productids, productlines ); |
| | | } |
| | | return table; |
| | | *] |
| | |
| | | //æ¸
空ä¹ååå¨çæ¾ç¤ºæ°æ® |
| | | aopcolumns := selectuniquevalues( table, Column, aopcolumn, aopcolumn.TimeUnit() = search.TimeUnit() and aopcolumn.StartDate() >= search.StartDate() and aopcolumn.StartDate() <= search.EndDate(), aopcolumn.StartDate() ); |
| | | this.Clear( aopcolumns ); |
| | | traverse( table, Row, row, units.Find( row.ProductionLine() ) > -1 and products.Find( row.Name() ) > -1 ){ |
| | | traverse( table, Row, row, ( units.Size() = 0 or units.Find( row.ProductionLine() ) > -1 ) and ( products.Size() = 0 or products.Find( row.Name() ) > -1 ) ){ |
| | | |
| | | showrow := selectobject( this, Row, showrow, showrow.Name() = row.Name() and showrow.Unit() = search.Unit() ); |
| | | if( isnull( showrow ) ){ |
| | |
| | | TextBody: |
| | | [* |
| | | // çå
°é¸½ Jun-25-2024 (created) |
| | | timeunit := guard( this.InterfaceDataset().AssemblyOnlinePlanVersionSearch().TimeUnit(), Translations::MP_GlobalParameters_Day() ) ; |
| | | timeunit := guard( this.InterfaceDataset().OfflinePlanArchiveSearch().TimeUnit(), Translations::MP_GlobalParameters_Day() ) ; |
| | | weekstart := periods.Element( 0 ); |
| | | |
| | | monthstart := periods.Element( 0 ); |
| | |
| | | [ |
| | | #child: PanelPeriod_384 |
| | | #child: PanelTimeUnit |
| | | #child: PanelOperation_653 |
| | | ] |
| | | Properties: |
| | | [ |
copy from _Main/UI/MacroPlannerWebApp/Component_FormInventoryPlanArchive/Component_PanelOperation.def
copy to "_Main/UI/MacroPlannerWebApp/Component_FormAssemblyOnlinePlanVersion/Component_PanelOperation\043653.def"
Îļþ´Ó _Main/UI/MacroPlannerWebApp/Component_FormInventoryPlanArchive/Component_PanelOperation.def ¸´ÖÆ |
| | |
| | | Quintiq file version 2.0 |
| | | Component PanelOperation |
| | | Component PanelOperation id:PanelOperation_653 |
| | | { |
| | | #keys: '[415136.0.1307935388]' |
| | | #keys: '[415136.0.1325100270]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component ButtonSearch |
| | | { |
| | | #keys: '[415136.0.1307935389]' |
| | | #keys: '[415136.0.1325100271]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | |
| | | Properties: |
| | | [ |
| | | Taborder: 2 |
| | | Visible: false |
| | | ] |
| | | } |
| | |
| | | Properties: |
| | | [ |
| | | Taborder: 1 |
| | | Visible: false |
| | | ] |
| | | } |
| | |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | #child: PanelOperation |
| | | #child: PanelUnit_424 |
| | | #child: PanelProductLine_623 |
| | | #child: PanelProduct |
| | |
| | | [ |
| | | Orientation: 'horizontal' |
| | | Taborder: 0 |
| | | Visible: false |
| | | ] |
| | | } |
| | |
| | | Properties: |
| | | [ |
| | | Taborder: 0 |
| | | Visible: false |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: PanelOperation_653/ButtonSearch |
| | | Response OnClick () id:Response_PanelOperation_653_ButtonSearch_OnClick |
| | | { |
| | | #keys: '[415136.0.1325100269]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | if( not isnull( DataHolderTable.Data() ) ){ |
| | | productids := selectuniquevalues( DataHolderProduct.Data(), Elements, product, product.ID() ); |
| | | units := selectuniquevalues( DataHolderUnit.Data(), Elements, unit, unit.ID() ); |
| | | DataHolderTable.Data().Generate( dhSearch.Data(), productids, units ); |
| | | } |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
| | |
| | | ] |
| | | Properties: |
| | | [ |
| | | FixedSize: true |
| | | Taborder: 6 |
| | | ] |
| | | } |
| | |
| | | Properties: |
| | | [ |
| | | Taborder: 3 |
| | | Visible: false |
| | | ] |
| | | } |
| | |
| | | Body: |
| | | [* |
| | | if( not isnull( DataHolderTable.Data() ) ){ |
| | | DataHolderTable.Data().Generate( dhSearch.Data() ); |
| | | productids := selectuniquevalues( DataHolderProduct.Data(), Elements, product, product.ID() ); |
| | | DataHolderTable.Data().Generate( dhSearch.Data(), productids ); |
| | | } |
| | | *] |
| | | GroupServerCalls: false |
| | |
| | | [ |
| | | #child: PanelPeriod_71 |
| | | #child: PanelTimeUnit |
| | | #child: PanelOperation_603 |
| | | ] |
| | | Properties: |
| | | [ |
ÎļþÃû´Ó _Main/UI/MacroPlannerWebApp/Component_FormInventoryPlanArchive/Component_PanelOperation.def ÐÞ¸Ä |
| | |
| | | Quintiq file version 2.0 |
| | | Component PanelOperation |
| | | Component PanelOperation id:PanelOperation_603 |
| | | { |
| | | #keys: '[415136.0.1307935388]' |
| | | #keys: '[415136.0.1323960400]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component ButtonSearch |
| | | { |
| | | #keys: '[415136.0.1307935389]' |
| | | #keys: '[415136.0.1323960401]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | |
| | | Properties: |
| | | [ |
| | | Taborder: 1 |
| | | Visible: false |
| | | ] |
| | | } |
| | |
| | | [ |
| | | #child: PanelUnit_925 |
| | | #child: PanelProduct |
| | | #child: PanelOperation |
| | | ] |
| | | Properties: |
| | | [ |
| | | Orientation: 'horizontal' |
| | | Taborder: 0 |
| | | Visible: false |
| | | ] |
| | | } |
| | |
| | | Properties: |
| | | [ |
| | | Taborder: 0 |
| | | Visible: false |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: PanelOperation_603/ButtonSearch |
| | | Response OnClick () id:Response_PanelOperation_603_ButtonSearch_OnClick |
| | | { |
| | | #keys: '[415136.0.1323960399]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | if( not isnull( DataHolderTable.Data() ) ){ |
| | | productids := selectuniquevalues( DataHolderProduct.Data(), Elements, product, product.ID() ); |
| | | units := selectuniquevalues( DataHolderUnit.Data(), Elements, unit, unit.ID() ); |
| | | DataHolderTable.Data().Generate( dhSearch.Data(), productids, units ); |
| | | } |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |