Table 123 Purch. Inv. Line

Base Application, Microsoft.Purchases.History

Source AL, 1,174 lines

src/Layers/W1/BaseApp/Purchases/History/PurchInvLine.Table.allines 40 to 55 of 1,174, Copyright (c) Microsoft Corporation. MIT

table 123 "Purch. Inv. Line"{    Caption = 'Purch. Inv. Line';    DrillDownPageID = "Posted Purchase Invoice Lines";    LookupPageID = "Posted Purchase Invoice Lines";    Permissions = TableData "Item Ledger Entry" = r,                  TableData "Value Entry" = r;    DataClassification = CustomerContent;    fields    {        field(2; "Buy-from Vendor No."; Code[20])        {            Caption = 'Buy-from Vendor No.';            ToolTip = 'Specifies the name of the vendor who delivered the items.';            Editable = false;

All 1,174 lines

Fields 121 in 29

2Buy-from Vendor No.Code[20]17-29
3Document No.Code[20]17-29
4Line No.Integer17-29
5TypeEnum "Purchase Line Type"17-29
6No.Code[20]17-29
7Location CodeCode[10]17-29
8Posting GroupCode[20]17-29
10Expected Receipt DateDate17-29
11DescriptionText[100]17-29

All 132 fields in 17-29

Events 10 in 29

[IntegrationEvent] OnAfterInitFromPurchLine(PurchInvHeader: Record "Purch. Inv. Header"; PurchLine: Record "Purchase Line"; var PurchInvLine: Record "Purch. Inv. Line")17-29
[IntegrationEvent] OnGetItemLedgEntriesOnBeforeTempItemLedgEntryInsert(var TempItemLedgerEntry: Record "Item Ledger Entry" temporary; ValueEntry: Record "Value Entry"; SetQuantity: Boolean)17-29
[IntegrationEvent] OnAfterCalcQty(var PurchInvLine: Record "Purch. Inv. Line"; QtyBase: Decimal; var Result: Decimal)new in 21
[IntegrationEvent] OnBeforeShowDeferrals(var PurchInvLine: Record "Purch. Inv. Line"; var IsHandled: Boolean)new in 21
[IntegrationEvent] OnBeforeSetSecurityFilterOnRespCenter(var PurchInvLine: Record "Purch. Inv. Line"; var IsHandled: Boolean)new in 21
[IntegrationEvent] OnGetItemLedgEntryOnShouldExit(var PurchInvLine: Record "Purch. Inv. Line"; var ShouldExit: Boolean)new in 26
[IntegrationEvent] OnAfterGetVATPct(var PurchInvLine: Record "Purch. Inv. Line"; var VATPct: Decimal)new in 26

All 10 events

Public procedures 21 in 29

GetCurrencyCode(): Code[10]17-29
ShowDimensions()17-29
ShowItemTrackingLines()17-29
CalcVATAmountLines(PurchInvHeader: Record "Purch. Inv. Header"; var TempVATAmountLine: Record "VAT Amount Line" temporary)17-29
GetCaptionClass(FieldNumber: Integer): Text[80]17-29
RowID1(): Text[250]17-29

All 22 procedures in 17-29

Extended in Microsoft's apps by 4

tableextension 6214 "Sust. Purch. Inv. Line"Sustainabilitynew in 25
tableextension 8060 "Purch. Inv. Line"Subscription Billingnew in 26
tableextension 20514 "Subc. Purch. Inv. Line"Subcontractingnew in 28
tableextension 99000754 "Mfg. Purch. Invoice Line"Base Applicationnew in 26

Trigger events 10

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

Changes 2 in 29

List17181920212223242526272829
Fields118113212
Keys21
Procedures111
Events332
field(147; "Spend Request No."; Code[20])new in 29
added
field(148; "Spend Request Close"; Boolean)new in 29
added

All 43 changes in 17-29