Codeunit "Over-Receipt Mgt."

ID 8510
Namespace: Microsoft.Purchases.Document

Methods

IsOverReceiptAllowed

procedure IsOverReceiptAllowed(): Boolean

Returns

Type Description
Boolean

IsQuantityUpdatedFromWarehouseOverReceipt

procedure IsQuantityUpdatedFromWarehouseOverReceipt(PurchaseLine: Record "Purchase Line"): Boolean

Parameters

Name Type Description
PurchaseLine Table Microsoft.Purchases.Document."Purchase Line"

Returns

Type Description
Boolean

IsQuantityUpdatedFromInvtPutAwayOverReceipt

procedure IsQuantityUpdatedFromInvtPutAwayOverReceipt(PurchaseLine: Record "Purchase Line"): Boolean

Parameters

Name Type Description
PurchaseLine Table Microsoft.Purchases.Document."Purchase Line"

Returns

Type Description
Boolean

UpdatePurchaseLineOverReceiptQuantityFromWarehouseReceiptLine

procedure UpdatePurchaseLineOverReceiptQuantityFromWarehouseReceiptLine(WarehouseReceiptLine: Record "Warehouse Receipt Line")

Parameters

Name Type Description
WarehouseReceiptLine Table Microsoft.Warehouse.Document."Warehouse Receipt Line"

UpdatePurchaseLineOverReceiptQuantityFromWarehouseActivityLine

procedure UpdatePurchaseLineOverReceiptQuantityFromWarehouseActivityLine(WarehouseActivityLine: Record "Warehouse Activity Line")

Parameters

Name Type Description
WarehouseActivityLine Table Microsoft.Warehouse.Activity."Warehouse Activity Line"

VerifyOverReceiptQuantity

procedure VerifyOverReceiptQuantity(PurchaseLine: Record "Purchase Line", xPurchaseLine: Record "Purchase Line")

Parameters

Name Type Description
PurchaseLine Table Microsoft.Purchases.Document."Purchase Line"
xPurchaseLine Table Microsoft.Purchases.Document."Purchase Line"

GetDefaultOverReceiptCode

procedure GetDefaultOverReceiptCode(PurchaseLine: Record "Purchase Line"): Code[20]

Parameters

Name Type Description
PurchaseLine Table Microsoft.Purchases.Document."Purchase Line"

Returns

Type Description
Code[20]

RecallOverReceiptNotification

procedure RecallOverReceiptNotification(PurchaseHeaderRecordId: RecordId)

Parameters

Name Type Description
PurchaseHeaderRecordId RecordId

ShowOverReceiptNotificationFromLine

procedure ShowOverReceiptNotificationFromLine(DocumentNo: Code[20])

Parameters

Name Type Description
DocumentNo Code[20]

ShowOverReceiptNotificationFromOrder

procedure ShowOverReceiptNotificationFromOrder(DocumentNo: Code[20])

Parameters

Name Type Description
DocumentNo Code[20]

Events

OnBeforeVerifyOverReceiptQuantity

[IntegrationEvent(False,False)]
local procedure OnBeforeVerifyOverReceiptQuantity(PurchaseLine: Record "Purchase Line", xPurchaseLine: Record "Purchase Line", var IsHandled: Boolean)

Parameters

Name Type Description
PurchaseLine Table Microsoft.Purchases.Document."Purchase Line"
xPurchaseLine Table Microsoft.Purchases.Document."Purchase Line"
IsHandled Boolean

OnIsOverReceiptAllowed

[IntegrationEvent(False,False)]
local procedure OnIsOverReceiptAllowed(var OverReceiptAllowed: Boolean)

Parameters

Name Type Description
OverReceiptAllowed Boolean

OnGetDefaultOverReceiptCode

[IntegrationEvent(False,False)]
local procedure OnGetDefaultOverReceiptCode(PurchaseLine: Record "Purchase Line", var DefaultOverReceipCode: Code[20], var IsHandled: Boolean)

Parameters

Name Type Description
PurchaseLine Table Microsoft.Purchases.Document."Purchase Line"
DefaultOverReceipCode Code[20]
IsHandled Boolean

OnVerifyOverReceiptQuantityOnAfterCalcShouldCallError

[IntegrationEvent(False,False)]
local procedure OnVerifyOverReceiptQuantityOnAfterCalcShouldCallError(PurchaseLine: Record "Purchase Line", OverReceiptQtyBase: Decimal, MaxOverReceiptQtyAllowed: Decimal, var ShouldCallError: Boolean)

Parameters

Name Type Description
PurchaseLine Table Microsoft.Purchases.Document."Purchase Line"
OverReceiptQtyBase Decimal
MaxOverReceiptQtyAllowed Decimal
ShouldCallError Boolean

See also