Source AL, 2,063 lines
src/Layers/W1/BaseApp/Purchases/Posting/PurchasePostPrepayments.Codeunit.allines 34 to 49 of 2,063, Copyright (c) Microsoft Corporation. MIT
codeunit 444 "Purchase-Post Prepayments"{ Permissions = TableData "Purchase Line" = rimd, TableData "G/L Register" = rimd, TableData "Vendor Posting Group" = rimd, TableData "Inventory Posting Group" = rimd, TableData "Purch. Inv. Header" = rimd, TableData "Purch. Inv. Line" = rimd, TableData "Purch. Cr. Memo Hdr." = rimd, TableData "Purch. Cr. Memo Line" = rimd; TableNo = "Purchase Header"; trigger OnRun() var SequenceNoMgt: Codeunit "Sequence No. Mgt."; begin
All 2,063 lines
Events 61 in 29
| [IntegrationEvent] OnAfterApplyFilter(var PurchaseLine: Record "Purchase Line"; PurchaseHeader: Record "Purchase Header"; DocumentType: Option) | 17-29 |
| [IntegrationEvent] OnAfterCalcVATAmountLines(PurchaseHeader: Record "Purchase Header"; var PurchaseLine: Record "Purchase Line"; var VATAmountLine: Record "VAT Amount Line"; DocumentType: Option Invoice,"Credit Memo",Statistic) | 17-29 |
| [IntegrationEvent] OnAfterCreateLinesOnBeforeGLPosting(var PurchaseHeader: Record "Purchase Header"; PurchInvHeader: Record "Purch. Inv. Header"; PurchCrMemoHeader: Record "Purch. Cr. Memo Hdr."; var TempPrepmtInvLineBuffer: Record "Prepayment Inv. Line Buffer" temporary; DocumentType: Option; var LastLineNo: Integer) | 17-29 |
| [IntegrationEvent] OnAfterInsertInvoiceRounding(PurchaseHeader: Record "Purchase Header"; var PrepmtInvLineBuffer: Record "Prepayment Inv. Line Buffer"; var TotalPrepmtInvLineBuf: Record "Prepayment Inv. Line Buffer"; var PrevLineNo: Integer) | 17-29 |
| [IntegrationEvent] OnAfterPostPrepayments(var PurchHeader: Record "Purchase Header"; DocumentType: Option Invoice,"Credit Memo"; CommitIsSuppressed: Boolean; var PurchInvHeader: Record "Purch. Inv. Header"; var PurchCrMemoHdr: Record "Purch. Cr. Memo Hdr.") | 17-29 |
| [IntegrationEvent] OnAfterPostBalancingEntry(var GenJnlLine: Record "Gen. Journal Line"; VendLedgEntry: Record "Vendor Ledger Entry"; TotalPrepmtInvLineBuffer: Record "Prepayment Inv. Line Buffer"; TotalPrepmtInvLineBufferLCY: Record "Prepayment Inv. Line Buffer"; CommitIsSupressed: Boolean) | 17-29 |
| [IntegrationEvent] OnAfterPostVendorEntry(var GenJnlLine: Record "Gen. Journal Line"; TotalPrepmtInvLineBuffer: Record "Prepayment Inv. Line Buffer"; TotalPrepmtInvLineBufferLCY: Record "Prepayment Inv. Line Buffer"; CommitIsSupressed: Boolean) | 17-29 |
All 68 events in 17-29
Public procedures 20 in 29
| SetDocumentType(DocumentType: Option , ,Invoice,"Credit Memo") | 17-29 |
| Invoice(var PurchHeader: Record "Purchase Header") | 17-29 |
| CreditMemo(var PurchHeader: Record "Purchase Header") | 17-29 |
| CheckPrepmtDoc(PurchHeader: Record "Purchase Header"; DocumentType: Option Invoice,"Credit Memo") | 17-29 |
| CheckOpenPrepaymentLines(PurchHeader: Record "Purchase Header"; DocumentType: Option): Boolean | 17-29 |
| GetCorrBalAccNo(PurchHeader: Record "Purchase Header"; PositiveAmount: Boolean): Code[20] | 17-29 |
All 20 procedures
Changes 3 in 28
| [IntegrationEvent] OnCodeOnAfterUpdateHeaderAndLines(var PurchaseHeader: Record "Purchase Header"; var PurchInvHeader: Record "Purch. Inv. Header"; var PurchCrMemoHdr: Record "Purch. Cr. Memo Hdr."; var GenJnlPostLine: Codeunit "Gen. Jnl.-Post Line"; PreviewMode: Boolean) | 21 to 27 |
| gone |
| [IntegrationEvent] OnUpdatePurchaseDocumentOnBeforeFindSetCrMemoPurchLine(PurchaseHeader: Record "Purchase Header"; var PurchaseLine: Record "Purchase Line") | new in 28 |
| added |
| [IntegrationEvent] OnCodeOnAfterUpdateHeaderAndLines(var PurchaseHeader: Record "Purchase Header"; var PurchInvHeader: Record "Purch. Inv. Header"; var PurchCrMemoHdr: Record "Purch. Cr. Memo Hdr."; var GenJnlPostLine: Codeunit "Gen. Jnl.-Post Line"; DocumentType: Option Invoice,"Credit Memo"; PreviewMode: Boolean) | new in 28 |
| added |
All 37 changes in 17-29