_Main/BL/Type_DL_EngineRackCell/Attribute_CCCleaningCost.qbl | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
_Main/BL/Type_DL_EngineRackCell/Attribute_CleaningCost.qbl | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
_Main/BL/Type_DL_EngineRackCell/Attribute_IsCCCleaningCost.qbl | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
_Main/BL/Type_DL_EngineRackCell/StaticMethod_CreateData.qbl | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
_Main/Sys/Repr/Global/DL_EngineRackCell.qrp | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
_Main/UI/MacroPlannerWebApp/Component_FormDL_EngineRackReport/Component_MatrixEditor392.def | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
_Main/BL/Type_DL_EngineRackCell/Attribute_CCCleaningCost.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,8 @@ Quintiq file version 2.0 #parent: #root Attribute CCCleaningCost { #keys: '3[415754.0.513823110][415754.0.513823109][415754.0.513823111]' Description: 'é¿æ¥å¤ç§åºæ¸ æ´è´¹ç¨' ValueType: Real } _Main/BL/Type_DL_EngineRackCell/Attribute_CleaningCost.qbl
@@ -3,6 +3,6 @@ Attribute CleaningCost { #keys: '3[413988.0.1488160070][413988.0.1488160069][413988.0.1488160071]' Description: 'æ¸ æ´è´¹ç¨' Description: '大è¿å¤ç§åºæ¸ æ´è´¹ç¨' ValueType: Real } _Main/BL/Type_DL_EngineRackCell/Attribute_IsCCCleaningCost.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,8 @@ Quintiq file version 2.0 #parent: #root Attribute IsCCCleaningCost { #keys: '3[415754.0.513823146][415754.0.513823145][415754.0.513823147]' Description: 'é¿æ¥å¤ç§åºæ¸ æ´è´¹ç¨æ´æ°å¼' ValueType: Boolean } _Main/BL/Type_DL_EngineRackCell/StaticMethod_CreateData.qbl
@@ -34,7 +34,7 @@ and tempLCE.StartDate() <= dlerc.StartDate() and tempLCE.EndDate() >= dlerc.StartDate().StartOfNextMonth() ); // ææ¶ææ¬åæ° lcmr := select( macroPlan, LogisticsCostMaterialRack, tempLCMR, tempLCMR.Factory() = "大è¿å·¥å" lcmr := select( macroPlan, LogisticsCostMaterialRack, tempLCMR, tempLCMR.Factory() = "é¿æ¥å·¥å" and tempLCMR.StartDate() <= dlerc.StartDate() and tempLCMR.EndDate() >= dlerc.StartDate().StartOfNextMonth() ); // è¿è¾ææ¬åæ° @@ -95,11 +95,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().Year() = dlerc.StartDate().Year() and tempF.StartDate().Month() = dlerc.StartDate().Month(), 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.FulfilledQuantity() ); // info( "æ¶é´ï¼", dlerc.StartDate().Format( "Y-M2-D2" ), " å ¥åºæ°éï¼", inventoryQuantity, " å è£ å®¹éï¼", guard( lce.PackagingCapacity(), 0 ), // " è£ è½½å®¹éï¼", guard( lct1.LoadingCapacity(), 0 ) ); // æµè¯è¾åº @@ -109,7 +109,7 @@ outboundQuantity := sum( macroPlan, Product_MP.ProductInStockingPoint_MP.ProductInStockingPointInPeriodPlanning.astype( ProductInStockingPointInPeriodPlanningLeaf ), tempPISPIPPL, tempPISPIPPL.ProductInStockingPoint_MP().Product_MP().Generation() = dlerr.Generation() and tempPISPIPPL.ProductInStockingPoint_MP().Product_MP().MQBMLB() = dlerr.MLB_MQB() and tempPISPIPPL.ProductInStockingPoint_MP().StockingPointID() = "大è¿å¤ç§åº" and tempPISPIPPL.ProductInStockingPoint_MP().StockingPointID() = "大è¿åºå åº" and tempPISPIPPL.Start().Date() >= dlerc.StartDate() and tempPISPIPPL.End().Date() <= lastDayOfThisMonth, tempPISPIPPL.NewSupplyQuantity() ); @@ -130,14 +130,22 @@ tempPISPIP.PlannedInventoryLevelEnd() ); cell.DLRentalWarehouseStorageFees( [Number] ( guard( ( cell.TotalQuantityOfMaterialRacks() - plannedInventory1 ) / lce.PackagingCapacity(), 0 ) * guard( lcmr.StoragePrice(), 1 ) ) ); //æ¸ æ´è´¹ç¨ï¼å卿ºå ¥åºé / å è£ å®¹é * ææ¶æ¸ æ´åä»·ãå卿ºå ¥åºéåå卿ºééï¼å è£ å®¹éåèªå卿ºææ¬è¡¨ãææ¶æ¸ æ´åä»·åææ¶ææ¬è¡¨ã cell.CleaningCost( [Number] ( guard( inventoryQuantity / lce.PackagingCapacity(), 0 ) * guard( lcmr.CleanPrice(), 1 ) ) ); // DLå¤ç§åºæ¸ æ´è´¹ç¨ï¼å卿ºå ¥åºé / å è£ å®¹é * ææ¶æ¸ æ´åä»·ãå卿ºå ¥åºéåå卿ºééï¼å è£ å®¹éåèªå卿ºææ¬è¡¨ãææ¶æ¸ æ´åä»·åææ¶ææ¬è¡¨ã cell.CleaningCost( [Number] ( guard( outboundQuantity / lce.PackagingCapacity(), 0 ) * guard( lcmr.CleanPrice(), 1 ) ) ); // é¢è®¡æ»è´¹ç¨ cell.EstimatedTotalCost( cell.CCStorageFeesForRentedWarehouses() + cell.CCOutboundExpensesForRentedWarehouses() + cell.CCRentalWarehouseStorageFees() + cell.CCLineHaulCost() + cell.CCShortDistanceTransportationCosts() + cell.DLStorageFeesForRentedWarehouses() + cell.DLOutboundExpensesForRentedWarehouses() + cell.DLExternalRentalWarehouseTransportationCosts() + cell.DLRentalWarehouseStorageFees() + cell.CleaningCost() ); // 大è¿å¤ç§åºææ¶è´¹ç¨ cell.DLRentalWarehouseMaterialRackCost( cell.DLStorageFeesForRentedWarehouses() + cell.DLOutboundExpensesForRentedWarehouses() + cell.DLExternalRentalWarehouseTransportationCosts() ); // CCå¤ç§åºDLææ¶è´¹ç¨ cell.CCExternalRentalWarehouseDLMaterialRackCost( cell.CCStorageFeesForRentedWarehouses() + cell.CCOutboundExpensesForRentedWarehouses() + cell.CCRentalWarehouseStorageFees() + cell.CCShortDistanceTransportationCosts() ); // ç³»æ° cell.Coefficient( 1.05 ); _Main/Sys/Repr/Global/DL_EngineRackCell.qrp
@@ -2,10 +2,26 @@ #parent: #root TypeRepresentation DL_EngineRackCell { AttributeRepresentation CCExternalRentalWarehouseDLMaterialRackCost { AttributeKey: '[415754.0.481133918]' Synonym: 'CCå¤ç§åºDLææ¶è´¹ç¨' Conditional: [ DataRepresentation.Conditional { BackgroundColor: '$FF3399' ConditionBody: 'object.IsCCExternalRentalWarehouseDLMaterialRackCost()' ConversionBody: '' DefaultBackgroundColor: false InheritConversion: false } ] } AttributeRepresentation CCLineHaulCost { AttributeKey: '[413988.0.1488160126]' Synonym: 'CCé¿éè¿è¾è´¹ç¨' Synonym: '两åé´ææ¶è¿è¾è´¹ç¨' Conditional: [ DataRepresentation.Conditional @@ -85,7 +101,7 @@ AttributeRepresentation CleaningCost { AttributeKey: '[413988.0.1488160069]' Synonym: 'æ¸ æ´è´¹ç¨' Synonym: 'DLå¤ç§åºæ¸ æ´è´¹ç¨' Conditional: [ DataRepresentation.Conditional @@ -151,10 +167,26 @@ } ] } AttributeRepresentation DLRentalWarehouseMaterialRackCost { AttributeKey: '[415754.0.481133881]' Synonym: 'DLå¤ç§åºææ¶è´¹ç¨' Conditional: [ DataRepresentation.Conditional { BackgroundColor: '$FF3399' ConditionBody: 'object.IsDLRentalWarehouseMaterialRackCost()' ConversionBody: '' DefaultBackgroundColor: false InheritConversion: false } ] } AttributeRepresentation DLRentalWarehouseStorageFees { AttributeKey: '[413988.0.1488160103]' Synonym: 'å¤ç§åºä»å¨è´¹ç¨' Synonym: 'DLå¤ç§åºä»å¨è´¹ç¨' Conditional: [ DataRepresentation.Conditional @@ -199,6 +231,11 @@ } ] } AttributeRepresentation IsCleaningCost { AttributeKey: '[415754.0.459256980]' Synonym: 'CCå¤ç§åºæ¸ æ´è´¹ç¨' } AttributeRepresentation NumberOfEmptyShelves { AttributeKey: '[413988.0.1488160058]' _Main/UI/MacroPlannerWebApp/Component_FormDL_EngineRackReport/Component_MatrixEditor392.def
@@ -26,7 +26,7 @@ ] Properties: [ Attributes: 'TotalQuantityOfMaterialRacks;NumberOfEmptyShelves;CCStorageFeesForRentedWarehouses;CCOutboundExpensesForRentedWarehouses;CCRentalWarehouseStorageFees;CCLineHaulCost;CCShortDistanceTransportationCosts;DLStorageFeesForRentedWarehouses;DLOutboundExpensesForRentedWarehouses;DLExternalRentalWarehouseTransportationCosts;DLRentalWarehouseStorageFees;CleaningCost;EstimatedTotalCost;Coefficient;TotalCost' Attributes: 'TotalQuantityOfMaterialRacks;NumberOfEmptyShelves;CCStorageFeesForRentedWarehouses;CCOutboundExpensesForRentedWarehouses;CCRentalWarehouseStorageFees;CCShortDistanceTransportationCosts;CCCleaningCost;DLStorageFeesForRentedWarehouses;DLOutboundExpensesForRentedWarehouses;DLExternalRentalWarehouseTransportationCosts;DLRentalWarehouseStorageFees;CleaningCost;DLRentalWarehouseMaterialRackCost;CCExternalRentalWarehouseDLMaterialRackCost;CCLineHaulCost;EstimatedTotalCost;Coefficient;TotalCost' Column: 'DL_EngineRackColumn' Row: 'DL_EngineRackRow' Taborder: 0