| | |
| | | StaticMethod GenerateData ( |
| | | InterfaceDataset interfaceDataset, |
| | | const MacroPlan macroplan, |
| | | Boolean iscc, |
| | | Boolean isdl, |
| | | String executor |
| | | ) |
| | | { |
| | |
| | | , Message := '客户需求(PPA+IDS)数据推送' |
| | | , Last := true |
| | | ); |
| | | traverse( interfaceDataset, CustomerDemandIDS.Row, row ){ |
| | | traverse( interfaceDataset, CustomerDemandIDS.Row, row, ( iscc and row.Factory() = FinancialProductionReport::GetDefaultCCUnit() ) |
| | | or ( isdl and row.Factory() = FinancialProductionReport::GetDefaultDLUnit() ) ){ |
| | | traverse( row, Cell, cell ){ |
| | | cd :=interfaceDataset.CustomerDemandPPAIDS( relnew, Product := row.Name() |
| | | , DemandDate := cell.Column().StartDate() |