Page 20042 "APIV1 - Purchase Invoices"
APIV1 · Microsoft.API.V1
Across versions
- BC23-28not present
- BC29-30present
Neighbourhood 11 connected objects and pages
APIV1 · Microsoft.API.V1 · BC29-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Caption | ‘purchaseInvoices’, Locked = true |
| Extensible | false |
| SourceTable | Purch. Inv. Entity Aggregate |
| PageType | API |
Fields on this page
Layout controls in source order, grouped by the container they sit in. Shows: the table field a control is bound to (or its expression as written); ToolTip: the control’s own, else the bound field’s (marked).
| Group | Control | Shows | ToolTip |
|---|---|---|---|
| Group | id | Id | — |
| number | No. | — | |
| invoiceDate | Document Date | — | |
| postingDate | Posting Date | — | |
| dueDate | Due Date | — | |
| vendorInvoiceNumber | Vendor Invoice No. | — | |
| vendorId | Vendor Id | — | |
| vendorNumber | Buy-from Vendor No. | — | |
| vendorName | Buy-from Vendor Name | — | |
| payToName | Pay-to Name | — | |
| payToContact | Pay-to Contact | — | |
| payToVendorId | Pay-to Vendor Id | — | |
| payToVendorNumber | Pay-to Vendor No. | — | |
| shipToName | Ship-to Name | — | |
| shipToContact | Ship-to Contact | — | |
| buyFromAddress | BuyFromPostalAddressJSONText |
Specifies the buy-from address of the Purchase Invoice. | |
| payToAddress | PayToPostalAddressJSONText |
Specifies the pay-to address of the Purchase Invoice. | |
| shipToAddress | ShipToPostalAddressJSONText |
Specifies the ship-to address of the Purchase Invoice. | |
| currencyId | Currency Id | — | |
| currencyCode | CurrencyCodeTxt |
— | |
| pricesIncludeTax | Prices Including VAT | — | |
| purchaseInvoiceLines | part Page 20047 “APIV1 - Purchase Invoice Lines” | — | |
| pdfDocument | part Page 20057 “APIV1 - PDF Document” | — | |
| discountAmount | Invoice Discount Amount | — | |
| discountAppliedBeforeTax | Discount Applied Before Tax | — | |
| totalAmountExcludingTax | Amount | — | |
| totalTaxAmount | Total Tax Amount | — | |
| totalAmountIncludingTax | Amount Including VAT | — | |
| status | Status | — | |
| lastModifiedDateTime | Last Modified Date Time | — |
Procedures
Post(var ActionContext: WebServiceActionContext)
Plus 13 local procedures.
Triggers
OnAfterGetRecord, OnDeleteRecord, OnInsertRecord, OnModifyRecord, OnNewRecord, OnOpenPage
Relations
- source table Table 5477 “Purch. Inv. Entity Aggregate”
Calls
From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.
- Codeunit 5529 “Purch. Inv. Aggregator” (8 calls:
OnAfterGetRecord → RedistributeInvoiceDiscounts,OnDeleteRecord → PropagateOnDelete,OnInsertRecord → PropagateOnInsert, …) - Codeunit 5527 “Graph Mgt - Purchase Invoice” (7 calls:
ProcessBuyFromPostalAddressOnInsert → ParseBuyFromVendorAddressFromJSON,ProcessBuyFromPostalAddressOnModify → ParseBuyFromVendorAddressFromJSON,ProcessShipToPostalAddressOnInsert → ParseShipToVendorAddressFromJSON, …) - Codeunit 1320 “Lines Instruction Mgt.” (1 call:
PostInvoice → PurchaseCheckAllLinesHaveQuantityAssigned) - Codeunit 5465 “Graph Mgt - General Tools” (1 call:
SetCalculatedFields → TranslateNAVCurrencyCodeToCurrencyCode) - Codeunit 66 “Purch - Calc Disc. By Type” (1 call:
UpdateDiscount → ApplyInvDiscBasedOnAmt)
Documented on Microsoft Learn
- (v1.0) Delete purchaseInvoices
- (v1.0) Get purchaseInvoices
- (v1.0) Get purchaseInvoice pdfDocument
- (v1.0) Update purchaseInvoices
- (v1.0) purchaseInvoices resource type
Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).
Ask your agent
Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "page", object_name: "APIV1 - Purchase Invoices"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.