Codeunit 5808 Cost Adjustment Runner

Base Application, Microsoft.Inventory.Costing

Source AL, 64 lines

src/Layers/W1/BaseApp/Inventory/Costing/CostAdjustmentRunner.Codeunit.allines 7 to 22 of 64, Copyright (c) Microsoft Corporation. MIT

codeunit 5808 "Cost Adjustment Runner"{    TableNo = "Cost Adj. Item Bucket";    trigger OnRun()    var        CostAdjItemBucket: Record "Cost Adj. Item Bucket";        CostAdjustmentBucketRunner: Codeunit "Cost Adjustment Bucket Runner";        CostAdjustmentSubscribers: Codeunit "Cost Adjustment Subscribers";    begin        BindSubscription(CostAdjustmentSubscribers);        OnBeforeRunCostAdjustment(Rec);        CostAdjItemBucket.Copy(Rec);        if CostAdjustmentBucketRunner.Run(CostAdjItemBucket) then            RegisterSuccess(CostAdjItemBucket)

All 64 lines

Events 4 in 29

[IntegrationEvent] OnAfterRunCostAdjustment(CostAdjItemBucket: Record "Cost Adj. Item Bucket")new in 24
[IntegrationEvent] OnRegisterSuccess(var CostAdjItemBucket: Record "Cost Adj. Item Bucket")new in 24
[IntegrationEvent] OnRegisterFailure(var CostAdjItemBucket: Record "Cost Adj. Item Bucket")new in 24
[IntegrationEvent] OnBeforeRunCostAdjustment(CostAdjItemBucket: Record "Cost Adj. Item Bucket")new in 26

All 5 events in 24-29

Changes 2 in 26

List17181920212223242526272829
Events2
[IntegrationEvent] OnBeforeRunCostAdjustment()24 to 25
gone
[IntegrationEvent] OnBeforeRunCostAdjustment(CostAdjItemBucket: Record "Cost Adj. Item Bucket")new in 26
added

All 2 changes in 24-29