Codeunit 6257 SustCostManagement
Source AL, 123 lines
src/Apps/W1/Sustainability/app/src/Calculation/SustCostManagement.Codeunit.allines 2 to 17 of 123, Copyright (c) Microsoft Corporation. MIT
codeunit 6257 "SustCostManagement"{ Permissions = TableData Item = rm, TableData "Sustainability Value Entry" = r; procedure UpdateCO2ePerUnit(var Item: Record Item; CalledByFieldNo: Integer) var CheckItem: Record Item; RunOnModifyTrigger: Boolean; begin CalcUnitCostFromAverageCost(Item); RunOnModifyTrigger := CalledByFieldNo <> 0; if CheckItem.Get(Item."No.") then if RunOnModifyTrigger then Item.Modify(true)Public procedures 3 in 29
| Update | new in 26 |
| Calculate | new in 26 |
| Set | new in 26 |