{"title":"Table 5475 Sales Invoice Entity Aggregate, extension points 29","url":"https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/points/","author":"JOP-AL","license":"Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/","subject":"Microsoft Dynamics 365 Business Central","checked":"2026-11-20","changed":"2026-10-05","object":{"type":"table","id":5475,"name":"Sales Invoice Entity Aggregate","app":"Base Application","url":"https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/source/","path":"src/Layers/W1/BaseApp/Integration/Entity/SalesInvoiceEntityAggregate.Table.al","commit":"4303e5e584d3aa5d9e98cbc615525a5396ad6ed7","lines":"a line is <source url>#L<line>"},"steps":{"event":"[line, \"event\", name, handled]: raises an event of this object; handled 1 when it has an IsHandled parameter","call":"[line, \"call\", name, arguments]: calls a procedure of this object","ext":"[line, \"ext\", type, id, name, arguments]: calls a procedure of another object, through a variable declared with that type","write":"[line, \"write\", table id, method, 1 when called with true]: Insert, Modify, ModifyAll, Delete, DeleteAll or Rename","validate":"[line, \"validate\", table id, field name]","run":"[line, \"run\", type, id]: Codeunit.Run, Page.Run, Report.Run and their kin"},"objects":{"table:5475":{"name":"Sales Invoice Entity Aggregate","url":"https://jonas-paprotka.de/ref/table/5475-sales-invoice-entity-aggregate/"},"table:98":{"name":"General Ledger Setup","url":"https://jonas-paprotka.de/ref/table/98-general-ledger-setup/"}},"procs":[{"name":"Sell-to Customer No..OnValidate","line":43,"kind":"trigger","steps":[[45,"call","UpdateSellToCustomerId",0]]},{"name":"Bill-to Customer No..OnValidate","line":60,"kind":"trigger","steps":[[62,"call","UpdateBillToCustomerId",0]]},{"name":"Payment Terms Code.OnValidate","line":146,"kind":"trigger","steps":[[148,"call","UpdatePaymentTermsId",0]]},{"name":"Shipment Method Code.OnValidate","line":162,"kind":"trigger","steps":[[164,"call","UpdateShipmentMethodId",0]]},{"name":"Currency Code.OnValidate","line":189,"kind":"trigger","steps":[[191,"call","UpdateCurrencyId",0]]},{"name":"Order No..OnValidate","line":211,"kind":"trigger","steps":[[213,"call","UpdateOrderId",0]]},{"name":"Document Date.OnValidate","line":341,"kind":"trigger","steps":[[343,"validate",5475,"Posting Date"]]},{"name":"Tax Area Code.OnValidate","line":358,"kind":"trigger","steps":[[360,"call","IsUsingVAT",0]]},{"name":"VAT Bus. Posting Group.OnValidate","line":375,"kind":"trigger","steps":[[377,"call","IsUsingVAT",0]]},{"name":"Dispute Status.OnValidate","line":435,"kind":"trigger","steps":[[437,"call","UpdateDisputeStatusId",0]]},{"name":"Dispute Status Id.OnValidate","line":460,"kind":"trigger","steps":[[462,"call","UpdateDisputeStatus",0]]},{"name":"Customer Id.OnValidate","line":507,"kind":"trigger","steps":[[509,"call","UpdateSellToCustomerNo",0]]},{"name":"Order Id.OnValidate","line":517,"kind":"trigger","steps":[[519,"call","UpdateOrderNo",0]]},{"name":"Currency Id.OnValidate","line":533,"kind":"trigger","steps":[[535,"call","UpdateCurrencyCode",0]]},{"name":"Payment Terms Id.OnValidate","line":544,"kind":"trigger","steps":[[546,"call","UpdatePaymentTermsCode",0]]},{"name":"Shipment Method Id.OnValidate","line":555,"kind":"trigger","steps":[[557,"call","UpdateShipmentMethodCode",0]]},{"name":"Tax Area ID.OnValidate","line":565,"kind":"trigger","steps":[[567,"call","IsUsingVAT",0],[568,"call","UpdateVATBusinessPostingGroupCode",0],[570,"call","UpdateTaxAreaCode",0]]},{"name":"Bill-to Customer Id.OnValidate","line":579,"kind":"trigger","steps":[[581,"call","UpdateBillToCustomerNo",0]]},{"name":"OnInsert","line":608,"kind":"trigger","steps":[[611,"call","UpdateReferencedRecordIds",0]]},{"name":"OnModify","line":614,"kind":"trigger","steps":[[617,"call","UpdateReferencedRecordIds",0]]},{"name":"OnRename","line":620,"kind":"trigger","steps":[[629,"call","UpdateReferencedRecordIds",0]]},{"name":"UpdateDisputeStatus","line":722,"kind":"procedure","params":0,"steps":[[728,"validate",5475,"Dispute Status"]]},{"name":"UpdateSellToCustomerNo","line":746,"kind":"procedure","access":"local","params":0,"steps":[[753,"validate",5475,"Sell-to Customer No."]]},{"name":"UpdateBillToCustomerNo","line":756,"kind":"procedure","access":"local","params":0,"steps":[[763,"validate",5475,"Bill-to Customer No."]]},{"name":"UpdateOrderNo","line":766,"kind":"procedure","access":"local","params":0,"steps":[[771,"validate",5475,"Order No."],[782,"validate",5475,"Order No."]]},{"name":"UpdateCurrencyCode","line":785,"kind":"procedure","access":"local","params":0,"steps":[[792,"validate",5475,"Currency Code"]]},{"name":"UpdatePaymentTermsCode","line":795,"kind":"procedure","access":"local","params":0,"steps":[[802,"validate",5475,"Payment Terms Code"]]},{"name":"UpdateShipmentMethodCode","line":805,"kind":"procedure","access":"local","params":0,"steps":[[812,"validate",5475,"Shipment Method Code"]]},{"name":"UpdateReferencedRecordIds","line":815,"kind":"procedure","params":0,"steps":[[817,"call","UpdateSellToCustomerId",0],[818,"call","UpdateBillToCustomerId",0],[819,"call","UpdateCurrencyId",0],[820,"call","UpdatePaymentTermsId",0],[821,"call","UpdateShipmentMethodId",0],[822,"call","UpdateDisputeStatusId",0],[825,"call","UpdateOrderId",0],[827,"call","UpdateTaxAreaId",0]]},{"name":"UpdateTaxAreaId","line":830,"kind":"procedure","access":"local","params":0,"steps":[[835,"call","IsUsingVAT",0]]},{"name":"UpdateTaxAreaCode","line":859,"kind":"procedure","access":"local","params":0,"steps":[[865,"validate",5475,"Tax Area Code"]]},{"name":"UpdateVATBusinessPostingGroupCode","line":872,"kind":"procedure","access":"local","params":0,"steps":[[878,"validate",5475,"VAT Bus. Posting Group"]]},{"name":"IsUsingVAT","line":885,"kind":"procedure","params":0,"steps":[[889,"ext","table",98,"UseVat",0]]},{"name":"GetParentRecordNativeInvoicing","line":902,"kind":"procedure","params":2,"steps":[[906,"call","GetParentRecord",2]]}]}