Table 112 Sales Invoice Header in 23

App
Base Application
Namespace
Microsoft.Sales.History

Fields, 133Keys, 13Procedures, 32Events, 15

Versions171819202122232425262728latest

Source29

Fields, 133

IdNameTypeObsolete
2Sell-to Customer No.Code[20]-
3No.Code[20]-
4Bill-to Customer No.Code[20]-
5Bill-to NameText[100]-
6Bill-to Name 2Text[50]-
7Bill-to AddressText[100]-
8Bill-to Address 2Text[50]-
9Bill-to CityText[30]-
10Bill-to ContactText[100]-
11Your ReferenceText[35]-
12Ship-to CodeCode[10]-
13Ship-to NameText[100]-
14Ship-to Name 2Text[50]-
15Ship-to AddressText[100]-
16Ship-to Address 2Text[50]-
17Ship-to CityText[30]-
18Ship-to ContactText[100]-
19Order DateDate-
20Posting DateDate-
21Shipment DateDate-
22Posting DescriptionText[100]-
23Payment Terms CodeCode[10]-
24Due DateDate-
25Payment Discount %Decimal-
26Pmt. Discount DateDate-
27Shipment Method CodeCode[10]-
28Location CodeCode[10]-
29Shortcut Dimension 1 CodeCode[20]-
30Shortcut Dimension 2 CodeCode[20]-
31Customer Posting GroupCode[20]-
32Currency CodeCode[10]-
33Currency FactorDecimal-
34Customer Price GroupCode[10]-
35Prices Including VATBoolean-
37Invoice Disc. CodeCode[20]-
40Customer Disc. GroupCode[20]-
41Language CodeCode[10]-
42Format RegionText[80]-
43Salesperson CodeCode[20]-
44Order No.Code[20]-
46CommentBoolean-
47No. PrintedInteger-
51On HoldCode[3]-
52Applies-to Doc. TypeEnum Gen. Journal Document Type-
53Applies-to Doc. No.Code[20]-
55Bal. Account No.Code[20]-
60AmountDecimal-
61Amount Including VATDecimal-
70VAT Registration No.Text[20]-
73Reason CodeCode[10]-
74Gen. Bus. Posting GroupCode[20]-
75EU 3-Party TradeBoolean-
76Transaction TypeCode[10]-
77Transport MethodCode[10]-
78VAT Country/Region CodeCode[10]-
79Sell-to Customer NameText[100]-
80Sell-to Customer Name 2Text[50]-
81Sell-to AddressText[100]-
82Sell-to Address 2Text[50]-
83Sell-to CityText[30]-
84Sell-to ContactText[100]-
85Bill-to Post CodeCode[20]-
86Bill-to CountyText[30]-
87Bill-to Country/Region CodeCode[10]-
88Sell-to Post CodeCode[20]-
89Sell-to CountyText[30]-
90Sell-to Country/Region CodeCode[10]-
91Ship-to Post CodeCode[20]-
92Ship-to CountyText[30]-
93Ship-to Country/Region CodeCode[10]-
94Bal. Account TypeEnum Payment Balance Account Type-
97Exit PointCode[10]-
98CorrectionBoolean-
99Document DateDate-
100External Document No.Code[35]-
101AreaCode[10]-
102Transaction SpecificationCode[10]-
104Payment Method CodeCode[10]-
105Shipping Agent CodeCode[10]-
106Package Tracking No.Text[30]-
107Pre-Assigned No. SeriesCode[20]-
108No. SeriesCode[20]-
110Order No. SeriesCode[20]-
111Pre-Assigned No.Code[20]-
112User IDCode[50]-
113Source CodeCode[10]-
114Tax Area CodeCode[20]-
115Tax LiableBoolean-
116VAT Bus. Posting GroupCode[20]-
119VAT Base Discount %Decimal-
121Invoice Discount CalculationOption-
122Invoice Discount ValueDecimal-
131Prepayment No. SeriesCode[20]-
136Prepayment InvoiceBoolean-
137Prepayment Order No.Code[20]-
151Quote No.Code[20]-
163Company Bank Account CodeCode[20]-
166Last Email Sent TimeDateTimePending 21.0
Microsoft Invoicing has been discontinued.
167Last Email Sent StatusOptionPending 21.0
Microsoft Invoicing has been discontinued.
168Sent as EmailBooleanPending 21.0
Microsoft Invoicing has been discontinued.
169Last Email Notif ClearedBooleanPending 21.0
Microsoft Invoicing has been discontinued.
171Sell-to Phone No.Text[30]-
172Sell-to E-MailText[80]-
176Payment InstructionsBlobRemoved 22.0
Microsoft Invoicing is not supported in Business Central
177Payment Instructions NameText[20]Removed 22.0
Microsoft Invoicing is not supported in Business Central
179VAT Reporting DateDate-
180Payment ReferenceCode[50]-
200Work DescriptionBlob-
480Dimension Set IDInteger-
600Payment Service Set IDInteger-
710Document Exchange IdentifierText[50]-
711Document Exchange StatusEnum Sales Document Exchange Status-
712Doc. Exch. Original IdentifierText[50]-
720Coupled to CRMBooleanPending 23.0
Replaced by flow field Coupled to Dataverse
721Coupled to DataverseBoolean-
1200Direct Debit Mandate IDCode[35]-
1302ClosedBoolean-
1303Remaining AmountDecimal-
1304Cust. Ledger Entry No.Integer-
1305Invoice Discount AmountDecimal-
1310CancelledBoolean-
1311CorrectiveBoolean-
1312ReversedBoolean-
5050Campaign No.Code[20]-
5052Sell-to Contact No.Code[20]-
5053Bill-to Contact No.Code[20]-
5055Opportunity No.Code[20]-
5700Responsibility CenterCode[10]-
7000Price Calculation MethodEnum Price Calculation Method-
7001Allow Line Disc.Boolean-
7200Get Shipment UsedBoolean-
8000IdGuidRemoved 22.0
This functionality will be replaced by the systemID field
8001Draft Invoice SystemIdGuid-

Keys, 13

NameFieldsObsolete
Key1, clusteredNo.-
Key2Order No.-
Key3Pre-Assigned No.-
Key4Sell-to Customer No., External Document No.-
Key5Sell-to Customer No., Order Date-
Key6Sell-to Customer No.-
Key7Prepayment Order No., Prepayment Invoice-
Key8Bill-to Customer No.-
Key9Posting Date-
Key10Document Exchange Status-
Key11Due Date-
Key12Salesperson Code-
Key13SystemModifiedAt-

Procedures, 32

NameParametersReturnsAccessObsolete
IsFullyOpen()Booleanpublic-
SendRecords()public-
SendProfile(var Record Document Sending Profile)public-
PrintRecords(Boolean)public-
PrintToDocumentAttachment(var Record Sales Invoice Header)public-
EmailRecords(Boolean)public-
GetDocTypeTxt()Text[50]public-
Navigate()public-
LookupAdjmtValueEntries()public-
GetCustomerVATRegistrationNumber()Textpublic-
GetCustomerVATRegistrationNumberLbl()Textpublic-
GetCustomerGlobalLocationNumber()Textpublic-
GetCustomerGlobalLocationNumberLbl()Textpublic-
GetSellToCustomerFaxNo()Textpublic-
GetPaymentReference()Textpublic-
GetPaymentReferenceLbl()Textpublic-
GetLegalStatement()Textpublic-
GetRemainingAmount()Decimalpublic-
ShowDimensions()public-
SetSecurityFilterOnRespCenter()public-
GetDocExchStatusStyle()Textpublic-
ShowActivityLog()public-
StartTrackingSite()public-
GetSelectedPaymentsText()Textpublic-
GetWorkDescription()Textpublic-
GetCurrencySymbol()Text[10]public-
DocExchangeStatusIsSent()Booleanpublic-
ShowCanceledOrCorrCrMemo()public-
ShowCorrectiveCreditMemo()public-
ShowCancelledCreditMemo()public-
GetDefaultEmailDocumentName()Text[150]public-
CheckNoPrinted()public-

Events, 15

KindNameParametersObsolete
Integration eventOnBeforePrintRecords(var Record Report Selections, var Record Sales Invoice Header, Boolean, var Boolean)-
Integration eventOnBeforeSendProfile(var Record Report Selections, var Record Sales Invoice Header, Text, var Boolean, var Record Document Sending Profile)-
Integration eventOnBeforeSendRecords(var Record Report Selections, var Record Sales Invoice Header, Text, var Boolean)-
Integration eventOnBeforeShowCanceledOrCorrCrMemo(var Record Sales Invoice Header, var Boolean)-
Integration eventOnBeforeShowCorrectiveCreditMemo(var Record Sales Invoice Header, var Boolean)-
Integration eventOnBeforeShowCancelledCreditMemo(var Record Sales Invoice Header, var Boolean)-
Integration eventOnGetPaymentReference(var Text)-
Integration eventOnGetPaymentReferenceLbl(var Text)-
Integration eventOnLookupAppliesToDocNoOnAfterSetFilters(var Record Cust. Ledger Entry, Record Sales Invoice Header)-
Integration eventOnBeforeDoPrintToDocumentAttachment(var Record Sales Invoice Header, var Boolean, var Boolean)-
Integration eventOnBeforeSetSecurityFilterOnRespCenter(var Record Sales Invoice Header, var Boolean)-
Integration eventOnBeforeCheckNoPrinted(var Record Sales Invoice Header, var Boolean)-
Integration eventOnBeforeEmailRecords(var Record Report Selections, var Record Sales Invoice Header, Text, var Boolean, var Boolean)-
Integration eventOnPostedSalesInvoiceFullyOpen(var Record Sales Invoice Header, var Boolean, var Boolean)-
Integration eventOnBeforeGetWorkDescription(var Record Sales Invoice Header)-