admin
2024-10-29 20680ab30a4a06f437f51a932a9e2327fbc924ea
大连外租库优化
已修改1个文件
10 ■■■■ 文件已修改
_Main/BL/Type_DL_EngineRackCell/StaticMethod_CreateData.qbl 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_DL_EngineRackCell/StaticMethod_CreateData.qbl
@@ -107,11 +107,11 @@
        
        // DL外租库入库费用:发动机入库量 / 包装容量(向上取整)* 料架入库单价
        inventoryQuantity := sum( macroPlan, SalesDemand.astype( Forecast ), tempF, 
                                  tempF.Product_MP().Generation()         =  dlerr.Generation()       and
                                  tempF.Product_MP().MQBMLB()             =  dlerr.MLB_MQB()          and
                                  tempF.StockingPointID()                 =  "大连外租库"             and
                                  ( tempF.StartDate() - 2 ).Year()        = dlerc.StartDate().Year()  and
                                  ( tempF.StartDate() - 2 ).Month()       = dlerc.StartDate().Month(),
                                  tempF.Product_MP().Generation()         =  dlerr.Generation()         and
                                  tempF.Product_MP().MQBMLB()             =  dlerr.MLB_MQB()            and
                                  tempF.StockingPointID()                 =  "大连外租库"               and
                                  tempF.StartDate()                       >= ( dlerc.StartDate() - 2 )  and
                                  tempF.StartDate()                       <= ( lastDayOfThisMonth - 2 ),
                                  tempF.FulfilledQuantity() );
    //                   info( "时间:", dlerc.StartDate().Format( "Y-M2-D2" ), "    入库数量:", inventoryQuantity, "    包装容量:", guard( lce.PackagingCapacity(), 0 ),
    //                         "    装载容量:", guard( lct1.LoadingCapacity(), 0 ) ); // 测试输出