Table 39 Purchase Line

Base Application, Microsoft.Purchases.Document
List17181920212223242526272829
Fields121211313333
Keys11532
Procedures1551453104412674
Events41456859431612182313113

In 29 8 added, 2 marked obsolete

field(147; "Spend Request No."; Code[20])new in 29
added
field(148; "Spend Request Close"; Boolean)new in 29
added
field(8513; "Receipt on Invoice"; Boolean)new in 29
added
FormatType(): Text[20]17-29
marked Pending, tag 29.0: Use FormatTypeAsText() instead.
SetHideValidationDialog(NewHideValidationDialog: Boolean)new in 29
added
GetHideValidationDialog(): Booleannew in 29
added
FormatTypeAsText(): Text[30]new in 29
added
[IntegrationEvent] OnBeforeFormatType(PurchaseLine: Record "Purchase Line"; var FormattedType: Text[20]; var IsHandled: Boolean)17-29
marked Pending, tag 29.0: Use OnBeforeFormatTypeAsText instead.
[IntegrationEvent] OnBeforeFormatTypeAsText(PurchaseLine: Record "Purchase Line"; var FormattedType: Text[30]; var IsHandled: Boolean)new in 29
added
[IntegrationEvent] OnAfterSetHideValidationDialog(var PurchaseLine: Record "Purchase Line"; NewHideValidationDialog: Boolean)new in 29
added

In 28 18 added, 1 changed, 2 gone

field(2700; "Invoicing From Line SystemId"; Guid)new in 28
added
field(2701; "Matched Order Lines"; Integer)new in 28
added
field(2702; "Matched Inv./Cr. Memo Lines"; Integer)new in 28
added
GetVATPct(): Decimalnew in 26changed in 28
changed, was internal GetVATPct(): Decimal
SetSuppressPurchaseHeaderExistsVerification(NewSuppressPurchaseHeaderExistsVerification: Boolean)new in 28
added
GetFAPostingGroup()new in 28
added
TransferExtendedTexts(var PurchaseLine: Record "Purchase Line"; var LastPurchaseLine: Record "Purchase Line")new in 28
added
internal IsMatchedToReceiptOrOrder(): Booleannew in 28
added
internal IsMatchedToOrder(): Booleannew in 28
added
internal IsMatchedToInvoiceCreditMemo(): Booleannew in 28
added
[IntegrationEvent] OnBeforeUpdatePrepmtAmounts(var PurchaseLine: Record "Purchase Line"; PurchaseHeader: Record "Purchase Header"; var IsHandled: Boolean)gone after 27
gone
[IntegrationEvent] OnBeforeGetPurchHeader(var PurchaseLine: Record "Purchase Line"; var PurchaseHeader: Record "Purchase Header"; var IsHandled: Boolean; var Currency: Record Currency)gone after 27
gone
[IntegrationEvent] OnBeforeTransferExtendedTexts(var PurchaseLine: Record "Purchase Line"; var LastPurchaseLine: Record "Purchase Line"; var IsHandled: Boolean)new in 28
added
[IntegrationEvent] OnBeforeUpdatePrepmtAmounts(var PurchaseLine: Record "Purchase Line"; PurchaseHeader: Record "Purchase Header"; var IsHandled: Boolean; CurrentFieldNo: Integer)new in 28
added
[IntegrationEvent] OnUpdatePrepmtSetupFieldsOnBeforeGetVATPostingSetup(var PurchaseLine: Record "Purchase Line"; GLAccount: Record "G/L Account"; var VATPostingSetup: Record "VAT Posting Setup"; var VATPostingSetupRetrieved: Boolean)new in 28
added
[IntegrationEvent] OnUpdatePrepmtSetupFieldsOnBeforeClearVATPostingSetup(var PurchaseLine: Record "Purchase Line"; var VATPostingSetup: Record "VAT Posting Setup"; var SkipClear: Boolean)new in 28
added
[IntegrationEvent] OnValidateBinCodeOnBeforeTestFields(var PurchaseLine: Record "Purchase Line"; var IsHandled: Boolean)new in 28
added
[IntegrationEvent] OnBeforeGetPurchHeader(var PurchaseLine: Record "Purchase Line"; var PurchaseHeader: Record "Purchase Header"; var IsHandled: Boolean; var Currency: Record Currency; var HasPurchHeader: Boolean)new in 28
added
[IntegrationEvent] OnAfterCheckIsLineAmountToInvoiceSimple(PurchHeader: Record "Purchase Header"; var IsLineAmountToInvoiceSimple: Boolean)new in 28
added
[IntegrationEvent] OnCalcVATAmountLinesOnBeforeAssignShippingQuantities(var PurchaseHeader: Record "Purchase Header"; var PurchaseLine: Record "Purchase Line"; var VATAmountLine: Record "VAT Amount Line"; var QtyToHandle: Decimal; var IsHandled: Boolean)new in 28
added
[IntegrationEvent] OnCalcVATAmountLinesOnQtyTypeShippingOnBeforeCalcAmtToHandle(var PurchLine: Record "Purchase Line"; var PurchHeader: Record "Purchase Header"; var QtyToHandle: Decimal; var VATAmountLine: Record "VAT Amount Line")new in 28
added

In 27 20 added, 2 gone

field(2679; "Alloc. Purch. Line SystemId"; Guid)new in 27
added
field(6206; "Item Charge Has Non.Ded. VAT"; Boolean)new in 27
added
field(12100; "No. of Fixed Asset Cards"; Integer)new in 27
added
SetSkipEnsurePositiveLineNo(NewSkipEnsurePositiveLineNo: Boolean)new in 27
added
CheckLineAmount(MaxLineAmount: Decimal)new in 27
added
CheckLineTypeOnIndirectCostPercentUpdate()new in 27
added
IsWorkCenter(): Booleannew in 27
added
TestProdOrderNo()new in 27
added
TestWorkCenterNo()new in 27
added
[IntegrationEvent] OnValidateLineAmountOnAfterCalcMaxLineAmount(var PurchaseLine: Record "Purchase Line"; var MaxLineAmount: Decimal)20 to 26
gone
[IntegrationEvent] OnBeforeGetDate(var ResultDate: Date; var IsHandled: Boolean)22 to 26
gone
[IntegrationEvent] OnValidateLineAmountOnAfterCalcMaxLineAmount(var PurchaseLine: Record "Purchase Line"; var MaxLineAmount: Decimal; var Currency: Record Currency)new in 27
added
[IntegrationEvent] OnAfterIsInvoiceDocType(var PurchaseLine: Record "Purchase Line"; var Result: Boolean)new in 27
added
[IntegrationEvent] OnBeforeGetDate(var PurchaseLine: Record "Purchase Line"; var ResultDate: Date; var IsHandled: Boolean)new in 27
added
[IntegrationEvent] OnTestWorkCenterNo(var PurchaseLine: Record "Purchase Line")new in 27
added
[IntegrationEvent] OnIsWorkCenter(var PurchaseLine: Record "Purchase Line"; var Result: Boolean)new in 27
added
[IntegrationEvent] OnInsertOnAfterLockTable(var PurchaseLine: Record "Purchase Line"; CurrFieldNo: Integer)new in 27
added
[IntegrationEvent] OnAfterModifyOnAfterVerifyChange(var PurchaseLine: Record "Purchase Line"; CurrFieldNo: Integer)new in 27
added
[IntegrationEvent] OnUpdateItemChargeAssgntOnBeforeItemChargeAssignmentPurchModify(var PurchaseLine: Record "Purchase Line"; var ItemChargeAssignmentPurch: Record "Item Charge Assignment (Purch)")new in 27
added
[IntegrationEvent] OnBeforeCheckAcquisitionCost(var PurchaseLine: Record "Purchase Line"; var IsHandled: Boolean)new in 27
added
[IntegrationEvent] OnAfterIsServiceCharge(var PurchaseLine: Record "Purchase Line"; var ServiceCharged: Boolean)new in 27
added
[IntegrationEvent] OnValidateGenBusPostingGroupOnBeforeValidateVATBusPostingGroup(var PurchaseLine: Record "Purchase Line"; var ValidateVATBusPostingGroup: Boolean)new in 27
added

In 26 18 gone, 31 added, 1 changed

field(5401; "Prod. Order No."; Code[20])gone after 25
gone
field(5705; "Cross-Reference No."; Code[20])gone after 25
gone
field(5706; "Unit of Measure (Cross Ref.)"; Code[10])gone after 25
gone
field(5707; "Cross-Reference Type"; Option)gone after 25
gone
field(5708; "Cross-Reference Type No."; Code[30])gone after 25
gone
field(5712; "Product Group Code"; Code[10])gone after 25
gone
field(8512; "Buy-from Vendor Name"; Text[100])new in 26
added
field(99000750; "Routing No."; Code[20])gone after 25
gone
field(99000751; "Operation No."; Code[10])gone after 25
gone
field(99000752; "Work Center No."; Code[20])gone after 25
gone
field(99000753; Finished; Boolean)gone after 25
gone
field(99000754; "Prod. Order Line No."; Integer)gone after 25
gone
field(99000759; "Routing Reference No."; Integer)gone after 25
gone
key(Key8; "Document Type", Type, "Prod. Order No.", "Prod. Order Line No.", "Routing No.", "Operation No.")gone after 25
gone
key(Key9; "Document Type", "Document No.", "Location Code") { IncludedFields = Amount, "Amount Including VAT", "VAT Base Amount"; }17-29changed in 22, 26
changed, was key(Key9; "Document Type", "Document No.", "Location Code") { IncludedFields = Amount, "Amount Including VAT"; }
IsSubcontractingCreditMemo(): Booleannew in 26
added
CalcBaseQty(Qty: Decimal; FromFieldName: Text; ToFieldName: Text): Decimalnew in 26
added
IsProdOrder(): Booleannew in 26
added
internal ClearVATPct()new in 26
added
internal ClearPrepaymentVATPct()new in 26
added
internal ClearVATDifference()new in 26
added
internal GetVATPct(): Decimalnew in 26changed in 28
added
internal GetPrepaymentVATPct(): Decimalnew in 26
added
internal CopyFromVATPostingSetup(var VATPostingSetupFrom: Record "VAT Posting Setup")new in 26
added
internal CopyPrepaymentFromVATPostingSetup(var VATPostingSetupFrom: Record "VAT Posting Setup")new in 26
added
internal TestPurchaseJobFields()new in 26
added
RecalculateAmounts(DocumentType: Enum "Purchase Document Type"; DocumentNo: Code[20]; ExcludeLineNo: Integer)new in 26
added
[IntegrationEvent] OnBeforeCheckDropShipment(var IsHandled: Boolean; var PurchaseLine: Record "Purchase Line")19 to 25
gone
[IntegrationEvent] OnValidateLineAmountBeforeValidateLineDiscountAmount(var PurchLine: Record "Purchase Line"; Currency: Record Currency; var IsHandled: Boolean)20 to 25
gone
[IntegrationEvent] OnAfterValidateType(var PurchaseLine: Record "Purchase Line"; var xPurchaseLine: Record "Purchase Line"; var TempPurchaseLine: Record "Purchase Line" temporary)22 to 25
gone
[IntegrationEvent] OnAfterValidateNo(var PurchaseLine: Record "Purchase Line"; var xPurchaseLine: Record "Purchase Line"; var TempPurchaseLine: Record "Purchase Line" temporary)22 to 25
gone
[IntegrationEvent] OnValidateLocationCodeOnBeforeSetInboundWhseHandlingTime(CurrFieldNo: Integer; PurchaseLine: Record "Purchase Line"; xPurchaseLine: Record "Purchase Line"; var IsHandled: Boolean)25 to 25
gone
[IntegrationEvent] OnValidateLineAmountBeforeValidateLineDiscountAmount(var PurchLine: Record "Purchase Line"; Currency: Record Currency; var IsHandled: Boolean; CurrFieldNo: Integer)new in 26
added
[IntegrationEvent] OnTestProdOrderNo(var PurchaseLine: Record "Purchase Line")new in 26
added
[IntegrationEvent] OnIsProdOrder(var PurchaseLine: Record "Purchase Line"; var Result: Boolean)new in 26
added
[IntegrationEvent] OnInsertVATAmountOnBeforeInsert(var PurchaseLine: Record "Purchase Line"; var VATAmountLine: Record "VAT Amount Line")new in 26
added
[IntegrationEvent] OnIsSubcontractingCreditMemo(var PurchaseLine: Record "Purchase Line"; var Result: Boolean)new in 26
added
[IntegrationEvent] OnOpenItemTrackingLinesOnAfterCheck(var PurchaseLine: Record "Purchase Line")new in 26
added
[IntegrationEvent] OnAfterCheckAssosiatedProdOrder(var PurchaseLine: Record "Purchase Line")new in 26
added
[IntegrationEvent] OnFindVATAmountLineOnAfterSetFilters(var PurchaseLine: Record "Purchase Line"; var VATAmountLine: Record "VAT Amount Line")new in 26
added
[IntegrationEvent] OnAfterClearVATPct(var PurchaseLine: Record "Purchase Line")new in 26
added
[IntegrationEvent] OnAfterClearPrepaymentVATPct(var PurchaseLine: Record "Purchase Line")new in 26
added
[IntegrationEvent] OnAfterClearVATDifference(var PurchaseLine: Record "Purchase Line")new in 26
added
[IntegrationEvent] OnAfterGetVATPct(var PurchaseLine: Record "Purchase Line"; var VATPct: Decimal)new in 26
added
[IntegrationEvent] OnAfterGetPrepaymentVATPct(var PurchaseLine: Record "Purchase Line"; var PrepaymentVATPct: Decimal)new in 26
added
[IntegrationEvent] OnAfterCopyFromVATPostingSetup(var PurchaseLine: Record "Purchase Line"; var VATPostingSetupFrom: Record "VAT Posting Setup")new in 26
added
[IntegrationEvent] OnAfterCopyPrepaymentFromVATPostingSetup(var PurchaseLine: Record "Purchase Line"; var VATPostingSetupFrom: Record "VAT Posting Setup")new in 26
added
[IntegrationEvent] OnValidateLocationCodeOnBeforeSetInboundWhseHandlingTime(CurrFieldNo: Integer; var PurchaseLine: Record "Purchase Line"; xPurchaseLine: Record "Purchase Line"; var IsHandled: Boolean)new in 26
added
[IntegrationEvent] OnUpdateVATOnLinesOnBeforeModifyPurchLine(var PurchaseLine: Record "Purchase Line"; VATAmount: Decimal)new in 26
added
[IntegrationEvent] OnBeforeTestPurchaseJobFields(var PurchaseLine: Record "Purchase Line"; var IsHandled: Boolean)new in 26
added

In 25 6 gone, 1 changed, 15 added

CanCalculateTax(): Boolean20 to 24
gone
AttachToInventoryItemLine(var SelectedPurchLine: Record "Purchase Line")new in 22changed in 25
changed, was internal AttachToInventoryItemLine(var SelectedPurchLine: Record "Purchase Line")
ShowOrderTracking()new in 25
added
CheckAssociatedSalesOrder()new in 25
added
[IntegrationEvent] OnAfterDeleteChargeChargeAssgnt(var PurchaseLine: Record "Purchase Line"; var xPurchaseLine: Record "Purchase Line"; CurrentFieldNo: Integer)gone after 24
gone
[IntegrationEvent] OnValidateLocationCodeOnBeforeDropShipmentError(PurchaseLine: Record "Purchase Line"; var IsHandled: Boolean; xPurchaseLine: Record "Purchase Line")20 to 24
gone
[IntegrationEvent] OnValidateLocationCodeOnBeforeSpecialOrderError(PurchaseLine: Record "Purchase Line"; var IsHandled: Boolean; CurrFieldNo: Integer; xPurchaseLine: Record "Purchase Line")20 to 24
gone
[IntegrationEvent] OnValidateUnitOfMeasureCodeOnAfterCalcShouldUpdateItemReference(var PurchaseLine: Record "Purchase Line"; var ShouldUpdateItemReference: Boolean)21 to 24
gone
[IntegrationEvent] OnValidateLocationCodeOnAfterTestStatusOpen(var PurchaseLine: Record "Purchase Line"; xPurchaseLine: Record "Purchase Line"; var IsHandled: Boolean)24 to 24
gone
[IntegrationEvent] OnBeforeSetDefaultGLAccountQuantity(var PurchaseLine: Record "Purchase Line"; var IsHandled: Boolean)new in 25
added
[IntegrationEvent] OnValidateLocationCodeOnBeforeDropShipmentError(var PurchaseLine: Record "Purchase Line"; var IsHandled: Boolean; xPurchaseLine: Record "Purchase Line")new in 25
added
[IntegrationEvent] OnValidateLocationCodeOnBeforeSpecialOrderError(var PurchaseLine: Record "Purchase Line"; var IsHandled: Boolean; CurrFieldNo: Integer; xPurchaseLine: Record "Purchase Line")new in 25
added
[IntegrationEvent] OnValidateUnitOfMeasureCodeOnAfterCalcShouldUpdateItemReference(var PurchaseLine: Record "Purchase Line"; var ShouldUpdateItemReference: Boolean; var ShouldUpdateNonSubcontractingDocument: Boolean)new in 25
added
[IntegrationEvent] OnValidateLocationCodeOnAfterTestStatusOpen(var PurchaseLine: Record "Purchase Line"; xPurchaseLine: Record "Purchase Line"; var IsHandled: Boolean; var ShouldExit: Boolean)new in 25
added
[IntegrationEvent] OnSumVATAmountLineOnBeforeModify(var PurchaseLine: Record "Purchase Line"; var VATAmountLine: Record "VAT Amount Line")new in 25
added
[IntegrationEvent] OnAfterGetPostingSetup(var PurchaseLine: Record "Purchase Line"; var VATPostingSetup: Record "VAT Posting Setup")new in 25
added
[IntegrationEvent] OnAfterUpdateLineAmount(var PurchaseLine: Record "Purchase Line"; xPurchaseLine: Record "Purchase Line"; Currency: Record Currency; var LineAmountChanged: Boolean)new in 25
added
[IntegrationEvent] OnValidateLocationCodeOnBeforeSetInboundWhseHandlingTime(CurrFieldNo: Integer; PurchaseLine: Record "Purchase Line"; xPurchaseLine: Record "Purchase Line"; var IsHandled: Boolean)25 to 25
added
[IntegrationEvent] OnValidateOrderDateOnBeforeCheckDateConflict(var PurchaseLine: Record "Purchase Line"; CurrFieldNo: Integer; var IsHandled: Boolean)new in 25
added
[IntegrationEvent] OnGetFAPostingGroupOnBeforeCheckGLAcc(var PurchaseLine: Record "Purchase Line"; var GLAccount: Record "G/L Account"; FADeprBook: Record "FA Depreciation Book"; var IsHandled: Boolean)new in 25
added
[IntegrationEvent] OnUpdateUnitCostOnBeforeCalcStandardUnitCostLCY(var PurchaseLine: Record "Purchase Line"; var ShouldCalcStandardUnitCostLCY: Boolean)new in 25
added
[IntegrationEvent] OnValidateIndirectCostOnAfterCalcShouldCheckCostingMethod(var PurchaseLine: Record "Purchase Line"; var ShouldCheckCostingMethod: Boolean)new in 25
added

In 24 13 added, 3 gone

InitHeaderDefaults(PurchHeader: Record "Purchase Header"; var TempPurchLine: Record "Purchase Line" temporary)new in 24
added
internal GetVatBaseDiscountPct(PurchaseHeader: Record "Purchase Header"): Decimalnew in 24
added
UpdateSalesCost()new in 24
added
AddItems(SelectionFilter: Text)new in 24
added
[IntegrationEvent] OnBeforeSelectMultipleItems(var PurchaseLine: Record "Purchase Line")18 to 23
gone
[IntegrationEvent] OnValidateLocationCodeOnAfterTestStatusOpen(var PurchaseLine: Record "Purchase Line")20 to 23
gone
[IntegrationEvent] OnValidateNoOnBeforeJobTaskIsSet(PurchaseHeader: Record "Purchase Header"; var PurchaseLine: Record "Purchase Line"; xPurchaseLine: Record "Purchase Line"; TempPurchaseLine: Record "Purchase Line" temporary; IsHandled: Boolean)22 to 23
gone
[IntegrationEvent] OnBeforeSelectMultipleItems(var PurchaseLine: Record "Purchase Line"; var IsHandled: Boolean)new in 24
added
[IntegrationEvent] OnValidateLocationCodeOnAfterTestStatusOpen(var PurchaseLine: Record "Purchase Line"; xPurchaseLine: Record "Purchase Line"; var IsHandled: Boolean)24 to 24
added
[IntegrationEvent] OnValidateNoOnBeforeJobTaskIsSet(PurchaseHeader: Record "Purchase Header"; var PurchaseLine: Record "Purchase Line"; xPurchaseLine: Record "Purchase Line"; TempPurchaseLine: Record "Purchase Line" temporary; var IsHandled: Boolean)new in 24
added
[IntegrationEvent] OnValidateDirectUnitCostOnBeforeValidateLineDiscPct(var PurchaseLine: Record "Purchase Line"; var IsHandled: Boolean)new in 24
added
[IntegrationEvent] OnAfterGetVatBaseDiscountPct(var PurchaseLine: Record "Purchase Line"; var PurchaseHeader: Record "Purchase Header"; var Result: Decimal)new in 24
added
[IntegrationEvent] OnUpdateDirectUnitCostByFieldOnAfterCalcShouldExit(var PurchaseLine: Record "Purchase Line"; xPurchaseLine: Record "Purchase Line"; CalledByFieldNo: Integer; CurrFieldNo: Integer; var ShouldExit: Boolean)new in 24
added
[IntegrationEvent] OnAfterUpdateDimensionsFromJobTask(var PurchaseLine: Record "Purchase Line")new in 24
added
[IntegrationEvent] OnAfterClearQtyIfBlank(var PurchaseLine: Record "Purchase Line"; xPurchaseLine: Record "Purchase Line"; PurchasePayablesSetup: Record "Purchases & Payables Setup")new in 24
added
[IntegrationEvent] OnAfterReversedInternalLeadTimeDays(PurchaseLine: Record "Purchase Line"; PurchDate: Date; ReversedWhseHandlingTime: DateFormula; var TotalDays: DateFormula)new in 24
added

In 23 20 added, 5 changed, 7 gone

field(2675; "Selected Alloc. Account No."; Code[20])new in 23
added
field(2677; "Alloc. Acc. Modified by User"; Boolean)new in 23
added
field(2678; "Allocation Account No."; Code[20])new in 23
added
key(Key4; "Document Type", "Pay-to Vendor No.", "Currency Code", "Document No.") { IncludedFields = "Outstanding Amount", "Amt. Rcd. Not Invoiced", "Outstanding Amount (LCY)", "Amt. Rcd. Not Invoiced (LCY)", "Prepmt. Amount Inv. (LCY)", "Prepmt. VAT Amount Inv. (LCY)"; }17-29changed in 22, 23
changed, was key(Key4; "Document Type", "Pay-to Vendor No.", "Currency Code", "Document No.") { IncludedFields = "Outstanding Amount", "Amt. Rcd. Not Invoiced", "Outstanding Amount (LCY)", "Amt. Rcd. Not Invoiced (LCY)"; }
key(Key10; "Document Type", "Receipt No.", "Receipt Line No.") { IncludedFields = Quantity; }17-29changed in 23
changed, was key(Key10; "Document Type", "Receipt No.", "Receipt Line No.") { IncludedFields = Quantity; }
key(Key24; "No.", Type)new in 23
added
CreateDim(Type1: Integer; No1: Code[20]; Type2: Integer; No2: Code[20]; Type3: Integer; No3: Code[20]; Type4: Integer; No4: Code[20])gone after 22
gone
SaveLookupSelection(SelectedRecordRef: RecordRef)new in 20changed in 23
changed, was internal SaveLookupSelection(Selected: RecordRef)
RestoreLookupSelection()new in 20changed in 23
changed, was internal RestoreLookupSelection()
IsExtendedText(): Booleannew in 22changed in 23
changed, was internal IsExtendedText(): Boolean
CheckWarehouse(ShowDialogMessage: Boolean)new in 23
added
IsReceivedFromOcr(): Booleannew in 23
added
GetTableValuePair(FieldNo: Integer): Dictionarynew in 23
added
GetDateForCalculations(): Datenew in 23
added
GetDateForCalculations(FromPurchaseHeader: Record "Purchase Header"): Datenew in 23
added
CheckIfPurchaseLineMeetsReservedFromStockSetting(QtyToPost: Decimal; ReservedFromStock: Enum "Reservation From Stock"): Booleannew in 23
added
[IntegrationEvent] OnAfterCreateDimTableIDs(var PurchLine: Record "Purchase Line"; CallingFieldNo: Integer; var TableID: array[10] of Integer; var No: array[10] of Code[20])gone after 22
gone
[IntegrationEvent] OnUpdateVATOnLinesOnAfterCalculateVATDifference(var PurchaseLine: Record "Purchase Line"; PurchaseHeader: Record "Purchase Header"; VATAmountLine: Record "VAT Amount Line"; var TempVATAmountLineReminder: Record "VAT Amount Line" temporary; QtyType: Option General,Invoicing,Shipping)gone after 22
gone
[IntegrationEvent] OnUpdateVATOnLinesOnBeforeTempVATAmountLineRemainderModify(var PurchaseLine: Record "Purchase Line"; var TempVATAmountLineRemainder: Record "VAT Amount Line"; VATAmount: Decimal; NewVATBaseAmount: Decimal)gone after 22
gone
[IntegrationEvent] OnValidateNoOnCopyFromTempPurchLine(var PurchLine: Record "Purchase Line"; TempPurchaseLine: Record "Purchase Line" temporary; xPurchLine: Record "Purchase Line")18 to 22
gone
[IntegrationEvent] OnBeforeUpdateLocationCode(var PurchaseLine: Record "Purchase Line"; var IsHandled: Boolean)18 to 22
gone
[IntegrationEvent] OnBeforeRunEventOnAfterCreateDimTableIDs(var PurchaseLine: Record "Purchase Line"; var DefaultDimSource: List of [Dictionary of [Integer, Code[20]]]; var IsHandled: Boolean)20 to 22
gone
[IntegrationEvent] OnNotHandledCopyFromGLAccount(var PurchaseLine: Record "Purchase Line"; GLAccount: Record "G/L Account")new in 23
added
[IntegrationEvent] OnUpdateVATOnLinesOnAfterCalculateVATDifference(var PurchaseLine: Record "Purchase Line"; PurchaseHeader: Record "Purchase Header"; VATAmountLine: Record "VAT Amount Line"; var TempVATAmountLineReminder: Record "VAT Amount Line" temporary; QtyType: Option General,Invoicing,Shipping; var CurrentPurchaseLine: Record "Purchase Line"; LineAmountToInvoice: Decimal; InvDiscAmount: Decimal)new in 23
added
[IntegrationEvent] OnUpdateVATOnLinesOnBeforeTempVATAmountLineRemainderModify(var PurchaseLine: Record "Purchase Line"; var TempVATAmountLineRemainder: Record "VAT Amount Line"; VATAmount: Decimal; NewVATBaseAmount: Decimal; var CurrentPurchaseLine: Record "Purchase Line")new in 23
added
[IntegrationEvent] OnValidateNoOnCopyFromTempPurchLine(var PurchLine: Record "Purchase Line"; TempPurchaseLine: Record "Purchase Line" temporary; xPurchLine: Record "Purchase Line"; var IsHandled: Boolean)new in 23
added
[IntegrationEvent] OnValidateVariantCodeBeforeCheckBlocked(var PurchaseLine: Record "Purchase Line"; var IsHandled: Boolean)new in 23
added
[IntegrationEvent] OnCheckIfPurchaseLineMeetsReservedFromStockSetting(QtyToPost: Decimal; ReservedFromStock: Enum "Reservation From Stock"; var Result: Boolean)new in 23
added
[IntegrationEvent] OnAfterSetVendorItemNo(var PurchaseLine: Record "Purchase Line"; ItemVendor: Record "Item Vendor"; Item: Record Item)new in 23
added
[IntegrationEvent] OnShowDimensionsOnAfterEditDimensionSet(var PurchaseLine: Record "Purchase Line"; OldDimensionSetId: Integer)new in 23
added
[IntegrationEvent] OnCopyFromItemOnAfterGetItemTranslation(var PurchaseLine: Record "Purchase Line"; var Item: Record Item)new in 23
added
[IntegrationEvent] OnBeforeConfirmReceivedShippedItemDimChange(var PurchaseLine: Record "Purchase Line"; var IsHandled: Boolean; var Result: Boolean)new in 23
added

In 22 4 state changed, 48 added, 14 gone, 6 changed

field(5705; "Cross-Reference No."; Code[20])gone after 25
Pending to Removed, tag 22.0: Cross-Reference replaced by Item Reference feature.
field(5706; "Unit of Measure (Cross Ref.)"; Code[10])gone after 25
Pending to Removed, tag 22.0: Cross-Reference replaced by Item Reference feature.
field(5707; "Cross-Reference Type"; Option)gone after 25
Pending to Removed, tag 22.0: Cross-Reference replaced by Item Reference feature.
field(5708; "Cross-Reference Type No."; Code[30])gone after 25
Pending to Removed, tag 22.0: Cross-Reference replaced by Item Reference feature.
field(6200; "Non-Deductible VAT %"; Decimal)new in 22
added
field(6201; "Non-Deductible VAT Base"; Decimal)new in 22
added
field(6202; "Non-Deductible VAT Amount"; Decimal)new in 22
added
field(6203; "Non-Deductible VAT Diff."; Decimal)new in 22
added
field(6204; "Prepmt. Non-Deduct. VAT Base"; Decimal)new in 22
added
field(6205; "Prepmt. Non-Deduct. VAT Amount"; Decimal)new in 22
added
field(7011; "Attached Lines Count"; Integer)new in 22
added
key(Key2; "Document No.", "Line No.", "Document Type") { Enabled = false; }gone after 21
gone
key(Key3; "Document Type", Type, "No.", "Variant Code", "Drop Shipment", "Location Code", "Expected Receipt Date") { IncludedFields = "Outstanding Qty. (Base)"; }17-29changed in 22
changed, was key(Key3; "Document Type", Type, "No.", "Variant Code", "Drop Shipment", "Location Code", "Expected Receipt Date") { IncludedFields = "Outstanding Qty. (Base)"; SumIndexFields = "Outstanding Qty. (Base)"; }
key(Key4; "Document Type", "Pay-to Vendor No.", "Currency Code", "Document No.") { IncludedFields = "Outstanding Amount", "Amt. Rcd. Not Invoiced", "Outstanding Amount (LCY)", "Amt. Rcd. Not Invoiced (LCY)"; }17-29changed in 22, 23
changed, was key(Key4; "Document Type", "Pay-to Vendor No.", "Currency Code", "Document No.") { IncludedFields = "Outstanding Amount", "Amt. Rcd. Not Invoiced", "Outstanding Amount (LCY)", "Amt. Rcd. Not Invoiced (LCY)", "Prepmt. Amount Inv. (LCY)", "Prepmt. VAT Amount Inv. (LCY)"; SumIndexFields = "Outstanding Amount", "Amt. Rcd. Not Invoiced", "Outstanding Amount (LCY)", "Amt. Rcd. Not Invoiced (LCY)"; }
key(Key5; "Document Type", Type, "No.", "Variant Code", "Drop Shipment", "Shortcut Dimension 1 Code", "Shortcut Dimension 2 Code", "Location Code", "Expected Receipt Date") { Enabled = false; SumIndexFields = "Outstanding Qty. (Base)"; }gone after 21
gone
key(Key6; "Document Type", "Pay-to Vendor No.", "Shortcut Dimension 1 Code", "Shortcut Dimension 2 Code", "Currency Code", "Document No.") { Enabled = false; SumIndexFields = "Outstanding Amount", "Amt. Rcd. Not Invoiced", "Outstanding Amount (LCY)", "Amt. Rcd. Not Invoiced (LCY)"; }gone after 21
gone
key(Key9; "Document Type", "Document No.", "Location Code") { IncludedFields = Amount, "Amount Including VAT"; }17-29changed in 22, 26
changed, was key(Key9; "Document Type", "Document No.", "Location Code") { IncludedFields = Amount, "Amount Including VAT", "VAT Base Amount"; SumIndexFields = Amount, "Amount Including VAT"; }
key(Key13; "Document Type", "Job No.", "Job Task No.", "Document No.") { IncludedFields = "Outstanding Amt. Ex. VAT (LCY)", "A. Rcd. Not Inv. Ex. VAT (LCY)"; }17-29changed in 22
changed, was key(Key13; "Document Type", "Job No.", "Job Task No.", "Document No.") { IncludedFields = "Outstanding Amt. Ex. VAT (LCY)", "A. Rcd. Not Inv. Ex. VAT (LCY)"; SumIndexFields = "Outstanding Amt. Ex. VAT (LCY)", "A. Rcd. Not Inv. Ex. VAT (LCY)"; }
key(Key14; "Document Type", "Document No.", Type, "No.") { Enabled = false; }gone after 21
gone
key(Key15; "Document Type", Type, "No.") { Enabled = false; SumIndexFields = "Outstanding Qty. (Base)"; }gone after 21
gone
key(Key17; "Outstanding Quantity")gone after 21
gone
key(Key19; "Completely Received") { IncludedFields = Type, "Location Code"; }new in 21changed in 22
changed, was key(Key19; "Completely Received") { IncludedFields = Type, "Location Code"; }
key(Key20; "Document Type", "Document No.", "Drop Shipment") { IncludedFields = Quantity; }new in 22
added
key(Key21; "Document Type", "Document No.", Type, "No.", "System-Created Entry") { IncludedFields = Quantity, "Outstanding Quantity", "Return Qty. Shipped", "Quantity Received", "Line Amount", Amount, "Amount Including VAT", "Inv. Discount Amount"; }new in 22
added
key(Key22; "Document Type", "Document No.", "VAT Identifier", "Line No.") { IncludedFields = "VAT %", "Tax Area Code", "Tax Group Code", "VAT Calculation Type", "Line Amount", "Inv. Discount Amount", Amount, "Amount Including VAT", "Quantity (Base)", "VAT Difference"; }new in 22
added
key(Key23; "Attached to Line No.")new in 22
added
DeleteChargeChargeAssgnt(DocType: Enum "Purchase Document Type"; DocNo: Code[20]; DocLineNo: Integer)new in 21changed in 22
changed, was protected DeleteChargeChargeAssgnt(DocType: Enum "Purchase Document Type"; DocNo: Code[20]; DocLineNo: Integer)
internal IsExtendedText(): Booleannew in 22changed in 23
added
internal AttachToInventoryItemLine(var SelectedPurchLine: Record "Purchase Line")new in 22changed in 25
added
[IntegrationEvent] OnBeforeCheckWarehouse(var PurchaseLine: Record "Purchase Line"; var IsHandled: Boolean)gone after 21
gone
[IntegrationEvent] OnBeforeCopyFromItem(var PurchaseLine: Record "Purchase Line"; var Item: Record Item)gone after 21
gone
[IntegrationEvent] OnValidateVATProdPostingGroupOnBeforeCheckVATCalcType(var PurchaseLine: Record "Purchase Line"; VATPostingSetup: Record "VAT Posting Setup"; var IsHandled: Boolean)gone after 21
gone
[IntegrationEvent] OnBeforeCheckLineAmount(var PurchaseLine: Record "Purchase Line"; MaxLineAmount: Decimal; var IsHandled: Boolean)19 to 21
gone
[IntegrationEvent] OnAfterAssignGLAccountValues(var PurchLine: Record "Purchase Line"; GLAccount: Record "G/L Account"; PurchHeader: Record "Purchase Header"; xPurchaseLine: Record "Purchase Line")21 to 21
gone
[IntegrationEvent] OnBeforeValidateJobTaskNo(xPurchaseLine: Record "Purchase Line"; var IsHandled: Boolean; CurrentFieldNo: Integer)21 to 21
gone
[IntegrationEvent] OnBeforeInitTableValuePair(var TableValuePair: Dictionary of [Integer, Code[20]]; FieldNo: Integer; var IsHandled: Boolean)21 to 21
gone
[IntegrationEvent] OnAfterInitTableValuePair(var TableValuePair: Dictionary of [Integer, Code[20]]; FieldNo: Integer)21 to 21
gone
[IntegrationEvent] OnAfterAssignGLAccountValues(var PurchLine: Record "Purchase Line"; GLAccount: Record "G/L Account"; PurchHeader: Record "Purchase Header"; xPurchaseLine: Record "Purchase Line"; var TempPurchaseLine: Record "Purchase Line" temporary)new in 22
added
[IntegrationEvent] OnBeforeCheckWarehouse(var PurchaseLine: Record "Purchase Line"; var IsHandled: Boolean; var ShowDialogMessage: Boolean)new in 22
added
[IntegrationEvent] OnBeforeCopyFromItem(var PurchaseLine: Record "Purchase Line"; var Item: Record Item; var IsHandled: Boolean)new in 22
added
[IntegrationEvent] OnBeforeValidateJobPlanningLineNo(var PurchaseLine: Record "Purchase Line"; xPurchaseLine: Record "Purchase Line"; CurrentFieldNo: Integer; var IsHandled: Boolean)new in 22
added
[IntegrationEvent] OnBeforeCheckLineAmount(var PurchaseLine: Record "Purchase Line"; MaxLineAmount: Decimal; var IsHandled: Boolean; CalledByFieldNo: Integer)new in 22
added
[IntegrationEvent] OnValidateVATProdPostingGroupOnBeforeCheckVATCalcType(var PurchaseLine: Record "Purchase Line"; var VATPostingSetup: Record "VAT Posting Setup"; var IsHandled: Boolean; CurrentFieldNo: Integer)new in 22
added
[IntegrationEvent] OnBeforeValidateJobTaskNo(xPurchaseLine: Record "Purchase Line"; var IsHandled: Boolean; CurrentFieldNo: Integer; var TempJobJournalLine: Record "Job Journal Line" temporary)new in 22
added
[IntegrationEvent] OnBeforeInitTableValuePair(var TableValuePair: Dictionary of [Integer, Code[20]]; FieldNo: Integer; var IsHandled: Boolean; var PurchaseLine: Record "Purchase Line")new in 22
added
[IntegrationEvent] OnAfterInitTableValuePair(var TableValuePair: Dictionary of [Integer, Code[20]]; FieldNo: Integer; var PurchaseLine: Record "Purchase Line")new in 22
added
[IntegrationEvent] OnCheckWarehouseOnAfterSetLocation2(var PurchaseLine: Record "Purchase Line"; var Location2: Record Location)new in 22
added
[IntegrationEvent] OnBeforeValidateLineAmount(var PurchaseLine: Record "Purchase Line"; xPurchaseLine: Record "Purchase Line"; CurrentFieldNo: Integer; var IsHandled: Boolean; Currency: Record Currency)new in 22
added
[IntegrationEvent] OnBeforeZeroAmountLine(var PurchaseLine: Record "Purchase Line"; QtyType: Option General,Invoicing,Shipping; var Result: Boolean; var IsHandled: Boolean)new in 22
added
[IntegrationEvent] OnCalcVATAmountLinesOnBeforeAssignQuantities(var PurchaseHeader: Record "Purchase Header"; var PurchaseLine: Record "Purchase Line"; var VATAmountLine: Record "VAT Amount Line"; var QtyToHandle: Decimal; var IsHandled: Boolean)new in 22
added
[IntegrationEvent] OnCreateDimFromDefaultDimOnBeforeCreateDim(PurchaseLine: Record "Purchase Line"; DefaultDimSource: List of [Dictionary of [Integer, Code[20]]]; FieldNo: Integer; var IsHandled: Boolean)new in 22
added
[IntegrationEvent] OnAfterCreateDimFromDefaultDim(var PurchaseLine: Record "Purchase Line"; var DefaultDimSource: List of [Dictionary of [Integer, Code[20]]]; FieldNo: Integer)new in 22
added
[IntegrationEvent] OnAfterGetDefaultBin(var PurchaseLine: Record "Purchase Line")new in 22
added
[IntegrationEvent] OnUpdateVATAmountsOnBeforeCalcAmounts(var PurchaseLine: Record "Purchase Line"; var PurchaseLine2: Record "Purchase Line"; var TotalAmount: Decimal; TotalAmountInclVAT: Decimal; var TotalLineAmount: Decimal; var TotalInvDiscAmount: Decimal; var TotalQuantityBase: Decimal; TotalVATDifference: Decimal; var IsHandled: Boolean)new in 22
added
[IntegrationEvent] OnBeforeGetDate(var ResultDate: Date; var IsHandled: Boolean)22 to 26
added
[IntegrationEvent] OnGetSignedValue(var PurchaseLine: Record "Purchase Line"; Value: Decimal; var Result: Decimal)new in 22
added
[IntegrationEvent] OnAfterValidateType(var PurchaseLine: Record "Purchase Line"; var xPurchaseLine: Record "Purchase Line"; var TempPurchaseLine: Record "Purchase Line" temporary)22 to 25
added
[IntegrationEvent] OnAfterValidateTypePurchaseLine(var PurchaseLine: Record "Purchase Line"; var xPurchaseLine: Record "Purchase Line"; var TempPurchaseLine: Record "Purchase Line" temporary)new in 22
added
[IntegrationEvent] OnAfterValidateNo(var PurchaseLine: Record "Purchase Line"; var xPurchaseLine: Record "Purchase Line"; var TempPurchaseLine: Record "Purchase Line" temporary)22 to 25
added
[IntegrationEvent] OnAfterValidateNoPurchaseLine(var PurchaseLine: Record "Purchase Line"; var xPurchaseLine: Record "Purchase Line"; var TempPurchaseLine: Record "Purchase Line" temporary; PurchaseHeader: Record "Purchase Header")new in 22
added
[IntegrationEvent] OnBeforeAttachToInventoryItemLine(var PurchaseLine: Record "Purchase Line"; var IsHandled: Boolean)new in 22
added
[IntegrationEvent] OnValidateJobPlanningLineNoOnBeforeGLAccountTest(var PurchaseLine: Record "Purchase Line"; var JobPlanningLine: Record "Job Planning Line"; var IsHandled: Boolean)new in 22
added
[IntegrationEvent] OnValidateJobPlanningLineNoOnBeforeTestFields(var PurchaseLine: Record "Purchase Line"; var JobPlanningLine: Record "Job Planning Line"; var IsHandled: Boolean)new in 22
added
[IntegrationEvent] OnAfterIsInbound(PurchaseLine: Record "Purchase Line"; var IsInboundDocument: Boolean)new in 22
added
[IntegrationEvent] OnAfterUpdatePrePaymentAmounts(var PurchaseLine: Record "Purchase Line")new in 22
added
[IntegrationEvent] OnBeforeBlanketOrderIsRelated(var CurrentPurchaseLine: Record "Purchase Line"; var BlanketOrderPurchaseLine: Record "Purchase Line"; var IsHandled: Boolean; var Result: Boolean)new in 22
added
[IntegrationEvent] OnBlanketOrderIsRelatedOnAfterSetLoadFields(var BlanketOrderPurchaseLine: Record "Purchase Line")new in 22
added
[IntegrationEvent] OnUpdateDirectUnitCostByFieldOnAfterSetBlanketOrderPriceFields(PurchaseHeader: Record "Purchase Header"; BlanketOrderPurchaseLine: Record "Purchase Line"; var CurrentPurchaseLine: Record "Purchase Line"; CalledByFieldNo: Integer; CurrentFieldNo: Integer)new in 22
added
[IntegrationEvent] OnValidateNoOnBeforeJobTaskIsSet(PurchaseHeader: Record "Purchase Header"; var PurchaseLine: Record "Purchase Line"; xPurchaseLine: Record "Purchase Line"; TempPurchaseLine: Record "Purchase Line" temporary; IsHandled: Boolean)22 to 23
added
[IntegrationEvent] OnAfterValidateBlanketOrderLineNo(var PurchaseLine: Record "Purchase Line"; BlanketOrderPurchLine: Record "Purchase Line")new in 22
added
[IntegrationEvent] OnCalcVATAmountLinesOnAfterCalcShouldProcessRounding(var PurchaseLine: Record "Purchase Line"; var VATAmountLine: Record "VAT Amount Line"; var TotalVATAmount: Decimal; Currency: Record Currency; var ShouldProcessRounding: Boolean)new in 22
added
[IntegrationEvent] OnCalcVATAmountLinesOnBeforeVATAmountLineUpdateLines(var PurchaseLine: Record "Purchase Line"; var VATAmountLine: Record "VAT Amount Line"; var TotalVATAmount: Decimal)new in 22
added

In 21 1 changed, 57 added, 2 marked obsolete, 7 gone

field(5601; "FA Posting Type"; Enum "Purchase FA Posting Type")17-29changed in 21
changed, was field(5601; "FA Posting Type"; Option)
field(5812; "Item Charge Qty. to Handle"; Decimal)new in 21
added
key(Key19; "Completely Received") { IncludedFields = Type, "Location Code"; }new in 21changed in 22
added
CanCalculateTax(): Boolean20 to 24
marked Pending, tag 22.0: Renaming the global procedure to GetSkipTaxCalculation():Boolean
protected DeleteChargeChargeAssgnt(DocType: Enum "Purchase Document Type"; DocNo: Code[20]; DocLineNo: Integer)new in 21changed in 22
added
GetSkipTaxCalculation(): Booleannew in 21
added
GetAbsMin(QtyToHandle: Decimal; QtyHandled: Decimal): Decimalnew in 21
added
IsServiceCharge(): Booleannew in 21
added
[IntegrationEvent] OnAfterDeleteChargeChargeAssgnt(var PurchaseLine: Record "Purchase Line"; var xPurchaseLine: Record "Purchase Line"; CurrentFieldNo: Integer)gone after 24
marked Pending, tag 22.0: Replaced by OnAfterDeleteItemChargeAssignment with the same arguments
[IntegrationEvent] OnBeforeCreateDim(var PurchaseLine: Record "Purchase Line"; var IsHandled: Boolean; CurrentFieldNo: Integer)gone after 20
gone
[IntegrationEvent] OnAfterInternalLeadTimeDays(PurchaseLine: Record "Purchase Line"; PurchDate: Date; TotalDays: DateFormula)gone after 20
gone
[IntegrationEvent] OnBeforeValidateJobTaskNo(xPurchaseLine: Record "Purchase Line"; var IsHandled: Boolean)gone after 20
gone
[IntegrationEvent] OnBeforeAssignFieldsForQtyPerUOM(var PurchaseLine: Record "Purchase Line"; Item: Record Item; FieldNo: Integer; var IsHandled: Boolean)18 to 20
gone
[IntegrationEvent] OnValidateUnitOfMeasureCodeOnAfterCalcShouldUpdateItemReference(PurchaseLine: Record "Purchase Line"; var ShouldUpdateItemReference: Boolean)19 to 20
gone
[IntegrationEvent] OnAfterAssignGLAccountValues(var PurchLine: Record "Purchase Line"; GLAccount: Record "G/L Account"; PurchHeader: Record "Purchase Header")20 to 20
gone
[IntegrationEvent] OnValidateVATProdPostingGroupOnAfterTestStatusOpen(var PurchaseLine: Record "Purchase Line"; var IsHandled: Boolean)20 to 20
gone
[IntegrationEvent] OnAfterAssignGLAccountValues(var PurchLine: Record "Purchase Line"; GLAccount: Record "G/L Account"; PurchHeader: Record "Purchase Header"; xPurchaseLine: Record "Purchase Line")21 to 21
added
[IntegrationEvent] OnAfterDeleteItemChargeAssignment(var PurchaseLine: Record "Purchase Line"; var xPurchaseLine: Record "Purchase Line"; CurrentFieldNo: Integer)new in 21
added
[IntegrationEvent] OnAfterDeleteChargeChargeAssgntProcedure(var PurchaseLine: Record "Purchase Line"; var xPurchaseLine: Record "Purchase Line"; CurrentFieldNo: Integer)new in 21
added
[IntegrationEvent] OnBeforeAssignFieldsForQtyPerUOM(var PurchaseLine: Record "Purchase Line"; Item: Record Item; FieldNo: Integer; var IsHandled: Boolean; xPurchaseLine: Record "Purchase Line")new in 21
added
[IntegrationEvent] OnBeforeHandleDedicatedBin(var PurchaseLine: Record "Purchase Line"; xPurchaseLine: Record "Purchase Line"; IssueWarning: Boolean)new in 21
added
[IntegrationEvent] OnBeforeUpdateItemChargeAssgnt(var PurchaseLine: Record "Purchase Line"; CallingFieldNo: Integer; var IsHandled: Boolean)new in 21
added
[IntegrationEvent] OnBeforeCopyFromGLAccount(var PurchaseLine: Record "Purchase Line"; xPurchaseLine: Record "Purchase Line"; CallingFieldNo: Integer; var IsHandled: Boolean)new in 21
added
[IntegrationEvent] OnBeforeCreateDim(var PurchaseLine: Record "Purchase Line"; var IsHandled: Boolean; CurrentFieldNo: Integer; DefaultDimSource: List of [Dictionary of [Integer, Code[20]]])new in 21
added
[IntegrationEvent] OnBeforeLookupBlanketOrderNo(var PurchaseLine: Record "Purchase Line"; var IsHandled: Boolean)new in 21
added
[IntegrationEvent] OnBeforeSetUnitOfMeasure(var PurchaseLine: Record "Purchase Line"; var IsHandled: Boolean)new in 21
added
[IntegrationEvent] OnAfterValidateLocationCode(var PurchaseLine: Record "Purchase Line"; xPurchaseLine: Record "Purchase Line")new in 21
added
[IntegrationEvent] OnValidateUnitOfMeasureCodeOnAfterCalcShouldUpdateItemReference(var PurchaseLine: Record "Purchase Line"; var ShouldUpdateItemReference: Boolean)21 to 24
added
[IntegrationEvent] OnValidateVATProdPostingGroupOnAfterCalcShouldUpdateUnitCost(var PurchaseLine: Record "Purchase Line"; VATPostingSetup: Record "VAT Posting Setup"; var ShouldUpdateUnitCost: Boolean)new in 21
added
[IntegrationEvent] OnAfterInternalLeadTimeDays(PurchaseLine: Record "Purchase Line"; PurchDate: Date; var TotalDays: DateFormula)new in 21
added
[IntegrationEvent] OnBeforeValidateJobTaskNo(xPurchaseLine: Record "Purchase Line"; var IsHandled: Boolean; CurrentFieldNo: Integer)21 to 21
added
[IntegrationEvent] OnValidateVATProdPostingGroupOnAfterTestStatusOpen(var PurchaseLine: Record "Purchase Line"; var IsHandled: Boolean; var xPurchaseLine: Record "Purchase Line")new in 21
added
[IntegrationEvent] OnBeforeValidateQuantity(var PurchaseLine: Record "Purchase Line"; var xPurchaseLine: Record "Purchase Line"; CurrentFieldNo: Integer; var IsHandled: Boolean)new in 21
added
[IntegrationEvent] OnAfterValidateOrderDate(var PurchaseLine: Record "Purchase Line"; xPurchaseLine: Record "Purchase Line"; CurrentFieldNo: Integer)new in 21
added
[IntegrationEvent] OnValidateAmountOnAfterCalculateNormalVAT(var PurchaseLine: Record "Purchase Line"; var PurchaseHeader: Record "Purchase Header"; var Currency: Record Currency)new in 21
added
[IntegrationEvent] OnValidateAmountIncludingVATOnAfterCalculateNormalVAT(var PurchaseLine: Record "Purchase Line"; var PurchaseHeader: Record "Purchase Header"; var Currency: Record Currency)new in 21
added
[IntegrationEvent] OnValidateQuantityOnBeforeCheckWithQuantityReceived(var PurchaseLine: Record "Purchase Line"; var IsHandled: Boolean)new in 21
added
[IntegrationEvent] OnValidateQuantityOnAfterShouldCheckWithReturnQtyShipped(var PurchaseLine: Record "Purchase Line"; var ShouldCalcWithReturnQtyShipped: Boolean)new in 21
added
[IntegrationEvent] OnValidateQuantityOnBeforeCheckWMS(var PurchaseLine: Record "Purchase Line"; var IsHandled: Boolean)new in 21
added
[IntegrationEvent] OnValidateQuantityOnAfterInitQty(var PurchaseLine: Record "Purchase Line"; CurrentFieldNo: Integer)new in 21
added
[IntegrationEvent] OnUpdateVATAmountsOnBeforeValidateLineDiscountPercent(PurchaseLine: Record "Purchase Line"; var PurchLine2: Record "Purchase Line")new in 21
added
[IntegrationEvent] OnValidateUnitOfMeasureCodeOnBeforeValidateQuantity(var PurchaseLine: Record "Purchase Line"; xPurchaseLine: Record "Purchase Line"; Item: Record Item)new in 21
added
[IntegrationEvent] OnDeleteOnAfterCalcShouldModifySalesOrderLine(var PurchaseLine: Record "Purchase Line"; var ShouldModifySalesOrderLine: Boolean)new in 21
added
[IntegrationEvent] OnBeforeGetLineAmountToHandle(PurchaseLine: Record "Purchase Line"; var Currency: Record Currency; QtyToHandle: Decimal; var LineAmount: Decimal; var LineDiscAmount: Decimal; var IsHandled: Boolean)new in 21
added
[IntegrationEvent] OnUpdateUnitCostOnAfterCalcDiscountAmountPerQty(var PurchaseLine: Record "Purchase Line"; var DiscountAmountPerQty: Decimal)new in 21
added
[IntegrationEvent] OnDeleteOnAfterPurchLineDeleteAll(var PurchaseLine: Record "Purchase Line"; var PurchLine2: Record "Purchase Line")new in 21
added
[IntegrationEvent] OnUpdateUnitCostOnAfterCalcStandardUnitCostLCY(var PurchaseLine: Record "Purchase Line")new in 21
added
[IntegrationEvent] OnValidateQtyToReceiveOnAfterCheckQty(var PurchaseLine: Record "Purchase Line"; CurrFieldNo: Integer)new in 21
added
[IntegrationEvent] OnValidateVATProdPostingGroupOnBeforeGetVATPostingSetup(var PurchaseLine: Record "Purchase Line"; var VATPostingSetup: Record "VAT Posting Setup"; var IsHandled: Boolean; var xPurchaseLine: Record "Purchase Line")new in 21
added
[IntegrationEvent] OnValidateQuantityOnBeforeResetAmounts(var PurchaseLine: Record "Purchase Line"; xPurchaseLine: Record "Purchase Line")new in 21
added
[IntegrationEvent] OnBeforeValidateJobLineDiscAmountLCY(var PurchaseLine: Record "Purchase Line"; var TempJobJnlLine: Record "Job Journal Line" temporary; var IsHandled: Boolean)new in 21
added
[IntegrationEvent] OnBeforeValidateJobLineType(var PurchaseLine: Record "Purchase Line"; var IsHandled: Boolean)new in 21
added
[IntegrationEvent] OnBeforeValidateJobUnitPrice(var PurchaseLine: Record "Purchase Line"; var TempJobJnlLine: Record "Job Journal Line" temporary; var IsHandled: Boolean)new in 21
added
[IntegrationEvent] OnBeforeValidateJobNo(var PurchaseLine: Record "Purchase Line"; xPurchaseLine: Record "Purchase Line"; CurrentFieldNo: Integer; var IsHandled: Boolean)new in 21
added
[IntegrationEvent] OnBeforeValidateJobLineDiscountPercent(var PurchaseLine: Record "Purchase Line"; var TempJobJnlLine: Record "Job Journal Line" temporary; var IsHandled: Boolean)new in 21
added
[IntegrationEvent] OnBeforeValidateJobLineDiscountAmount(var PurchaseLine: Record "Purchase Line"; var TempJobJnlLine: Record "Job Journal Line" temporary; var IsHandled: Boolean)new in 21
added
[IntegrationEvent] OnBeforeValidateJobUnitPriceLCY(var PurchaseLine: Record "Purchase Line"; var TempJobJnlLine: Record "Job Journal Line" temporary; var IsHandled: Boolean)new in 21
added
[IntegrationEvent] OnBeforeValidateJobLineAmount(var PurchaseLine: Record "Purchase Line"; var TempJobJnlLine: Record "Job Journal Line" temporary; var IsHandled: Boolean)new in 21
added
[IntegrationEvent] OnBeforeValidateJobLineAmountLCY(var PurchaseLine: Record "Purchase Line"; var TempJobJnlLine: Record "Job Journal Line" temporary; var IsHandled: Boolean)new in 21
added
[IntegrationEvent] OnLineDiscountAmountOnValidateOnBeforeUpdateAmounts(var PurchaseLine: Record "Purchase Line")new in 21
added
[IntegrationEvent] OnModifyOnAfterSetFilters(var PurchaseLine: Record "Purchase Line"; var PurchaseLine2: Record "Purchase Line")new in 21
added
[IntegrationEvent] OnUpdateVATOnLinesOnAfterUpdateBaseAmounts(var PurchHeader: Record "Purchase Header"; var PurchLine: Record "Purchase Line"; var TempVATAmountLineRemainder: Record "VAT Amount Line" temporary; var VATAmountLine: Record "VAT Amount Line"; Currency: Record Currency)new in 21
added
[IntegrationEvent] OnValidateNoOnBeforeCheckReceiptNo(var PurchaseLine: Record "Purchase Line"; xPurchaseLine: Record "Purchase Line"; var IsHandled: Boolean)new in 21
added
[IntegrationEvent] OnDeleteOnAfterUpdateAmounts(var PurchaseLine: Record "Purchase Line")new in 21
added
[IntegrationEvent] OnDeleteOnBeforeUpdateAmounts(var PurchaseLine: Record "Purchase Line")new in 21
added
[IntegrationEvent] OnBeforeInitTableValuePair(var TableValuePair: Dictionary of [Integer, Code[20]]; FieldNo: Integer; var IsHandled: Boolean)21 to 21
added
[IntegrationEvent] OnAfterInitTableValuePair(var TableValuePair: Dictionary of [Integer, Code[20]]; FieldNo: Integer)21 to 21
added

In 20 57 added, 1 changed, 3 marked obsolete, 22 gone

field(146; "Prepmt. Pmt. Discount Amount"; Decimal)new in 20
added
GetPurchHeader(): Record "Purchase Header"17-29changed in 20
changed, was GetPurchHeader()
CreateDim(Type1: Integer; No1: Code[20]; Type2: Integer; No2: Code[20]; Type3: Integer; No3: Code[20]; Type4: Integer; No4: Code[20])gone after 22
marked Pending, tag 20.0: Replaced by CreateDim(DefaultDimSource: List of [Dictionary of [Integer, Code[20]]])
CrossReferenceNoLookUp()gone after 19
gone
GetItem(): Record Itemnew in 20
added
InitNewLine(var NewPurchLine: Record "Purchase Line")new in 20
added
CreateDim(DefaultDimSource: List of [Dictionary of [Integer, Code[20]]])new in 20
added
CanCalculateTax(): Boolean20 to 24
added
SetSkipTaxCalulation(Skip: Boolean)new in 20
added
SwitchLinesWithErrorsFilter(var ShowAllLinesEnabled: Boolean)new in 20
added
GetJnlTemplateName(): Code[10]new in 20
added
GetResource(): Record Resourcenew in 20
added
CreateDimFromDefaultDim(FieldNo: Integer)new in 20
added
internal SaveLookupSelection(Selected: RecordRef)new in 20changed in 23
added
internal RestoreLookupSelection()new in 20changed in 23
added
[IntegrationEvent] OnAfterAssignGLAccountValues(var PurchLine: Record "Purchase Line"; GLAccount: Record "G/L Account")gone after 19
gone
[IntegrationEvent] OnAfterAssignItemValues(var PurchLine: Record "Purchase Line"; Item: Record Item; CurrentFieldNo: Integer)gone after 19
gone
[IntegrationEvent] OnAfterAssignItemChargeValues(var PurchLine: Record "Purchase Line"; ItemCharge: Record "Item Charge")gone after 19
gone
[IntegrationEvent] OnAfterAssignFixedAssetValues(var PurchLine: Record "Purchase Line"; FixedAsset: Record "Fixed Asset")gone after 19
gone
[IntegrationEvent] OnAfterInitOutstandingQty(var PurchaseLine: Record "Purchase Line")gone after 19
gone
[IntegrationEvent] OnAfterCreateDimTableIDs(var PurchLine: Record "Purchase Line"; CallingFieldNo: Integer; var TableID: array[10] of Integer; var No: array[10] of Code[20])gone after 22
marked Pending, tag 20.0: Temporary event for compatibility
[IntegrationEvent] OnAfterUpdateTotalAmounts(var PurchaseLine: Record "Purchase Line"; PurchaseLine2: Record "Purchase Line"; var TotalAmount: Decimal; var TotalAmountInclVAT: Decimal; var TotalLineAmount: Decimal; var TotalInvDiscAmount: Decimal)gone after 19
gone
[IntegrationEvent] OnAfterValidateCrossReferenceNo(var PurchaseLine: Record "Purchase Line"; ItemCrossReference: Record "Item Cross Reference")gone after 19
gone
[IntegrationEvent] OnCalcVATAmountLinesOnBeforeVATAmountLineSumLine(PurchaseLine: Record "Purchase Line"; var VATAmountLine: Record "VAT Amount Line"; QtyType: Option General,Invoicing,Shipping)gone after 19
gone
[IntegrationEvent] OnCopyFromItemOnAfterCheck(PurchaseLine: Record "Purchase Line"; Item: Record Item; CallingFieldNo: Integer)gone after 19
gone
[IntegrationEvent] OnCrossReferenceNoLookUpOnAfterSetFilters(var ItemCrossReference: Record "Item Cross Reference"; PurchaseLine: Record "Purchase Line")gone after 19
gone
[IntegrationEvent] OnCrossReferenceNoLookupOnBeforeValidateDirectUnitCost(var PurchaseHeader: Record "Purchase Header"; var PurchaseLine: Record "Purchase Line")gone after 19
gone
[IntegrationEvent] OnInitOutstandingOnBeforeInitOutstandingAmount(var PurchaseLine: Record "Purchase Line")gone after 19
gone
[IntegrationEvent] OnUpdateDirectUnitCostOnBeforeFindPrice(PurchaseHeader: Record "Purchase Header"; var PurchaseLine: Record "Purchase Line"; CalledByFieldNo: Integer; CallingFieldNo: Integer; var IsHandled: Boolean)gone after 19
gone
[IntegrationEvent] OnValidateCrossReferenceNoOnBeforeAssignNo(var PurchaseLine: Record "Purchase Line"; var ItemCrossReference: Record "Item Cross Reference")gone after 19
gone
[IntegrationEvent] OnValidateLocationCodeOnBeforeDropShipmentError(PurchaseLine: Record "Purchase Line"; var IsHandled: Boolean)gone after 19
gone
[IntegrationEvent] OnValidateLocationCodeOnBeforeSpecialOrderError(PurchaseLine: Record "Purchase Line"; var IsHandled: Boolean; CurrFieldNo: Integer)gone after 19
gone
[IntegrationEvent] OnValidateTypeOnCopyFromTempPurchLine(var PurchLine: Record "Purchase Line"; TempPurchaseLine: Record "Purchase Line" temporary)gone after 19
gone
[IntegrationEvent] OnValidateQtyToReceiveOnAfterCheck(var PurchaseLine: Record "Purchase Line"; CallingFieldNo: Integer)gone after 19
gone
[IntegrationEvent] OnUpdateVATAmountsOnAfterCalcNormalVATAmountsForPricesIncludingVAT(var PurchaseLine: Record "Purchase Line"; PurchHeader: Record "Purchase Header"; Currency: Record Currency; TotalAmount: Decimal; TotalAmountInclVAT: Decimal)gone after 19
gone
[IntegrationEvent] OnBeforeUpdateLocationCode(var PurchaseLine: Record "Purchase Line"; var IsHandled: Boolean)18 to 22
marked Pending, tag 20.0: Replaced with OnValidateLocationCodeOnAfterTestStatusOpen and OnAfterInitHeaderDefaults
[IntegrationEvent] OnUpdateVATOnLinesOnBeforeCalcNotFullVATAmount(var PurchaseLine: Record "Purchase Line"; PurchaseHeader: Record "Purchase Header"; var Currency: Record Currency; var VATAmountLine: Record "VAT Amount Line"; var TempVATAmountLineRemainder: Record "VAT Amount Line"; NewVATBaseAmount: Decimal; VATAmount: Decimal; IsHandled: Boolean)19 to 19
gone
[IntegrationEvent] OnUpdateVATAmountsOnAfterCalcNormalVATAmountsForPricesExcludingVAT(var PurchaseLine: Record "Purchase Line"; PurchHeader: Record "Purchase Header"; Currency: Record Currency; TotalAmount: Decimal; TotalAmountInclVAT: Decimal)19 to 19
gone
[IntegrationEvent] OnBeforeRunEventOnAfterCreateDimTableIDs(var PurchaseLine: Record "Purchase Line"; var DefaultDimSource: List of [Dictionary of [Integer, Code[20]]]; var IsHandled: Boolean)20 to 22
added
[IntegrationEvent] OnAfterInitDefaultDimensionSources(var PurchaseLine: Record "Purchase Line"; var DefaultDimSource: List of [Dictionary of [Integer, Code[20]]]; FieldNo: Integer)new in 20
added
[IntegrationEvent] OnAfterAssignGLAccountValues(var PurchLine: Record "Purchase Line"; GLAccount: Record "G/L Account"; PurchHeader: Record "Purchase Header")20 to 20
added
[IntegrationEvent] OnAfterAssignItemValues(var PurchLine: Record "Purchase Line"; Item: Record Item; CurrentFieldNo: Integer; PurchHeader: Record "Purchase Header")new in 20
added
[IntegrationEvent] OnAfterAssignItemChargeValues(var PurchLine: Record "Purchase Line"; ItemCharge: Record "Item Charge"; PurchHeader: Record "Purchase Header")new in 20
added
[IntegrationEvent] OnAfterAssignFixedAssetValues(var PurchLine: Record "Purchase Line"; FixedAsset: Record "Fixed Asset"; PurchHeader: Record "Purchase Header")new in 20
added
[IntegrationEvent] OnBeforeUpdateDirectUnitCostProcedure(var PurchLine: Record "Purchase Line"; CalledByFieldNo: Integer; var Handled: Boolean)new in 20
added
[IntegrationEvent] OnAfterInitOutstandingQty(var PurchaseLine: Record "Purchase Line"; xPurchaseLine: Record "Purchase Line")new in 20
added
[IntegrationEvent] OnAfterCalcTotalAmtToAssign(var PurchaseLine: Record "Purchase Line"; PurchaseHeader: Record "Purchase Header"; Currency: Record Currency; TotalQtyToAssign: Decimal; var TotalAmtToAssign: Decimal)new in 20
added
[IntegrationEvent] OnAfterUpdateTotalAmounts(var PurchaseLine: Record "Purchase Line"; var PurchaseLine2: Record "Purchase Line"; var TotalAmount: Decimal; var TotalAmountInclVAT: Decimal; var TotalLineAmount: Decimal; var TotalInvDiscAmount: Decimal)new in 20
added
[IntegrationEvent] OnBeforeCalcInvDiscToInvoiceProcedure(var PurchaseLine: Record "Purchase Line"; Currency: Record Currency; var IsHandled: Boolean)new in 20
added
[IntegrationEvent] OnBeforeCheckLocationOnWMS(var PurchaseLine: Record "Purchase Line"; var IsHandled: Boolean)new in 20
added
[IntegrationEvent] OnBeforeCheckNoAndQuantityForItemChargeAssgnt(var PurchaseLine: Record "Purchase Line"; var IsHandled: Boolean)new in 20
added
[IntegrationEvent] OnBeforeGetReservationQty(var PurchaseLine: Record "Purchase Line"; var QtyReserved: Decimal; var QtyReservedBase: Decimal; var QtyToReserve: Decimal; var QtyToReserveBase: Decimal; var Result: Decimal; var IsHandled: Boolean)new in 20
added
[IntegrationEvent] OnBeforeInitDeferralCode(var PurchaseLine: Record "Purchase Line"; var IsHandled: Boolean)new in 20
added
[IntegrationEvent] OnBeforeLookupBinCode(var PurchaseLine: Record "Purchase Line"; var IsHandled: Boolean)new in 20
added
[IntegrationEvent] OnBeforeValidatePrepmtLineAmount(var PurchaseLine: Record "Purchase Line"; PrePaymentLineAmountEntered: Boolean; var IsHandled: Boolean)new in 20
added
[IntegrationEvent] OnCalcVATAmountLinesOnBeforeVATAmountLineSumLine(PurchaseLine: Record "Purchase Line"; var VATAmountLine: Record "VAT Amount Line"; QtyType: Option General,Invoicing,Shipping; var PurchaseLine2: Record "Purchase Line")new in 20
added
[IntegrationEvent] OnCopyFromItemOnAfterCheck(var PurchaseLine: Record "Purchase Line"; Item: Record Item; CallingFieldNo: Integer)new in 20
added
[IntegrationEvent] OnCreateDimOnBeforeUpdateGlobalDimFromDimSetID(var PurchaseLine: Record "Purchase Line")new in 20
added
[IntegrationEvent] OnGetFAPostingGroupOnBeforeLocalGLAccGet(PurchaseLine: Record "Purchase Line"; FAPostingGroup: Record "FA Posting Group"; var GLAccount: Record "G/L Account"; var IsHandled: Boolean)new in 20
added
[IntegrationEvent] OnInitOutstandingOnBeforeInitOutstandingAmount(var PurchaseLine: Record "Purchase Line"; xPurchaseLine: Record "Purchase Line")new in 20
added
[IntegrationEvent] OnUpdateDirectUnitCostOnBeforeFindPrice(PurchaseHeader: Record "Purchase Header"; var PurchaseLine: Record "Purchase Line"; CalledByFieldNo: Integer; CallingFieldNo: Integer; var IsHandled: Boolean; xPurchaseLine: Record "Purchase Line")new in 20
added
[IntegrationEvent] OnUpdateVATOnLinesOnBeforeCalcNotFullVATAmount(var PurchaseLine: Record "Purchase Line"; PurchaseHeader: Record "Purchase Header"; var Currency: Record Currency; var VATAmountLine: Record "VAT Amount Line"; var TempVATAmountLineRemainder: Record "VAT Amount Line"; NewVATBaseAmount: Decimal; VATAmount: Decimal; var IsHandled: Boolean)new in 20
added
[IntegrationEvent] OnValidateLineAmountOnAfterCalcMaxLineAmount(var PurchaseLine: Record "Purchase Line"; var MaxLineAmount: Decimal)20 to 26
added
[IntegrationEvent] OnValidateLocationCodeOnBeforeDropShipmentError(PurchaseLine: Record "Purchase Line"; var IsHandled: Boolean; xPurchaseLine: Record "Purchase Line")20 to 24
added
[IntegrationEvent] OnValidateLocationCodeOnBeforeSpecialOrderError(PurchaseLine: Record "Purchase Line"; var IsHandled: Boolean; CurrFieldNo: Integer; xPurchaseLine: Record "Purchase Line")20 to 24
added
[IntegrationEvent] OnValidateTypeOnBeforeInitRec(var PurchaseLine: Record "Purchase Line"; xPurchaseLine: Record "Purchase Line"; CallingFieldNo: Integer)new in 20
added
[IntegrationEvent] OnValidateTypeOnCopyFromTempPurchLine(var PurchLine: Record "Purchase Line"; TempPurchaseLine: Record "Purchase Line" temporary; xPurchaseLine: Record "Purchase Line")new in 20
added
[IntegrationEvent] OnValidateQtyToReceiveOnAfterCheck(var PurchaseLine: Record "Purchase Line"; CallingFieldNo: Integer; var IsHandled: Boolean)new in 20
added
[IntegrationEvent] OnBeforeCheckApplToItemLedgEntry(var PurchaseLine: Record "Purchase Line"; ItemLedgEntry: Record "Item Ledger Entry"; var Result: Code[10]; var IsHandled: Boolean)new in 20
added
[IntegrationEvent] OnUpdateVATAmountsOnAfterCalcNormalVATAmountsForPricesIncludingVAT(var PurchaseLine: Record "Purchase Line"; PurchHeader: Record "Purchase Header"; Currency: Record Currency; TotalAmount: Decimal; TotalAmountInclVAT: Decimal; var PurchaseLine2: Record "Purchase Line")new in 20
added
[IntegrationEvent] OnUpdateVATAmountsOnAfterCalcNormalVATAmountsForPricesExcludingVAT(var PurchaseLine: Record "Purchase Line"; PurchHeader: Record "Purchase Header"; Currency: Record Currency; TotalAmount: Decimal; TotalAmountInclVAT: Decimal; var PurchaseLine2: Record "Purchase Line")new in 20
added
[IntegrationEvent] OnValidateLocationCodeOnAfterTestStatusOpen(var PurchaseLine: Record "Purchase Line")20 to 23
added
[IntegrationEvent] OnBeforeUpdateDimensionsFromJobTask(var PurchaseLine: Record "Purchase Line"; CurrFieldNo: Integer; var IsHandled: Boolean)new in 20
added
[IntegrationEvent] OnInitHeaderDefaultsOnBeforeSetVATBusPostingGroup(var PurchaseLine: Record "Purchase Line"; var IsHandled: Boolean)new in 20
added
[IntegrationEvent] OnValidateNoOnBeforeAssignQtyFromXRec(var PurchaseLine: Record "Purchase Line"; var xPurchaseLine: Record "Purchase Line"; var IsHandled: Boolean)new in 20
added
[IntegrationEvent] OnAddItemOnBeforeInsert(var PurchaseLine: Record "Purchase Line")new in 20
added
[IntegrationEvent] OnValidateVATProdPostingGroupOnAfterTestStatusOpen(var PurchaseLine: Record "Purchase Line"; var IsHandled: Boolean)20 to 20
added
[IntegrationEvent] OnAfterSetReservationEntry(var ReservEntry: Record "Reservation Entry"; var PurchaseLine: Record "Purchase Line")new in 20
added
[IntegrationEvent] OnBeforeSetDefaultQuantity(var PurchLine: Record "Purchase Line"; var xPurchLine: Record "Purchase Line"; var IsHandled: Boolean)new in 20
added
[IntegrationEvent] OnBeforeUpdateICPartner(var PurchLine: Record "Purchase Line"; GLAcc: Record "G/L Account"; var PurchHeader: Record "Purchase Header"; var IsHandled: Boolean)new in 20
added
[IntegrationEvent] OnBeforeValidatePurchasingCode(var PurchLine: Record "Purchase Line"; var IsHandled: Boolean)new in 20
added
[IntegrationEvent] OnValidateLineAmountBeforeValidateLineDiscountAmount(var PurchLine: Record "Purchase Line"; Currency: Record Currency; var IsHandled: Boolean)20 to 25
added
[IntegrationEvent] OnBeforeInitOutstanding(var PurchaseLine: Record "Purchase Line"; var IsHandled: Boolean)new in 20
added

In 19 42 added, 9 gone, 1 marked obsolete

field(5405; "Qty. Rounding Precision"; Decimal)new in 19
added
field(5406; "Qty. Rounding Precision (Base)"; Decimal)new in 19
added
GetPurchHeader(var OutPurchHeader: Record "Purchase Header"; OutCurrency: Record Currency)gone after 18
gone
GetPurchHeader(var OutPurchHeader: Record "Purchase Header"; var OutCurrency: Record Currency)new in 19
added
protected GetOverheadRateFCY(): Decimalnew in 19
added
FindOrCreateRecordByNo(SourceNo: Code[20]): Code[20]new in 19
added
GetDefaultLineType(): Enum "Purchase Line Type"new in 19
added
[IntegrationEvent] OnAfterCalcInvDiscToInvoice(var PurchaseLine: Record "Purchase Line")gone after 18
gone
[IntegrationEvent] OnAfterShowItemChargeAssgnt(var PurchaseLine: Record "Purchase Line"; var ItemChargeAssgnmtPurch: Record "Item Charge Assignment (Purch)")gone after 18
gone
[IntegrationEvent] OnAfterUpdateVATAmounts(var PurchaseLine: Record "Purchase Line")gone after 18
gone
[IntegrationEvent] OnBeforeCheckPrepmtAmtInvEmpty(var PurchaseLine: Record "Purchase Line"; var IsHandled: Boolean)gone after 18
gone
[IntegrationEvent] OnCrossReferenceNoLookupOnBeforeValidateDirectUnitCost(var PurchaseHeader: Record "Purchase Header"; var PurchaseLine: Record "Purchase Line")gone after 19
marked Pending, tag 19.0: Replaced by same procedure from Item Reference Management codeunit.
[IntegrationEvent] OnUpdateVATOnLinesOnAfterCalculateNewAmount(var PurchaseLine: Record "Purchase Line"; PurchaseHeader: Record "Purchase Header"; VATAmountLine: Record "VAT Amount Line"; VATAmountLineReminder: Record "VAT Amount Line"; var NewAmountIncludingVAT: Decimal; VATAmount: Decimal; var NewAmount: Decimal; var NewVATBaseAmount: Decimal)gone after 18
gone
[IntegrationEvent] OnBeforeCheckDropShipment(var IsHandled: Boolean)gone after 18
gone
[IntegrationEvent] OnUpdateDirectUnitCostByFieldOnBeforeUpdateItemReference(var PurchaseLine: Record "Purchase Line"; CalledByFieldNo: Integer)gone after 18
gone
[IntegrationEvent] OnValidateQtyToReceiveOnAfterCalcShouldCheckLocationRequireReceive(var PurchaseLine: Record "Purchase Line"; ShouldCheckLocationRequireReceive: Boolean)18 to 18
gone
[IntegrationEvent] OnAfterUpdateLineDiscPct(var PurchaseLine: Record "Purchase Line")new in 19
added
[IntegrationEvent] OnAfterCalcInvDiscToInvoice(var PurchaseLine: Record "Purchase Line"; OldInvDiscAmtToInv: Decimal)new in 19
added
[IntegrationEvent] OnAfterShowItemChargeAssgnt(var PurchaseLine: Record "Purchase Line"; var ItemChargeAssgnmtPurch: Record "Item Charge Assignment (Purch)"; var ItemChargeAssignmentPurchPage: Page "Item Charge Assignment (Purch)")new in 19
added
[IntegrationEvent] OnAfterUpdateVATAmounts(var PurchaseLine: Record "Purchase Line"; TotalLineAmount: Decimal; TotalInvDiscAmount: Decimal; TotalAmount: Decimal; TotalAmountInclVAT: Decimal; TotalVATDifference: Decimal; TotalQuantityBase: Decimal)new in 19
added
[IntegrationEvent] OnBeforeCalcBaseQty(var PurchaseLine: Record "Purchase Line"; Qty: Decimal; FromFieldName: Text; ToFieldName: Text)new in 19
added
[IntegrationEvent] OnBeforeCalcIndirectCostPercent(var PurchaseLine: Record "Purchase Line"; UnitCostCurrency: Decimal; var IsHandled: Boolean)new in 19
added
[IntegrationEvent] OnBeforeCheckPrepmtAmtInvEmpty(var PurchaseLine: Record "Purchase Line"; var IsHandled: Boolean; xPurchaseLine: Record "Purchase Line")new in 19
added
[IntegrationEvent] OnBeforeEnsureDirectedPutawayandPickFalse(var PurchaseLine: Record "Purchase Line"; Location: Record Location; var IsHandled: Boolean)new in 19
added
[IntegrationEvent] OnBeforeValidateGenProdPostingGroup(var PurchaseLine: Record "Purchase Line"; xPurchaseLine: Record "Purchase Line"; CurrentFieldNo: Integer; var InHandled: Boolean)new in 19
added
[IntegrationEvent] OnBeforeValidateOrderDate(var PurchaseLine: Record "Purchase Line"; xPurchaseLine: Record "Purchase Line"; CurrentFieldNo: Integer; TrackingBlocked: Boolean; var IsHandled: Boolean)new in 19
added
[IntegrationEvent] OnBeforeValidateVATProdPostingGroupFromGLAcc(var PurchaseLine: Record "Purchase Line"; var IsHandled: Boolean)new in 19
added
[IntegrationEvent] OnBeforeValidateLeadTimeCalculation(var PurchaseLine: Record "Purchase Line"; xPurchaseLine: Record "Purchase Line"; CurrentFieldNo: Integer; var InHandled: Boolean)new in 19
added
[IntegrationEvent] OnBeforeValidatePlannedReceiptDate(var PurchaseLine: Record "Purchase Line"; xPurchaseLine: Record "Purchase Line"; CurrentFieldNo: Integer; TrackingBlocked: Boolean; var InHandled: Boolean)new in 19
added
[IntegrationEvent] OnBeforeValidateQuantityInvIsBalanced(var PurchaseLine: Record "Purchase Line"; xPurchaseLine: Record "Purchase Line"; var IsHandled: Boolean)new in 19
added
[IntegrationEvent] OnBeforeValidateQuantityReceiveIsBalanced(var PurchaseLine: Record "Purchase Line"; xPurchaseLine: Record "Purchase Line"; var IsHandled: Boolean)new in 19
added
[IntegrationEvent] OnBeforeValidateQuantityReturnIsBalanced(var PurchaseLine: Record "Purchase Line"; xPurchaseLine: Record "Purchase Line"; var IsHandled: Boolean)new in 19
added
[IntegrationEvent] OnBeforeValidateQtytoInvoiceBase(var PurchaseLine: Record "Purchase Line"; xPurchaseLine: Record "Purchase Line"; CurrentFieldNo: Integer; var InHandled: Boolean)new in 19
added
[IntegrationEvent] OnBeforeValidateQtytoReceiveBase(var PurchaseLine: Record "Purchase Line"; xPurchaseLine: Record "Purchase Line"; CurrentFieldNo: Integer; var InHandled: Boolean)new in 19
added
[IntegrationEvent] OnBeforeValidateReturnQtytoShipBase(var PurchaseLine: Record "Purchase Line"; xPurchaseLine: Record "Purchase Line"; CurrentFieldNo: Integer; var InHandled: Boolean)new in 19
added
[IntegrationEvent] OnBeforeCheckLineAmount(var PurchaseLine: Record "Purchase Line"; MaxLineAmount: Decimal; var IsHandled: Boolean)19 to 21
added
[IntegrationEvent] OnCalcVATAmountLinesAfterVATAmountLineInsertNewLine(var PurchaseLine: Record "Purchase Line"; var VATAmountLine: Record "VAT Amount Line")new in 19
added
[IntegrationEvent] OnCalcVATAmountLinesOnBeforeProcessPurchLine(var PurchaseLine: Record "Purchase Line"; var PurchHeader: Record "Purchase Header"; var VATAmountLine: Record "VAT Amount Line"; QtyType: Option General,Invoicing,Shipping)new in 19
added
[IntegrationEvent] OnCalcVATAmountLinesOnQtyTypeInvoicingOnBeforeCalcAmtToHandle(var PurchLine: Record "Purchase Line"; var PurchHeader: Record "Purchase Header"; var QtyToHandle: Decimal; var VATAmountLine: Record "VAT Amount Line")new in 19
added
[IntegrationEvent] OnUpdateVATOnLinesOnAfterCalculateNewAmount(var PurchaseLine: Record "Purchase Line"; PurchaseHeader: Record "Purchase Header"; VATAmountLine: Record "VAT Amount Line"; VATAmountLineReminder: Record "VAT Amount Line"; var NewAmountIncludingVAT: Decimal; VATAmount: Decimal; var NewAmount: Decimal; var NewVATBaseAmount: Decimal; var CurrentPurchaseLine: Record "Purchase Line")new in 19
added
[IntegrationEvent] OnUpdateVATOnLinesOnBeforeCalcNotFullVATAmount(var PurchaseLine: Record "Purchase Line"; PurchaseHeader: Record "Purchase Header"; var Currency: Record Currency; var VATAmountLine: Record "VAT Amount Line"; var TempVATAmountLineRemainder: Record "VAT Amount Line"; NewVATBaseAmount: Decimal; VATAmount: Decimal; IsHandled: Boolean)19 to 19
added
[IntegrationEvent] OnValidateDescriptionOnAfterCalcShouldErrorForFindDescription(var PurchaseLine: Record "Purchase Line"; var xPurchaseLine: Record "Purchase Line"; var ShouldErrorForFindDescription: Boolean)new in 19
added
[IntegrationEvent] OnValidateLineDiscountPercentOnBeforeUpdateAmounts(var PurchaseLine: Record "Purchase Line")new in 19
added
[IntegrationEvent] OnValidateQtyToReceiveOnAfterCalcShouldCheckLocationRequireReceive(var PurchaseLine: Record "Purchase Line"; var ShouldCheckLocationRequireReceive: Boolean)new in 19
added
[IntegrationEvent] OnValidateUnitOfMeasureCodeOnAfterCalcShouldUpdateItemReference(PurchaseLine: Record "Purchase Line"; var ShouldUpdateItemReference: Boolean)19 to 20
added
[IntegrationEvent] OnBeforeCheckDropShipment(var IsHandled: Boolean; var PurchaseLine: Record "Purchase Line")19 to 25
added
[IntegrationEvent] OnDeleteOnBeforeCheckQtyNotInvoiced(var PurchaseLine: Record "Purchase Line"; var IsHandled: Boolean)new in 19
added
[IntegrationEvent] OnUpdateDirectUnitCostByFieldOnBeforeUpdateItemReference(var PurchaseLine: Record "Purchase Line"; var CalledByFieldNo: Integer)new in 19
added
[IntegrationEvent] OnUpdateVATAmountsOnAfterCalcNormalVATAmountsForPricesExcludingVAT(var PurchaseLine: Record "Purchase Line"; PurchHeader: Record "Purchase Header"; Currency: Record Currency; TotalAmount: Decimal; TotalAmountInclVAT: Decimal)19 to 19
added
[IntegrationEvent] OnUpdateVATAmountsOnAfterSetFilters(var PurchaseLine: Record "Purchase Line"; var PurchaseLine2: Record "Purchase Line")new in 19
added
[IntegrationEvent] OnUpdateVATOnLinesOnBeforeProcessPurchLine(var PurchaseLine: Record "Purchase Line"; var PurchHeader: Record "Purchase Header"; var VATAmountLine: Record "VAT Amount Line"; QtyType: Option General,Invoicing,Shipping)new in 19
added
[IntegrationEvent] OnBeforeTestFieldQuantity(var PurchaseLine: Record "Purchase Line"; CurrentFieldNo: Integer; var IsHandled: Boolean)new in 19
added

In 18 1 changed, 4 marked obsolete, 1 no longer obsolete, 44 added, 7 gone

field(1002; "Job Line Type"; Enum "Job Line Type")17-29changed in 18
changed, was field(1002; "Job Line Type"; Option)
CrossReferenceNoLookUp()gone after 19
marked Pending, tag 18.0: Replaced by same procedure from Item Reference Management codeunit.
ShowDeferralSchedule()17-29
no longer obsolete
MaxQtyToReceiveBase(QtyToReceiveBase: Decimal): Decimalnew in 18
added
SetHasBeenShown()new in 18
added
GetPriceCalculationHandler(PurchaseHeader: Record "Purchase Header"; var PriceCalculation: Interface "Price Calculation")new in 18
added
AddItem(var PurchLine: Record "Purchase Line"; ItemNo: Code[20])new in 18
added
GetVATAmountLineOfMaxAmt(var VATAmountLine: Record "VAT Amount Line"; PurchaseLine: Record "Purchase Line"): Booleannew in 18
added
UpdateDeferralAmounts()new in 18
added
UpdateBaseAmounts(NewAmount: Decimal; NewAmountIncludingVAT: Decimal; NewVATBaseAmount: Decimal)new in 18
added
UpdatePrepmtAmounts()new in 18
added
ShowBlanketOrderPurchaseLines(DocumentType: Enum "Purchase Document Type")new in 18
added
ShowBlanketOrderPostedReceiptLines()new in 18
added
ShowBlanketOrderPostedInvoiceLines()new in 18
added
ShowBlanketOrderPostedReturnReceiptLines()new in 18
added
ShowBlanketOrderPostedCreditMemoLines()new in 18
added
[IntegrationEvent] OnAfterInitType(var PurchaseLine: Record "Purchase Line"; xPurchaseLine: Record "Purchase Line")gone after 17
gone
[IntegrationEvent] OnAfterCreateDim(var PurchLine: Record "Purchase Line"; CallingFieldNo: Integer)gone after 17
gone
[IntegrationEvent] OnAfterValidateCrossReferenceNo(var PurchaseLine: Record "Purchase Line"; ItemCrossReference: Record "Item Cross Reference")gone after 19
marked Pending, tag 18.0: Replaced by same event in Item Reference Management codeunit.
[IntegrationEvent] OnBeforeAddItems(var PurchaseLine: Record "Purchase Line")gone after 17
gone
[IntegrationEvent] OnBeforeCheckPrepmtAmounts(var PurchaseLine: Record "Purchase Line"; PurchHeader: Record "Purchase Header"; CurrentFieldNo: Integer; var IsHandled: Boolean)gone after 17
gone
[IntegrationEvent] OnBeforeInitJobFields(var PurchLine: Record "Purchase Line"; var xPurchLine: Record "Purchase Line"; var IsHandled: Boolean)gone after 17
gone
[IntegrationEvent] OnBeforeTestStatusOpen(var PurchaseLine: Record "Purchase Line"; var PurchaseHeader: Record "Purchase Header")gone after 17
gone
[IntegrationEvent] OnCrossReferenceNoLookUpOnAfterSetFilters(var ItemCrossReference: Record "Item Cross Reference"; PurchaseLine: Record "Purchase Line")gone after 19
marked Pending, tag 18.0: Replaced by same event in Item Reference Management codeunit.
[IntegrationEvent] OnValidateCrossReferenceNoOnBeforeAssignNo(var PurchaseLine: Record "Purchase Line"; var ItemCrossReference: Record "Item Cross Reference")gone after 19
marked Pending, tag 18.0: Replaced by same event in Item Reference Management codeunit.
[IntegrationEvent] OnValidateNoOnCopyFromTempPurchLine(var PurchLine: Record "Purchase Line"; TempPurchaseLine: Record "Purchase Line" temporary)gone after 17
gone
[IntegrationEvent] OnAfterFilterLinesForReservation(var PurchaseLine: Record "Purchase Line"; ReservationEntry: Record "Reservation Entry"; DocumentType: Enum "Purchase Document Type"; AvailabilityFilter: Text; Positive: Boolean)new in 18
added
[IntegrationEvent] OnAfterFindDefaultFADeprBook(var PurchaseLine: Record "Purchase Line"; var Result: Boolean)new in 18
added
[IntegrationEvent] OnAfterInitType(var PurchaseLine: Record "Purchase Line"; xPurchaseLine: Record "Purchase Line"; var PurchaseHeader: Record "Purchase Header")new in 18
added
[IntegrationEvent] OnBeforeAssignFieldsForQtyPerUOM(var PurchaseLine: Record "Purchase Line"; Item: Record Item; FieldNo: Integer; var IsHandled: Boolean)18 to 20
added
[IntegrationEvent] OnBeforeGetAbsMin(PurchaseLine: Record "Purchase Line"; QtyToHandle: Decimal; QtyHandled: Decimal; var Result: Decimal; var IsHandled: Boolean)new in 18
added
[IntegrationEvent] OnBeforeUpdateItemReference(var Rec: Record "Purchase Line"; xRec: Record "Purchase Line"; var IsHandled: Boolean)new in 18
added
[IntegrationEvent] OnBeforeUpdateOrderDateFromPlannedReceiptDate(var PurchaseLine: Record "Purchase Line"; CustomCalendarChange: array[2] of Record "Customized Calendar Change"; var IsHandled: Boolean)new in 18
added
[IntegrationEvent] OnBeforeUpdatePlannedReceiptDateFromOrderDate(var PurchaseLine: Record "Purchase Line"; CustomCalendarChange: array[2] of Record "Customized Calendar Change"; var IsHandled: Boolean)new in 18
added
[IntegrationEvent] OnBeforeUpdateOrderDateFromRequestedReceiptDate(var PurchaseLine: Record "Purchase Line"; CustomCalendarChange: array[2] of Record "Customized Calendar Change"; var IsHandled: Boolean)new in 18
added
[IntegrationEvent] OnAfterCreateDim(var PurchLine: Record "Purchase Line"; CallingFieldNo: Integer; xPurchLine: Record "Purchase Line")new in 18
added
[IntegrationEvent] OnAfterSelectMultipleItems(var PurchaseLine: Record "Purchase Line")new in 18
added
[IntegrationEvent] OnBeforeAddItems(var PurchaseLine: Record "Purchase Line"; SelectionFilter: Text; var IsHandled: Boolean)new in 18
added
[IntegrationEvent] OnBeforeCheckPrepmtAmounts(var PurchaseLine: Record "Purchase Line"; PurchHeader: Record "Purchase Header"; CurrentFieldNo: Integer; var IsHandled: Boolean; xPurchaseLine: Record "Purchase Line")new in 18
added
[IntegrationEvent] OnBeforeInitJobFields(var PurchLine: Record "Purchase Line"; var xPurchLine: Record "Purchase Line"; var IsHandled: Boolean; CurrentFieldNo: Integer)new in 18
added
[IntegrationEvent] OnBeforeSelectMultipleItems(var PurchaseLine: Record "Purchase Line")18 to 23
added
[IntegrationEvent] OnBeforeSetVendorItemNo(var PurchaseLine: Record "Purchase Line"; var IsHandled: Boolean)new in 18
added
[IntegrationEvent] OnBeforeTestStatusOpen(var PurchaseLine: Record "Purchase Line"; var PurchaseHeader: Record "Purchase Header"; xPurchaseLine: Record "Purchase Line"; CallingFieldNo: Integer; var IsHandled: Boolean)new in 18
added
[IntegrationEvent] OnBeforeValidateType(var PurchaseLine: Record "Purchase Line"; xPurchaseLine: Record "Purchase Line"; CurrentFieldNo: Integer; var IsHandled: Boolean)new in 18
added
[IntegrationEvent] OnBeforeCheckLineTypeOnIndirectCostPercentUpdate(var PurchaseLine: Record "Purchase Line"; var IsHandled: Boolean)new in 18
added
[IntegrationEvent] OnCheckLocationRequireReceiveOnBeforePurchaseLineVerifyChange(var PurchaseLine: Record "Purchase Line"; xPurchaseLine: Record "Purchase Line"; var IsHandled: Boolean)new in 18
added
[IntegrationEvent] OnUpdateDeferralAmountsOnBeforeSetDeferralPostDate(var PurchaseHeader: Record "Purchase Header"; var PurchaseLine: Record "Purchase Line"; var DeferralPostDate: Date)new in 18
added
[IntegrationEvent] OnUpdateVATOnLinesOnBeforeInitOutstanding(var PurchaseLine: Record "Purchase Line"; QtyType: Option General,Invoicing,Shipping)new in 18
added
[IntegrationEvent] OnValidateNoOnCopyFromTempPurchLine(var PurchLine: Record "Purchase Line"; TempPurchaseLine: Record "Purchase Line" temporary; xPurchLine: Record "Purchase Line")18 to 22
added
[IntegrationEvent] OnValidateQtyToReceiveOnAfterCalcShouldCheckLocationRequireReceive(var PurchaseLine: Record "Purchase Line"; ShouldCheckLocationRequireReceive: Boolean)18 to 18
added
[IntegrationEvent] OnAfterUpdateVendorItemNoFromItemReference(var Rec: Record "Purchase Line"; xRec: Record "Purchase Line")new in 18
added
[IntegrationEvent] OnBeforeValidateNo(var PurchaseLine: Record "Purchase Line"; xPurchaseLine: Record "Purchase Line"; CurrentFieldNo: Integer; var IsHandled: Boolean)new in 18
added
[IntegrationEvent] OnValidateQuantityOnAfterCalcBaseQty(var PurchaseLine: Record "Purchase Line"; xPurchaseLine: Record "Purchase Line")new in 18
added
[IntegrationEvent] OnSelectItemEntryOnAfterItemLedgEntrySetFilters(var PurchaseLine: Record "Purchase Line"; var ItemLedgEntry: Record "Item Ledger Entry")new in 18
added
[IntegrationEvent] OnBeforeValidateVATProdPostingGroup(var PurchaseLine: Record "Purchase Line"; xPurchaseLine: Record "Purchase Line"; var IsHandled: Boolean)new in 18
added
[IntegrationEvent] OnBeforeValidateLineDiscountPercent(var PurchaseLine: Record "Purchase Line"; DropInvoiceDiscountAmount: Boolean; var IsHandled: Boolean)new in 18
added
[IntegrationEvent] OnBeforeUpdateLocationCode(var PurchaseLine: Record "Purchase Line"; var IsHandled: Boolean)18 to 22
added