| | |
| | | //todo: 数据有重复,先略过 |
| | | macroPlan.Broker_OTD_Product().Execute(); |
| | | info( "Start data mapping of product" ); |
| | | macroPlan.MappingProductData( businessTypes, false ); |
| | | testproduct := construct( Strings ); |
| | | macroPlan.MappingProductData( testproduct, false ); |
| | | //单位转换-7 |
| | | info( "BaseConversionFactor::DoSync" ) |
| | | BaseConversionFactor::DoSync( macroPlan ); |
| | |
| | | port := 443; |
| | | data := macroPlan.ApiResponesCheck( address, url, port, postrequestbody ); |
| | | macroPlan.ApiLaneLegsData( data ); |
| | | // 供应网络(车道)-12 |
| | | info( "ProductInLane::DoSync" ) |
| | | macroPlan.Broker_OTD_ProductInLane().Execute(); |
| | | macroPlan.MappingProductInLaneData(); |
| | | //// 供应网络(车道)-12 |
| | | //info( "ProductInLane::DoSync" ) |
| | | //macroPlan.Broker_OTD_ProductInLane().Execute(); |
| | | //macroPlan.MappingProductInLaneData(); |
| | | // 在库库存数据-13 |
| | | info( "ActualPISPIP::DoSync" ) |
| | | macroPlan.Broker_OTD_ActualPISPIP().Execute(); |
| | | //macroPlan.MappingActualPISPIPData( businessTypes, true ); |
| | | macroPlan.MappingActualPISPIPData( businessTypes, false ); |
| | | // 在途库存-14 |
| | | info( "ExternalSupply::DoSync" ) |
| | | info( "Start data broker of External supply" ); |
| | | macroPlan.Broker_OTD_ExternalSupply().Execute(); |
| | | //macroPlan.MappingExternalSupplyData( businessTypes, true ); |
| | | info( "Start data mapping of External supply" ); |
| | | macroPlan.MappingExternalSupplyData( businessTypes, false ); |
| | | // 库存成本-15 |
| | | info( "InventoryCost::DoSync" ); |
| | | InventoryValueAndCost::DoSync( macroPlan ); |
| | | //// 在途库存-14 |
| | | //info( "ExternalSupply::DoSync" ) |
| | | //info( "Start data broker of External supply" ); |
| | | //macroPlan.Broker_OTD_ExternalSupply().Execute(); |
| | | ////macroPlan.MappingExternalSupplyData( businessTypes, true ); |
| | | //info( "Start data mapping of External supply" ); |
| | | //macroPlan.MappingExternalSupplyData( businessTypes, false ); |
| | | //// 库存成本-15 |
| | | //info( "InventoryCost::DoSync" ); |
| | | //InventoryValueAndCost::DoSync( macroPlan ); |
| | | //// todo 制造成本-16 |
| | | //info( "OperationCost::DoSync" ); |
| | | //macroPlan.MappingOperationCostData( businessTypes ); |