Codeunit 444 Purchase-Post Prepayments in 22
- App
- Base Application
Versions171819202122232425262728latest
Source29
Procedures, 20
| Name | Parameters | Returns | Access | Obsolete |
|---|---|---|---|---|
| SetDocumentType | (Option) | public | - | |
| Invoice | (var Record Purchase Header) | public | - | |
| CreditMemo | (var Record Purchase Header) | public | - | |
| CheckPrepmtDoc | (Record Purchase Header, Option) | public | - | |
| CheckOpenPrepaymentLines | (Record Purchase Header, Option) | Boolean | public | - |
| GetCorrBalAccNo | (Record Purchase Header, Boolean) | Code[20] | public | - |
| GetInvRoundingAccNo | (Code[20]) | Code[20] | public | - |
| UpdateVATOnLines | (Record Purchase Header, var Record Purchase Line, var Record VAT Amount Line, Option) | public | - | |
| CalcVATAmountLines | (var Record Purchase Header, var Record Purchase Line, var Record VAT Amount Line, Option) | public | - | |
| SumPrepmt | (Record Purchase Header, var Record Purchase Line, var Record VAT Amount Line, var Decimal, var Decimal, var Text[30]) | public | - | |
| GetPurchLines | (Record Purchase Header, Option, var Record Purchase Line) | public | - | |
| BuildInvLineBuffer | (Record Purchase Header, var Record Purchase Line, Option, var Record Prepayment Inv. Line Buffer) | public | - | |
| FillInvLineBuffer | (Record Purchase Header, Record Purchase Line, var Record Prepayment Inv. Line Buffer) | public | - | |
| PrepmtAmount | (Record Purchase Line, Option) | Decimal | public | - |
| UpdatePrepmtAmountOnPurchLines | (Record Purchase Header, Decimal) | public | - | |
| GetPurchLinesToDeduct | (Record Purchase Header, var Record Purchase Line) | public | - | |
| GetPreviewMode | () | Boolean | public | - |
| GetSuppressCommit | () | Boolean | public | - |
| SetSuppressCommit | (Boolean) | public | - | |
| SetPreviewMode | (Boolean) | public | - |
Events, 54
| Kind | Name | Parameters | Obsolete | ||||
|---|---|---|---|---|---|---|---|
| Integration event | OnAfterApplyFilter | (var Record Purchase Line, Record Purchase Header, Option) | - | ||||
| Integration event | OnAfterCalcVATAmountLines | (Record Purchase Header, var Record Purchase Line, var Record VAT Amount Line, Option) | - | ||||
| Integration event | OnAfterCheckPrepmtDoc | (Record Purchase Header, Option) | - | ||||
| Integration event | OnAfterCreateLinesOnBeforeGLPosting | (var Record Purchase Header, Record Purch. Inv. Header, Record Purch. Cr. Memo Hdr., var Record Prepayment Inv. Line Buffer, Option, var Integer) | - | ||||
| Integration event | OnAfterInsertInvoiceRounding | (Record Purchase Header, var Record Prepayment Inv. Line Buffer, var Record Prepayment Inv. Line Buffer, var Integer) | - | ||||
| Integration event | OnAfterPostPrepayments | (var Record Purchase Header, Option, Boolean, var Record Purch. Inv. Header, var Record Purch. Cr. Memo Hdr.) | - | ||||
| Integration event | OnAfterPostPrepaymentsOnBeforeThrowPreviewModeError | (var Record Purchase Header, var Record Purch. Inv. Header, var Record Purch. Cr. Memo Hdr., var Codeunit Gen. Jnl.-Post Line) | Pending 20.0 | ||||
| Event is never raised. | |||||||
| Integration event | OnAfterPostBalancingEntry | (var Record Gen. Journal Line, Record Vendor Ledger Entry, Record Prepayment Inv. Line Buffer, Record Prepayment Inv. Line Buffer, Boolean) | - | ||||
| Integration event | OnAfterPostVendorEntry | (var Record Gen. Journal Line, Record Prepayment Inv. Line Buffer, Record Prepayment Inv. Line Buffer, Boolean) | - | ||||
| Integration event | OnAfterPostPrepmtInvLineBuffer | (var Record Gen. Journal Line, Record Prepayment Inv. Line Buffer, Boolean, var Codeunit Gen. Jnl.-Post Line) | - | ||||
| Integration event | OnAfterPurchInvHeaderInsert | (var Record Purch. Inv. Header, Record Purchase Header, Boolean) | - | ||||
| Integration event | OnAfterPurchInvLineInsert | (var Record Purch. Inv. Line, Record Purch. Inv. Header, Record Prepayment Inv. Line Buffer, Boolean) | - | ||||
| Integration event | OnAfterPurchCrMemoHeaderInsert | (var Record Purch. Cr. Memo Hdr., Record Purchase Header, Boolean) | - | ||||
| Integration event | OnAfterPurchCrMemoLineInsert | (var Record Purch. Cr. Memo Line, Record Purch. Cr. Memo Hdr., Record Prepayment Inv. Line Buffer, Boolean) | - | ||||
| Integration event | OnAfterRoundAmounts | (Record Purchase Header, var Record Prepayment Inv. Line Buffer, var Record Prepayment Inv. Line Buffer, var Record Prepayment Inv. Line Buffer) | - | ||||
| Integration event | OnAfterUpdatePostedPurchDocument | (Option, Code[20], Boolean) | - | ||||
| Integration event | OnAfterUpdateVATOnLines | (Record Purchase Header, var Record Purchase Line, Record VAT Amount Line, Option) | - | ||||
| Integration event | OnBeforeCheckPrepmtDoc | (Record Purchase Header, Option) | - | ||||
| Integration event | OnBeforeInvoice | (var Record Purchase Header, var Boolean) | - | ||||
| Integration event | OnBeforeCreditMemo | (var Record Purchase Header, var Boolean) | - | ||||
| Integration event | OnBeforePostPrepayments | (var Record Purchase Header, Option, Boolean) | - | ||||
| Integration event | OnBeforePostVendorEntryProcedure | (var Record Purchase Header, Record Prepayment Inv. Line Buffer, Record Prepayment Inv. Line Buffer, Option, Text[100], Enum Gen. Journal Document Type, Code[20], Text[35], Code[10], Code[20], Boolean, var Codeunit Gen. Jnl.-Post Line, var Boolean) | - | ||||
| Integration event | OnBeforePurchInvHeaderInsert | (var Record Purch. Inv. Header, Record Purchase Header, Boolean) | - | ||||
| Integration event | OnBeforePurchInvLineInsert | (var Record Purch. Inv. Line, Record Purch. Inv. Header, Record Prepayment Inv. Line Buffer, Boolean) | - | ||||
| Integration event | OnBeforePurchCrMemoHeaderInsert | (var Record Purch. Cr. Memo Hdr., Record Purchase Header, Boolean) | - | ||||
| Integration event | OnBeforePurchCrMemoLineInsert | (var Record Purch. Cr. Memo Line, Record Purch. Cr. Memo Hdr., Record Prepayment Inv. Line Buffer, Boolean) | - | ||||
| Integration event | OnBeforePostBalancingEntry | (var Record Gen. Journal Line, Record Vendor Ledger Entry, Record Prepayment Inv. Line Buffer, Record Prepayment Inv. Line Buffer, Boolean) | - | ||||
| Integration event | OnBeforePostPrepmtInvLineBuffer | (var Record Gen. Journal Line, Record Prepayment Inv. Line Buffer, Boolean) | - | ||||
| Integration event | OnBeforeSetStatusPendingPrepayment | (var Record Purchase Header, var Boolean) | - | ||||
| Integration event | OnBeforeUpdateDocNos | (var Record Purchase Header, Option, var Code[20], var Code[20], var Boolean, var Boolean, var Boolean) | - | ||||
| Integration event | OnPostVendorEntryOnAfterInitNewLine | (var Record Gen. Journal Line, Record Purchase Header) | - | ||||
| Integration event | OnRoundAmountsOnBeforeIncrAmoutns | (Record Purchase Header, var Record Prepayment Inv. Line Buffer, var Record Prepayment Inv. Line Buffer, var Record Prepayment Inv. Line Buffer) | - | ||||
| Integration event | OnUpdatePurchaseDocumentOnBeforeModifyCrMemoPurchLine | (var Record Purchase Line) | - | ||||
| Integration event | OnUpdatePurchaseDocumentOnBeforeModifyInvoicePurchLine | (var Record Purchase Line) | - | ||||
| Integration event | OnUpdateVATOnLinesOnAfterGetRemainder | (var Record VAT Amount Line, var Boolean) | - | ||||
| Integration event | OnUpdateVATOnLinesOnAfterVATAmountLineGet | (var Record VAT Amount Line) | - | ||||
| Integration event | OnUpdateVATOnLinesOnBeforePurchLineModify | (Record Purchase Header, var Record Purchase Line, var Record VAT Amount Line, Decimal, Decimal, Decimal) | - | ||||
| Integration event | OnAfterCreateDimensions | (var Record Purchase Line, Integer, Code[20]) | Pending 20.0 | ||||
| Temporary event for compatibility | |||||||
| Integration event | OnBeforeCreateLinesFromBuffer | (var Record Purchase Header, var Record Prepayment Inv. Line Buffer, var Integer, var Dialog, var Record Purch. Inv. Header, var Record Purch. Cr. Memo Hdr., var Integer, var Boolean, Option, var Integer) | - | ||||
| Integration event | OnBeforePurchaseAssertPrepmtAmountNotMoreThanDocAmount | (var Record Vendor Ledger Entry, Record Purchase Header, Record Purchase Line, var Boolean) | - | ||||
| Integration event | OnBeforeRunGenJnlPostLine | (var Record Gen. Journal Line) | - | ||||
| Integration event | OnBeforeUpdatePostedPurchaseDocument | (var Record Vendor Ledger Entry, var Record Purch. Inv. Header, var Record Purch. Cr. Memo Hdr., Option, var Boolean, Code[20]) | - | ||||
| Integration event | OnAfterCreateDimensionsProcedure | (var Record Purchase Line, List) | - | ||||
| Integration event | OnAfterFillInvLineBuffer | (var Record Prepayment Inv. Line Buffer, Record Purchase Line, Boolean, Record Purchase Header) | - | ||||
| Integration event | OnCodeOnBeforePostBalancingEntry | (var Record Purchase Header, var Record Prepayment Inv. Line Buffer) | - | ||||
| Integration event | OnCodeOnBeforePostVendorEntry | (var Record Purchase Header, var Record Prepayment Inv. Line Buffer) | - | ||||
| Integration event | OnCodeOnBeforeWindowOpen | (var Record Purchase Header, Option) | - | ||||
| Integration event | OnFillInvLineBufferOnAfterInit | (var Record Prepayment Inv. Line Buffer, Record Purchase Header, Record Purchase Line) | - | ||||
| Integration event | OnBeforePostVendorEntry | (var Record Gen. Journal Line, Record Prepayment Inv. Line Buffer, Record Prepayment Inv. Line Buffer, Boolean, Record Purchase Header, Option) | - | ||||
| Integration event | OnCodeOnAfterUpdateHeaderAndLines | (var Record Purchase Header, var Record Purch. Inv. Header, var Record Purch. Cr. Memo Hdr., var Codeunit Gen. Jnl.-Post Line, Boolean) | - | ||||
| Integration event | OnBeforeUpdatePrepmtAmountOnPurchLines | (Record Purchase Header, Decimal, var Boolean) | - | ||||
| Integration event | OnBeforeUpdateCrMemoDocNos | (var Record Purchase Header) | - | ||||
| Integration event | OnAfterUpdateCrMemoDocNos | (var Record Purchase Header) | - | ||||
| Integration event | OnBeforeInsertExtendedText | (Integer, Code[20], Code[20], Date, Code[10], var Integer, var Boolean) | - | ||||