Table 5477 "Purch. Inv. Entity Aggregate"
Base Application · Microsoft.Integration.Entity
Across versions
- BC23present
- BC24declaration changed
- BC251 fields added
- BC26-30unchanged
Neighbourhood 25 connected objects and pages
Base Application · Microsoft.Integration.Entity · BC23-30 · source at ea08af5e · facts from BC29
Learn documents this table through its pages: Page 30042 “APIV2 - Purchase Invoices” (6 Learn pages), Page 20042 “APIV1 - Purchase Invoices” (5).
Properties
| Property | Value |
|---|---|
| Caption | Purch. Inv. Entity Aggregate |
| DataClassification | CustomerContent |
Fields
Explanation: the field’s ToolTip in the code; without one, the ToolTip of a page control bound to the field (marked via the page); without that, its Caption (marked caption) when that differs from the name.
| No. | Name | Type | Explanation | Notes |
|---|---|---|---|---|
| 1 | Document Type | Enum “Purchase Document Type” | — | enum Enum 38 “Purchase Document Type” |
| 2 | Buy-from Vendor No. | Code[20] | — | TableRelation Table 23 “Vendor”; NotBlank |
| 3 | No. | Code[20] | — | |
| 4 | Pay-to Vendor No. | Code[20] | — | TableRelation Table 23 “Vendor”; NotBlank |
| 5 | Pay-to Name | Text[100] | — | TableRelation Vendor.Name |
| 7 | Pay-to Address | Text[100] | — | |
| 8 | Pay-to Address 2 | Text[50] | — | |
| 9 | Pay-to City | Text[30] | — | TableRelation Table 225 “Post Code” (if (“Pay-to Country/Region Code” = const(‘’)) “Post Code”.City else if (“Pay-to Country/Region Code” = filter(<> ‘’)) “Post Code”.City where(“Country/Region Code” = field(“Pay-to Country/Region Code”))) |
| 10 | Pay-to Contact | Text[100] | — | |
| 11 | Your Reference | Text[35] | — | |
| 12 | Ship-to Code | Code[10] | — | |
| 13 | Ship-to Name | Text[100] | — | |
| 15 | Ship-to Address | Text[100] | — | |
| 16 | Ship-to Address 2 | Text[50] | — | |
| 17 | Ship-to City | Text[30] | — | TableRelation Table 225 “Post Code” (if (“Ship-to Country/Region Code” = const(‘’)) “Post Code”.City else if (“Ship-to Country/Region Code” = filter(<> ‘’)) “Post Code”.City where(“Country/Region Code” = field(“Ship-to Country/Region Code”))) |
| 18 | Ship-to Contact | Text[100] | — | |
| 20 | Posting Date | Date | — | |
| 23 | Payment Terms Code | Code[10] | — | TableRelation Table 3 “Payment Terms” (Payment Terms) |
| 24 | Due Date | Date | — | |
| 27 | Shipment Method Code | Code[10] | — | TableRelation Table 10 “Shipment Method” (Shipment Method) |
| 29 | Shortcut Dimension 1 Code | Code[20] | — | TableRelation Table 349 “Dimension Value” (“Dimension Value”.Code where(“Global Dimension No.” = const(1))) |
| 30 | Shortcut Dimension 2 Code | Code[20] | — | TableRelation Table 349 “Dimension Value” (“Dimension Value”.Code where(“Global Dimension No.” = const(2))) |
| 31 | Vendor Posting Group | Code[20] | — | TableRelation Table 93 “Vendor Posting Group” (Vendor Posting Group) |
| 32 | Currency Code | Code[10] | — | TableRelation Table 4 “Currency” |
| 35 | Prices Including VAT | Boolean | — | |
| 43 | Purchaser Code | Code[20] | — | TableRelation Table 13 “Salesperson/Purchaser” (Salesperson/Purchaser) |
| 44 | Order No. | Code[20] | — | |
| 56 | Recalculate Invoice Disc. | Boolean | — | FlowField: exist(“Purchase Line” where(“Document Type” = field(“Document Type”), “Document No.” = field(“No.”), “Recalculate Invoice Disc.” = const(true))); not editable |
| 60 | Amount | Decimal | — | |
| 61 | Amount Including VAT | Decimal | — | |
| 68 | Vendor Invoice No. | Code[35] | — | |
| 79 | Buy-from Vendor Name | Text[100] | — | TableRelation Vendor.Name |
| 81 | Buy-from Address | Text[100] | — | |
| 82 | Buy-from Address 2 | Text[50] | — | |
| 83 | Buy-from City | Text[30] | — | TableRelation Table 225 “Post Code” (if (“Buy-from Country/Region Code” = const(‘’)) “Post Code”.City else if (“Buy-from Country/Region Code” = filter(<> ‘’)) “Post Code”.City where(“Country/Region Code” = field(“Buy-from Country/Region Code”))) |
| 84 | Buy-from Contact | Text[100] | — | |
| 85 | Pay-to Post Code | Code[20] | — | TableRelation Table 225 “Post Code” (if (“Pay-to Country/Region Code” = const(‘’)) “Post Code” else if (“Pay-to Country/Region Code” = filter(<> ‘’)) “Post Code” where(“Country/Region Code” = field(“Pay-to Country/Region Code”))) |
| 86 | Pay-to County | Text[30] | — | |
| 87 | Pay-to Country/Region Code | Code[10] | — | TableRelation Table 9 “Country/Region” (Country/Region) |
| 88 | Buy-from Post Code | Code[20] | — | TableRelation Table 225 “Post Code” (if (“Buy-from Country/Region Code” = const(‘’)) “Post Code” else if (“Buy-from Country/Region Code” = filter(<> ‘’)) “Post Code” where(“Country/Region Code” = field(“Buy-from Country/Region Code”))) |
| 89 | Buy-from County | Text[30] | — | |
| 90 | Buy-from Country/Region Code | Code[10] | — | TableRelation Table 9 “Country/Region” (Country/Region) |
| 91 | Ship-to Post Code | Code[20] | — | TableRelation Table 225 “Post Code” (if (“Ship-to Country/Region Code” = const(‘’)) “Post Code” else if (“Ship-to Country/Region Code” = filter(<> ‘’)) “Post Code” where(“Country/Region Code” = field(“Ship-to Country/Region Code”))) |
| 92 | Ship-to County | Text[30] | — | |
| 93 | Ship-to Country/Region Code | Code[10] | — | TableRelation Table 9 “Country/Region” (Country/Region) |
| 99 | Document Date | Date | — | DataClassification SystemMetadata |
| 210 | Ship-to Phone No. + BC25 | Text[30] | — | |
| 1304 | Vendor Ledger Entry No. | Integer | — | TableRelation Table 25 “Vendor Ledger Entry” (“Vendor Ledger Entry”.“Entry No.”) |
| 1305 | Invoice Discount Amount | Decimal | — | |
| 5052 | Buy-from Contact No. | Code[20] | — | TableRelation Table 5050 “Contact” |
| 8000 | Id | Guid | — | DataClassification SystemMetadata |
| 9600 | Total Tax Amount | Decimal | — | |
| 9601 | Status | Enum “Invoice Entity Aggregate Status” | — | enum Enum 5477 “Invoice Entity Aggregate Status” |
| 9602 | Posted | Boolean | — | |
| 9624 | Discount Applied Before Tax | Boolean | — | |
| 9630 | Last Modified Date Time | DateTime | — | not editable; DataClassification SystemMetadata |
| 9631 | Vendor Id | Guid | — | TableRelation Vendor.SystemId; DataClassification SystemMetadata |
| 9632 | Order Id | Guid | — | DataClassification SystemMetadata |
| 9634 | Currency Id | Guid | — | TableRelation Currency.SystemId; DataClassification SystemMetadata |
| 9638 | Pay-to Vendor Id | Guid | — | TableRelation Vendor.SystemId; DataClassification SystemMetadata |
Keys
- Key1: No., Posted (clustered)
- Key2: Id
- Key3: Vendor Ledger Entry No.
Procedures
UpdateCurrencyId()UpdateReferencedRecordIds()GetIsRenameAllowed(): BooleanSetIsRenameAllowed(RenameAllowed: Boolean)
Plus 7 local procedures.
Triggers
OnInsert, OnModify, OnRename
Relations
- Shipment Method Code: TableRelation Table 10 “Shipment Method”
- Purchaser Code: TableRelation Table 13 “Salesperson/Purchaser”
- Buy-from City: TableRelation Table 225 “Post Code” (conditional)
- Buy-from Post Code: TableRelation Table 225 “Post Code” (conditional)
- Pay-to City: TableRelation Table 225 “Post Code” (conditional)
- Pay-to Post Code: TableRelation Table 225 “Post Code” (conditional)
- Ship-to City: TableRelation Table 225 “Post Code” (conditional)
- Ship-to Post Code: TableRelation Table 225 “Post Code” (conditional)
- Buy-from Vendor No.: TableRelation Table 23 “Vendor”
- Pay-to Vendor No.: TableRelation Table 23 “Vendor”
- Vendor Ledger Entry No.: TableRelation Table 25 “Vendor Ledger Entry”
- Payment Terms Code: TableRelation Table 3 “Payment Terms”
- Shortcut Dimension 1 Code: TableRelation Table 349 “Dimension Value”
- Shortcut Dimension 2 Code: TableRelation Table 349 “Dimension Value”
- Recalculate Invoice Disc.: CalcFormula Table 39 “Purchase Line”
- Currency Code: TableRelation Table 4 “Currency”
- Buy-from Contact No.: TableRelation Table 5050 “Contact”
- Buy-from Country/Region Code: TableRelation Table 9 “Country/Region”
- Pay-to Country/Region Code: TableRelation Table 9 “Country/Region”
- Ship-to Country/Region Code: TableRelation Table 9 “Country/Region”
- Vendor Posting Group: TableRelation Table 93 “Vendor Posting Group”
Pages and codeunits on this table
- Page 20042 “APIV1 - Purchase Invoices” (source table)
- Page 30042 “APIV2 - Purchase Invoices” (source table)
Ask your agent
Procedure bodies are not stored here (D10). 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: "table", object_name: "Purch. Inv. Entity Aggregate"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.