Codeunit 74 Purch.-Get Receipt
src/Layers/W1/BaseApp/Purchases/Document/PurchGetReceipt.Codeunit.al21 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT
OnRun line 17, trigger
- 19callsCheckHeader
- 27raisesOnAfterPurchRcptLineSetFilters
- 31callsPage 5709 Get Receipt Lines SetPurchHeader
CreateInvLines line 50
- 59raisesOnBeforeCreateInvLinesIsHandled
- 61writesTable 39 Purchase Line DeleteAll
- 64raisesOnCreateInvLinesOnBeforeFind
- 72raisesOnBeforeInsertLines
- 76raisesOnCreateInvLinesOnBeforeInsertLineIterationIsHandled
- 90raisesOnCreateInvLinesOnAfterCalcShowNotSameVendorsMessage
- 99raisesOnBeforeTransferLineToPurchaseDoc
- 101callsInsertInvoiceLineFromReceiptLine
- 107callsUpdateItemChargeLines
- 109callsAdjustPrepmtAmtToDeductRoundingOrderLineWise
- 113raisesOnAfterInsertLines
- 115callsCalcInvoiceDiscount
- 116raisesOnAfterCalcInvoiceDiscount
- 119callsAdjustPrepmtAmtToDeductRounding
- 120callsCopyDocumentAttachments
- 124raisesOnAfterCreateInvLines
CheckHeader line 127, local
- 132raisesOnBeforeCheckHeaderIsHandled
- 138callsTable 38 Purchase Header TestStatusOpen
InsertInvoiceLineFromReceiptLine line 141, local
- 146raisesOnBeforeInsertInvoiceLineFromReceiptLineIsHandled
- 152callsCheckPurchRcptLineVATBusPostingGroup
- 153raisesOnInsertInvoiceLineFromReceiptLineOnBeforeInsertInvLine
- 154callsTable 121 Purch. Rcpt. Line InsertInvLineFromRcptLine
- 155raisesOnInsertInvoiceLineFromRcptLineOnBeforeCalcUpdatePrepmtAmt
- 156callsCalcUpdatePrepmtAmtToDeductRounding
- 157callsCopyDocumentAttachments
- 159raisesOnAfterInsertInvoiceLineFromReceiptLine
SetPurchHeader line 162
- 167raisesOnBeforeSetPurchHeaderIsHandled
UpdateItemChargeLines line 175, local
GetItemChargeAssgnt line 194
- 201raisesOnBeforeGetItemChargeAssgntIsHandled
- 215callsCopyItemChargeAssgnt
CopyItemChargeAssgnt line 219, local
- 237callsCodeunit 5402 Unit of Measure Management QtyRndPrecision
- 238validatesTable 5805 Item Charge Assignment (Purch) Qty. to Handle
- 253callsGetQtyAssignedInNewLine
- 263validatesTable 5805 Item Charge Assignment (Purch) Unit Cost
- 265callsGetItemChargeAssgntCurrency
- 273callsGetItemChargeAssgntCurrency
- 284callsSetReceiptPurchLineFilters
- 290raisesOnCopyItemChargeAssgntOnBeforeFindPurchLine2
- 292raisesOnCopyItemChargeAssgntOnAfterFindPurchLine2
- 303writesTable 5805 Item Charge Assignment (Purch) Insert
CalcInvoiceDiscount line 347, local
- 354callsCodeunit 70 Purch.-Calc.Discount CalculateInvoiceDiscountOnLine
CalcUpdatePrepmtAmtToDeductRounding line 357, local
- 365raisesOnBeforeCalcUpdatePrepmtAmtToDeductRoundingIsHandled
- 378callsInsertTempPurchaseLine
AdjustPrepmtAmtToDeductRounding line 384, local
- 388writesTable 39 Purchase Line Modify
CheckPurchRcptLineVATBusPostingGroup line 392, local
- 397raisesOnBeforeTestPurchRcptLineVATBusPostingGroupIsHandled
GetPurchOrderInvoices line 404
- 410writesTable 122 Purch. Inv. Header DeleteAll
- 419writesTable 122 Purch. Inv. Header Insert
CopyDocumentAttachments line 423, local
- 430callsAnyLineHasAttachments
- 435callsCodeunit 1173 Document Attachment Mgmt CopyAttachments
CopyDocumentAttachments line 438, local
- 446raisesOnBeforeCopyDocumentAttachmentsIsHandled
- 453callsOrderHasAttachments
- 455callsCodeunit 1173 Document Attachment Mgmt CopyAttachments
InsertTempPurchaseLine line 481, local
- 488writesTable 39 Purchase Line Insert
- 493writesTable 39 Purchase Line Modify
AdjustPrepmtAmtToDeductRoundingOrderLineWise line 497, local
GetItemChargeAssgntCurrency line 515, local
- 521callsTable 4 Currency InitRoundingPrecision