| | |
| | | |
| | | // 大连工厂设置值 |
| | | if ( factory = "大连工厂" ) { |
| | | // 净需求&剩余库存 |
| | | // 净需求&剩余库存&供应量 |
| | | cell.NetDemand( cell.NetDemand() + pispipl.DependentDemandAndSalesDemandQuantity() ); |
| | | cell.EndingInventory( cell.EndingInventory() + pispipl.InventoryLevelEnd() ); |
| | | cell.NewSupply( cell.NewSupply() + pispipl.NewSupplyQuantity() ); |
| | | } |
| | | |
| | | // 长春工厂设置值 |
| | | if ( factory = "长春工厂" ) { |
| | | // 剩余库存 |
| | | // 剩余库存&供应量 |
| | | cell.EndingInventory( cell.EndingInventory() + pispipl.InventoryLevelEnd() ); |
| | | cell.NewSupply( cell.NewSupply() + pispipl.NewSupplyQuantity() ); |
| | | |
| | | // 净需求【只取线边库】&包装库存&非包装库存 |
| | | if ( pisp.StockingPointID().Regex( "外租库" ) ) { |