| | |
| | | { |
| | | Body: |
| | | [* |
| | | //if( not isnull( MacroPlan.InventorySummarySource() ) ){ |
| | | InventorySummarySource::Initialize( MacroPlan, InterfaceDataset ); |
| | | //} |
| | | //info( '------------------1----------------' ); |
| | | table := selectobject( MacroPlan, InventorySummarySource.InventorySummaryReport, table, table.IsShow() ); |
| | | //info( '------------------2----------------', table.IsShow() ); |
| | | table := InventorySummarySource::InitiateSearch( MacroPlan ); |
| | | Factory::Initilize( MacroPlan ); |
| | | ProductGeneration::Initilize( MacroPlan ); |
| | | ProductPower::Initilize( MacroPlan ); |
| | | ProductMLBMQB::Initilize( MacroPlan ); |
| | | dhFactorys.Data( selectset( MacroPlan, Factory, factory, factory.ID() = FinancialProductionReport::GetDefaultAllUnit() ) ); |
| | | //dhGenerations.Data( selectset( MacroPlan, ProductGeneration, factory, true ) ); |
| | | //dhPowers.Data( selectset( MacroPlan, ProductPower, factory, true ) ); |
| | | //dhMQBMLBs.Data( selectset( MacroPlan, ProductMLBMQB, factory, true ) ); |
| | | DataHolderTable.Data( table ); |
| | | |
| | | dhSearch.Data( table.InventorySummarySource().InventorySummarySearch() ); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |