| | |
| | | { |
| | | TextBody: |
| | | [* |
| | | traverse( macroPlan,Product_MP,product ){ |
| | | archive.ActualDailyProductionData( relnew,ProductNo := product.ID(),ProductionDate := Date::Construct( 2020,4,1 ),ActualOut := 100); |
| | | traverse( archive,ArchiveFile,object ){ |
| | | // object.Name(); |
| | | // object.FilePath(); |
| | | // object.SourceFileBinaryValue(); |
| | | } |
| | | *] |
| | | } |
| | |
| | | ] |
| | | } |
| | | #child: MatrixEditor |
| | | Component dhCheckUnits |
| | | { |
| | | #keys: '[414996.1.137664350]' |
| | | BaseType: 'WebDataHolder' |
| | | Databinding: 'structured[Entity]*' |
| | | Children: |
| | | [ |
| | | Component deCheckUnits |
| | | { |
| | | #keys: '[414996.1.137664394]' |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | | DataType: 'structured[Entity]' |
| | | Source: 'ApplicationMacroPlanner.DataHolderCheckedEntities' |
| | | Taborder: 0 |
| | | Transformation: 'Elements' |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 5 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
对比新文件 |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: PanelDemandComparison/dhCheckUnits |
| | | Response OnDataChanged () id:Response_PanelDemandComparison_dhCheckUnits_OnDataChanged |
| | | { |
| | | #keys: '[414996.1.137664549]' |
| | | 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.astype( Unit ).StockingPoint_MP.ProductInStockingPoint_MP.Product_MP,prod,prod = element )); |
| | | // prods := selectset( productInLanes,Elements.Product_MP,prod,true ); |
| | | dhFinelProduct.Data( &prods ); |
| | | }else{ |
| | | dhFinelProduct.Data( DataHolderProduct.Data().Copy() ); |
| | | } |
| | | *] |
| | | } |
| | | } |
| | |
| | | Taborder: 4 |
| | | ] |
| | | } |
| | | Component dhCheckUnits id:dhCheckUnits_21 |
| | | { |
| | | #keys: '[414996.1.137664654]' |
| | | BaseType: 'WebDataHolder' |
| | | Databinding: 'structured[Entity]*' |
| | | Children: |
| | | [ |
| | | Component deCheckUnits id:deCheckUnits_368 |
| | | { |
| | | #keys: '[414996.1.137664655]' |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | | DataType: 'structured[Entity]' |
| | | Source: 'ApplicationMacroPlanner.DataHolderCheckedEntities' |
| | | Taborder: 0 |
| | | Transformation: 'Elements' |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 5 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
对比新文件 |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: PanelDemandComparison_634/dhCheckUnits_21 |
| | | Response OnDataChanged () id:Response_PanelDemandComparison_dhCheckUnits_OnDataChanged_832 |
| | | { |
| | | #keys: '[414996.1.137664652]' |
| | | 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.astype( Unit ).StockingPoint_MP.ProductInStockingPoint_MP.Product_MP,prod,prod = element )); |
| | | // prods := selectset( productInLanes,Elements.Product_MP,prod,true ); |
| | | dhFinelProduct.Data( &prods ); |
| | | }else{ |
| | | dhFinelProduct.Data( DataHolderProduct.Data().Copy() ); |
| | | } |
| | | *] |
| | | } |
| | | } |