Table 125 Purch. Cr. Memo Line

Base Application, Microsoft.Purchases.History

Source AL, 1,130 lines

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

table 125 "Purch. Cr. Memo Line"{    Caption = 'Purch. Cr. Memo Line';    DrillDownPageID = "Posted Purchase Cr. Memo Lines";    LookupPageID = "Posted Purchase Cr. Memo Lines";    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;            TableRelation = Vendor;        }

All 1,130 lines

Fields 114 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 120 fields in 17-29

Events 5 in 29

[IntegrationEvent] OnAfterInitFromPurchLine(PurchCrMemoHdr: Record "Purch. Cr. Memo Hdr."; PurchLine: Record "Purchase Line"; var PurchCrMemoLine: Record "Purch. Cr. Memo Line")17-29
[IntegrationEvent] OnGetItemLedgEntriesOnBeforeTempItemLedgEntryInsert(var TempItemLedgerEntry: Record "Item Ledger Entry" temporary; ValueEntry: Record "Value Entry"; SetQuantity: Boolean)17-29
[IntegrationEvent] OnBeforeShowDeferrals(var PurchCrMemoLine: Record "Purch. Cr. Memo Line"; var IsHandled: Boolean)new in 21
[IntegrationEvent] OnBeforeSetSecurityFilterOnRespCenter(var PurchCrMemoLine: Record "Purch. Cr. Memo Line"; var IsHandled: Boolean)new in 21
[IntegrationEvent] OnAfterGetVATPct(var PurchCrMemoLine: Record "Purch. Cr. Memo Line"; var VATPct: Decimal)new in 26

Public procedures 20 in 29

GetCurrencyCode(): Code[10]17-29
ShowDimensions()17-29
ShowItemTrackingLines()17-29
CalcVATAmountLines(PurchCrMemoHdr: Record "Purch. Cr. Memo Hdr."; 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 6213 "Sust. Purch. Cr. Memo Line"Sustainabilitynew in 25
tableextension 8064 "Purch Cr. Memo Line"Subscription Billingnew in 26
tableextension 20515 "Subc. Purch. CrMemo Line"Subcontractingnew in 28
tableextension 99000756 "Mfg. Purch. Cr. Memo Line"Base Applicationnew in 27

Trigger events 10

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

Changes 1 in 28

List17181920212223242526272829
Fields11871
Keys1
Procedures123
Events21
key(Key5; "Document No.", "Location Code") { IncludedFields = Amount, "Amount Including VAT"; }17-29changed in 28
changed, was key(Key5; "Document No.", "Location Code") { IncludedFields = Amount, "Amount Including VAT"; SumIndexFields = Amount, "Amount Including VAT"; }

All 28 changes in 17-29