| | |
| | | Body: |
| | | [* |
| | | //初始化 |
| | | //if( not exists( MacroPlan, FinancialProductionSource, source, not source.IsImport() ) ){ |
| | | FinancialProductionSource::Initialize( MacroPlan ); |
| | | //} |
| | | //info( '------------------1----------------' ); |
| | | table := selectobject( MacroPlan, FinancialProductionSource.FinancialProductionReport, table, not table.IsImport() ); |
| | | //info( '------------------2----------------' ); |
| | | table := FinancialProductionSource::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.FinancialProductionSource().FinancialProductionSearch() ); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |