Codeunit 8510 Over-Receipt Mgt.

Base Application, Microsoft.Purchases.Document

Source AL, 295 lines

src/Layers/W1/BaseApp/Purchases/Document/OverReceiptMgt.Codeunit.allines 16 to 31 of 295, Copyright (c) Microsoft Corporation. MIT

codeunit 8510 "Over-Receipt Mgt."{    trigger OnRun()    begin    end;    var        OverReceiptQuantityErrTitleTxt: Label 'Qty. to Receive isn''t valid.';        OverReceiptQuantityErrDescriptionTxt: Label 'The selected Over-Receipt Code - %1, allows you to receive up to %2 units.', Comment = '%1 = Over Receipt Code, %2 = numbers of allowed quantity to receive.';        OverReceiptNotificationTxt: Label 'An over-receipt quantity is recorded on purchase order %1.', Comment = '%1 - document number';        QtyToSetCustomDimKeyTxt: Label 'Qty. to Set', Locked = true;        OverReceiptSetQtyActionCaptionTxt: Label 'Set value to %1', Comment = '%1 = Quantity to set';#pragma warning disable AA0470        OverReceiptSetQtyActionTooltipTxt: Label 'Corrects %1 value to %2.';#pragma warning restore AA0470

All 295 lines

Events 4 in 29

[IntegrationEvent] OnIsOverReceiptAllowed(var OverReceiptAllowed: Boolean)17-29
[IntegrationEvent] OnGetDefaultOverReceiptCode(PurchaseLine: Record "Purchase Line"; var DefaultOverReceipCode: Code[20]; var IsHandled: Boolean)17-29
[IntegrationEvent] OnBeforeVerifyOverReceiptQuantity(PurchaseLine: Record "Purchase Line"; xPurchaseLine: Record "Purchase Line"; var IsHandled: Boolean)new in 19
[IntegrationEvent] OnVerifyOverReceiptQuantityOnAfterCalcShouldCallError(PurchaseLine: Record "Purchase Line"; OverReceiptQtyBase: Decimal; MaxOverReceiptQtyAllowed: Decimal; var ShouldCallError: Boolean)new in 22

Public procedures 11 in 29

IsOverReceiptAllowed(): Boolean17-29
IsQuantityUpdatedFromWarehouseOverReceipt(PurchaseLine: Record "Purchase Line"): Boolean17-29
UpdatePurchaseLineOverReceiptQuantityFromWarehouseReceiptLine(WarehouseReceiptLine: Record "Warehouse Receipt Line")17-29
VerifyOverReceiptQuantity(PurchaseLine: Record "Purchase Line"; xPurchaseLine: Record "Purchase Line")17-29
GetDefaultOverReceiptCode(PurchaseLine: Record "Purchase Line"): Code[20]17-29
RecallOverReceiptNotification(PurchaseHeaderRecordId: RecordId)17-29

All 14 procedures in 17-29

Changes 1 in 28

List17181920212223242526272829
Procedures2211
Events11
IsOverReceiptPendingOnWarehouseReceiptLine(PurchaseLine: Record "Purchase Line"): Booleannew in 28
added

All 8 changes in 17-29