Codeunit 481 Check Dimensions

Base Application, Microsoft.Finance.Dimension

Source AL, 577 lines

src/Layers/W1/BaseApp/Finance/Dimension/CheckDimensions.Codeunit.allines 26 to 41 of 577, Copyright (c) Microsoft Corporation. MIT

codeunit 481 "Check Dimensions"{    trigger OnRun()    begin    end;    var        ErrorMessageMgt: Codeunit "Error Message Management";        DimMgt: Codeunit DimensionManagement;        DimensionIsBlockedErr: Label 'The combination of dimensions used in %1 %2 is blocked', Comment = '%1 = Document Type, %2 = Document No, %3 = Error text';        LineDimensionBlockedErr: Label 'The combination of dimensions used in %1 %2, line no. %3 is blocked', Comment = '%1 = Document Type, %2 = Document No, %3 = LineNo., %4 = Error text';        InvalidDimensionsErr: Label 'The dimensions used in %1 %2 are invalid', Comment = '%1 = Document Type, %2 = Document No, %3 = Error text';        LineInvalidDimensionsErr: Label 'The dimensions used in %1 %2, line no. %3 are invalid', Comment = '%1 = Document Type, %2 = Document No, %3 = LineNo., %4 = Error text';

All 577 lines

Events 7 in 29

[IntegrationEvent] OnBeforeCheckPurchDim(PurchaseHeader: Record "Purchase Header"; var TempPurchaseLine: Record "Purchase Line" temporary; var IsHandled: Boolean)17-29
[IntegrationEvent] OnBeforeCheckSalesDim(SalesHeader: Record "Sales Header"; var TempSalesLine: Record "Sales Line" temporary; var IsHandled: Boolean)17-29
[IntegrationEvent] OnCheckPurchDimLinesOnAfterCheckPurchDimValuePostingLine(var TempPurchLine: Record "Purchase Line")17-29
[IntegrationEvent] OnCheckDimValuePostingOnAfterCreateDimTableIDs(RecordVariant: Variant; var TableIDArr: array[10] of Integer; var NumberArr: array[10] of Code[20])17-29
[IntegrationEvent] OnBeforeShowContextDimensions(RecID: RecordId; var Result: Boolean; var IsHandled: Boolean)new in 20
[IntegrationEvent] OnCheckSalesDimLinesOnAfterCalcShouldCheckDimensions(SalesHeader: Record "Sales Header"; TempSalesLine: Record "Sales Line" temporary; var ShouldCheckDimensions: Boolean)new in 20
[IntegrationEvent] OnCheckPurchDimLinesOnBeforeCheckDim(PurchaseHeader: Record "Purchase Header"; var TempPurchaseLine: Record "Purchase Line" temporary; var CheckDimensions: Boolean)new in 28

Public procedures 5 in 29

CheckPurchDim(PurchHeader: Record "Purchase Header"; var TempPurchLine: Record "Purchase Line" temporary)17-29
CheckPurchPrepmtDim(PurchaseHeader: Record "Purchase Header")17-29changed in 23
CheckSalesDim(SalesHeader: Record "Sales Header"; var TempSalesLine: Record "Sales Line" temporary)17-29
CheckSalesPrepmtDim(SalesHeader: Record "Sales Header")17-29
ShowContextDimensions(RecID: RecordId): Boolean17-29

Changes 1 in 28

List17181920212223242526272829
Procedures1
Events21
[IntegrationEvent] OnCheckPurchDimLinesOnBeforeCheckDim(PurchaseHeader: Record "Purchase Header"; var TempPurchaseLine: Record "Purchase Line" temporary; var CheckDimensions: Boolean)new in 28
added

All 4 changes in 17-29