Codeunit 5777 Whse. Validate Source Line

Base Application, Microsoft.Warehouse.Request

Source AL, 426 lines

src/Layers/W1/BaseApp/Warehouse/Request/WhseValidateSourceLine.Codeunit.allines 20 to 35 of 426, Copyright (c) Microsoft Corporation. MIT

codeunit 5777 "Whse. Validate Source Line"{    trigger OnRun()    begin    end;    var        WhseActivLine: Record "Warehouse Activity Line";        TableCaptionValue: Text;#pragma warning disable AA0074, AA0470        Text000: Label 'must not be changed when a %1 for this %2 exists: ';        Text001: Label 'The %1 cannot be deleted when a related %2 exists.';#pragma warning restore AA0074, AA0470        JobPostQtyPickRemainErr: Label 'You cannot post usage for project number %1 because a quantity of %2 remains to be picked.', Comment = '%1 = Project number, %2 = remaining quantity to pick';

All 426 lines

Events 15 in 29

[IntegrationEvent] OnAfterItemLineVerifyChange(var NewItemJnlLine: Record "Item Journal Line"; var OldItemJnlLine: Record "Item Journal Line")17-29
[IntegrationEvent] OnAfterTransLineVerifyChange(var NewTransLine: Record "Transfer Line"; var OldTransLine: Record "Transfer Line")17-29
[IntegrationEvent] OnAfterTransLineDelete(var TransferLine: Record "Transfer Line")17-29
[IntegrationEvent] OnBeforeTransLineVerifyChange(var NewTransLine: Record "Transfer Line"; var OldTransLine: Record "Transfer Line"; var IsHandled: Boolean)17-29
[IntegrationEvent] OnBeforeVerifyFieldNotChanged(NewRecRef: RecordRef; OldRecRef: RecordRef; FieldNumber: Integer; var IsHandled: Boolean)17-29
[IntegrationEvent] OnTransLineCommonVerificationOnBeforeQuantityCheck(var OldTransferLine: Record "Transfer Line"; var NewTransferLine: Record "Transfer Line"; var IsHandled: Boolean)17-29
[IntegrationEvent] OnWhseLinesExistOnAfterWhseRcptLineSetFilters(var WhseRcptLine: Record "Warehouse Receipt Line"; SourceType: Integer; SourceSubType: Option; SourceNo: Code[20]; SourceLineNo: Integer; SourceQty: Decimal)17-29

All 36 events in 17-29

Public procedures 8 in 29

VerifyFieldNotChanged(NewRecRef: RecordRef; OldRecRef: RecordRef; FieldNumber: Integer)17-29
VerifyFieldNotChanged(NewRecRef: RecordRef; OldRecRef: RecordRef; FieldNumber: Integer; ErrorMessage: Text)17-29
TransLineVerifyChange(var NewTransLine: Record "Transfer Line"; var OldTransLine: Record "Transfer Line")17-29
TransLineDelete(var TransLine: Record "Transfer Line")17-29
WhseLinesExist(SourceType: Integer; SourceSubType: Option; SourceNo: Code[20]; SourceLineNo: Integer; SourceSublineNo: Integer; SourceQty: Decimal): Boolean17-29
WhseLinesExistWithTableCaptionOut(SourceType: Integer; SourceSubType: Option; SourceNo: Code[20]; SourceLineNo: Integer; SourceSublineNo: Integer; SourceQty: Decimal; var TableCaptionValueOut: Text[100]): Boolean17-29

All 48 procedures in 17-29

Changes 7 in 29

List17181920212223242526272829
Procedures5133344
Events424181203
CalcNextLevelProdOutput(ProdOrderComp: Record "Prod. Order Component"): Decimalgone after 28
gone
internal RunOnBeforeCheckQtyRemainingToBePickedForAssemblyConsumption(var NewItemJnlLine: Record "Item Journal Line"; var OldItemJnlLine: Record "Item Journal Line"; var IsHandled: Boolean; var QtyRemainingToBePicked: Decimal)26 to 28
gone
internal RunOnBeforeCheckQtyRemainingToBePickedForConsumption(var NewItemJnlLine: Record "Item Journal Line"; var OldItemJnlLine: Record "Item Journal Line"; var IsHandled: Boolean; ProdOrderComp: Record "Prod. Order Component"; QtyRemainingToBePicked: Decimal)26 to 28
gone
internal RunOnItemLineVerifyChangeOnBeforeCheckConsumptionQty(NewItemJournalLine: Record "Item Journal Line"; Location: Record Location; var QtyChecked: Boolean; var IsHandled: Boolean)26 to 28
gone
[IntegrationEvent] OnBeforeCheckQtyRemainingToBePickedForAssemblyConsumption(var NewItemJnlLine: Record "Item Journal Line"; var OldItemJnlLine: Record "Item Journal Line"; var IsHandled: Boolean; var QtyRemainingToBePicked: Decimal)gone after 28
gone
[IntegrationEvent] OnItemLineVerifyChangeOnBeforeCheckConsumptionQty(NewItemJournalLine: Record "Item Journal Line"; Location: Record Location; var QtyChecked: Boolean; var IsHandled: Boolean)18 to 28
gone

All 129 changes in 17-29