Table 55 Invoice Posting Buffer

Base Application, Microsoft.Finance.ReceivablesPayables

Source AL, 978 lines

src/Layers/W1/BaseApp/Finance/ReceivablesPayables/InvoicePostingBuffer.Table.allines 34 to 49 of 978, Copyright (c) Microsoft Corporation. MIT

table 55 "Invoice Posting Buffer"{    Caption = 'Invoice Posting Buffer';    ReplicateData = false;    TableType = Temporary;    DataClassification = CustomerContent;    fields    {        /// <summary>        /// Primary key grouping identifier for consolidating similar posting entries.        /// </summary>        field(1; "Group ID"; Text[1000])        {            Caption = 'Primary Key';            DataClassification = SystemMetadata;

All 978 lines

Fields 53 in 29

1Group IDText[1000]new in 19
2TypeEnum "Invoice Posting Line Type"new in 19
3G/L AccountCode[20]new in 19
4Global Dimension 1 CodeCode[20]new in 19
5Global Dimension 2 CodeCode[20]new in 19
6Job No.Code[20]new in 19
7AmountDecimalnew in 19
8VAT AmountDecimalnew in 19
10Gen. Bus. Posting GroupCode[20]new in 19

All 53 fields

Events 18 in 29

[IntegrationEvent] OnAfterBuildPrimaryKey(var InvoicePostingBuffer: Record "Invoice Posting Buffer")new in 19
[IntegrationEvent] OnUpdateOnAfterModify(var InvoicePostingBuffer: Record "Invoice Posting Buffer"; FromInvoicePostingBuffer: Record "Invoice Posting Buffer")new in 19
[IntegrationEvent] OnAfterUpdate(var InvoicePostingBuffer: Record "Invoice Posting Buffer"; var FromInvoicePostingBuffer: Record "Invoice Posting Buffer")new in 19
[IntegrationEvent] OnBeforeCalcDiscount(var InvoicePostingBuffer: Record "Invoice Posting Buffer"; var IsHandled: Boolean)new in 19
[IntegrationEvent] OnBeforeCalcDiscountNoVAT(var InvoicePostingBuffer: Record "Invoice Posting Buffer"; var IsHandled: Boolean)new in 19
[IntegrationEvent] OnBeforeUpdate(var InvoicePostingBuffer: Record "Invoice Posting Buffer"; var FromInvoicePostingBuffer: Record "Invoice Posting Buffer")new in 19
[IntegrationEvent] OnUpdateOnBeforeModify(var InvoicePostingBuffer: Record "Invoice Posting Buffer"; FromInvoicePostingBuffer: Record "Invoice Posting Buffer")new in 19

All 22 events in 19-29

Public procedures 17 in 29

CalcDiscount(PricesInclVAT: Boolean; DiscountAmount: Decimal; DiscountAmountACY: Decimal)new in 19
SetAccount(AccountNo: Code[20]; var TotalVAT: Decimal; var TotalVATACY: Decimal; var TotalAmount: Decimal; var TotalAmountACY: Decimal)new in 19
SetAmounts(TotalVAT: Decimal; TotalVATACY: Decimal; TotalAmount: Decimal; TotalAmountACY: Decimal; VATDifference: Decimal; TotalVATBase: Decimal; TotalVATBaseACY: Decimal)new in 19
CalcDiscountNoVAT(DiscountAmount: Decimal; DiscountAmountACY: Decimal)new in 19
ReverseAmounts()new in 19
SetAmountsNoVAT(TotalAmount: Decimal; TotalAmountACY: Decimal; VATDifference: Decimal)new in 19

All 27 procedures in 19-29

Extended in Microsoft's apps by 1

tableextension 6281 "Sust. Invoice Posting Buffer"Sustainabilitynew in 28

Trigger events 10

OnBeforeInsertEvent(var Rec: Record "Invoice Posting Buffer"; RunTrigger: Boolean)
OnAfterInsertEvent(var Rec: Record "Invoice Posting Buffer"; RunTrigger: Boolean)
OnBeforeModifyEvent(var Rec: Record "Invoice Posting Buffer"; var xRec: Record "Invoice Posting Buffer"; RunTrigger: Boolean)
OnAfterModifyEvent(var Rec: Record "Invoice Posting Buffer"; var xRec: Record "Invoice Posting Buffer"; RunTrigger: Boolean)
OnBeforeDeleteEvent(var Rec: Record "Invoice Posting Buffer"; RunTrigger: Boolean)
OnAfterDeleteEvent(var Rec: Record "Invoice Posting Buffer"; RunTrigger: Boolean)
OnBeforeRenameEvent(var Rec: Record "Invoice Posting Buffer"; var xRec: Record "Invoice Posting Buffer"; RunTrigger: Boolean)
OnAfterRenameEvent(var Rec: Record "Invoice Posting Buffer"; var xRec: Record "Invoice Posting Buffer"; RunTrigger: Boolean)
OnBeforeValidateEvent(var Rec: Record "Invoice Posting Buffer"; var xRec: Record "Invoice Posting Buffer"; CurrFieldNo: Integer)
per field, ElementName: field name
OnAfterValidateEvent(var Rec: Record "Invoice Posting Buffer"; var xRec: Record "Invoice Posting Buffer"; CurrFieldNo: Integer)
per field, ElementName: field name

Changes 3 in 29

List17181920212223242526272829
Fields11612
Procedures110391
Events4714
field(147; "Spend Request No."; Code[20])new in 29
added
field(148; "Spend Request Close"; Boolean)new in 29
added
UpdateEntryDescription(CopyLineDescrToGLEntry: Boolean; LineNo: Integer; LineDescription: Text[100]; HeaderDescription: Text[100]; SetLineNo: Boolean)25 to 28
gone

All 51 changes in 19-29