Codeunit 99000780 Mfg. Dimension Management

Base Application, Microsoft.Finance.Dimension

Source AL, 65 lines

src/Layers/W1/BaseApp/Manufacturing/Finance/Dimension/MfgDimensionManagement.Codeunit.allines 14 to 29 of 65, Copyright (c) Microsoft Corporation. MIT

codeunit 99000780 "Mfg. Dimension Management"{    [EventSubscriber(ObjectType::Table, Database::"Default Dimension", 'OnAfterUpdateGlobalDimCode', '', true, false)]    local procedure OnAfterUpdateGlobalDimCode(GlobalDimCodeNo: Integer; TableID: Integer; AccNo: Code[20]; NewDimValue: Code[20])    begin        if TableID = Database::"Work Center" then            UpdateWorkCenterGlobalDimCode(GlobalDimCodeNo, AccNo, NewDimValue);    end;    local procedure UpdateWorkCenterGlobalDimCode(GlobalDimCodeNo: Integer; WorkCenterNo: Code[20]; NewDimValue: Code[20])    var        WorkCenter: Record "Work Center";    begin        if WorkCenter.Get(WorkCenterNo) then begin            case GlobalDimCodeNo of                1:

All 65 lines

Events 1 in 29

[IntegrationEvent] OnUpdateWorkCenterGlobalDimCodeCaseElse(GlobalDimCodeNo: Integer; WorkCenterNo: Code[20]; NewDimValue: Code[20])new in 26