{"title":"Table 39 Purchase Line, obsolete","url":"https://jonas-paprotka.de/ref/table/39-purchase-line/obsolete/","author":"JOP-AL","license":"Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/","subject":"Microsoft Dynamics 365 Business Central","checked":"2026-11-20","changed":"2026-10-15","object":{"type":"table","id":39,"name":"Purchase Line","app":"Base Application","versions":"17-29","url":"https://jonas-paprotka.de/ref/table/39-purchase-line/","json":"https://jonas-paprotka.de/ref/table/39-purchase-line.json"},"aspect":"obsolete","total":21,"rows":[{"kind":"field","name":"5705 Cross-Reference No.","obsolete":{"state":"Removed","tag":"22.0","reason":"Cross-Reference replaced by Item Reference feature."},"obsoleteSince":17,"last":25},{"kind":"field","name":"5706 Unit of Measure (Cross Ref.)","obsolete":{"state":"Removed","tag":"22.0","reason":"Cross-Reference replaced by Item Reference feature."},"obsoleteSince":17,"last":25},{"kind":"field","name":"5707 Cross-Reference Type","obsolete":{"state":"Removed","tag":"22.0","reason":"Cross-Reference replaced by Item Reference feature."},"obsoleteSince":17,"last":25},{"kind":"field","name":"5708 Cross-Reference Type No.","obsolete":{"state":"Removed","tag":"22.0","reason":"Cross-Reference replaced by Item Reference feature."},"obsoleteSince":17,"last":25},{"kind":"field","name":"5712 Product Group Code","obsolete":{"state":"Removed","tag":"15.0","reason":"Product Groups became first level children of Item Categories."},"obsoleteSince":17,"last":25},{"kind":"procedure","name":"CreateDim(Type1: Integer; No1: Code[20]; Type2: Integer; No2: Code[20]; Type3: Integer; No3: Code[20]; Type4: Integer; No4: Code[20])","obsolete":{"state":"Pending","reason":"Replaced by CreateDim(DefaultDimSource: List of [Dictionary of [Integer, Code[20]]])","tag":"20.0"},"obsoleteSince":20,"last":22},{"kind":"procedure","name":"CrossReferenceNoLookUp()","obsolete":{"state":"Pending","reason":"Replaced by same procedure from Item Reference Management codeunit.","tag":"18.0"},"obsoleteSince":18,"last":19},{"kind":"procedure","name":"FormatType()","obsolete":{"state":"Pending","reason":"Use FormatTypeAsText() instead.","tag":"29.0"},"obsoleteSince":29,"last":29},{"kind":"procedure","name":"CanCalculateTax()","obsolete":{"state":"Pending","reason":"Renaming the global procedure to GetSkipTaxCalculation():Boolean","tag":"22.0"},"obsoleteSince":21,"last":24},{"kind":"procedure","name":"SetSkipEnsurePositiveLineNo(NewSkipEnsurePositiveLineNo: Boolean)","obsolete":{"state":"Pending","reason":"Not used for anything","tag":"28.0"},"obsoleteSince":27,"last":29},{"kind":"event","name":"OnAfterDeleteChargeChargeAssgnt(var PurchaseLine: Record \"Purchase Line\"; var xPurchaseLine: Record \"Purchase Line\"; CurrentFieldNo: Integer)","obsolete":{"state":"Pending","reason":"Replaced by OnAfterDeleteItemChargeAssignment with the same arguments","tag":"22.0"},"obsoleteSince":21,"last":24},{"kind":"event","name":"OnAfterCreateDimTableIDs(var PurchLine: Record \"Purchase Line\"; CallingFieldNo: Integer; var TableID: array[10] of Integer; var No: array[10] of Code[20])","obsolete":{"state":"Pending","reason":"Temporary event for compatibility","tag":"20.0"},"obsoleteSince":20,"last":22},{"kind":"event","name":"OnAfterValidateCrossReferenceNo(var PurchaseLine: Record \"Purchase Line\"; ItemCrossReference: Record \"Item Cross Reference\")","obsolete":{"state":"Pending","reason":"Replaced by same event in Item Reference Management codeunit.","tag":"18.0"},"obsoleteSince":18,"last":19},{"kind":"event","name":"OnBeforeFormatType(PurchaseLine: Record \"Purchase Line\"; var FormattedType: Text[20]; var IsHandled: Boolean)","obsolete":{"state":"Pending","reason":"Use OnBeforeFormatTypeAsText instead.","tag":"29.0"},"obsoleteSince":29,"last":29},{"kind":"event","name":"OnCrossReferenceNoLookUpOnAfterSetFilters(var ItemCrossReference: Record \"Item Cross Reference\"; PurchaseLine: Record \"Purchase Line\")","obsolete":{"state":"Pending","reason":"Replaced by same event in Item Reference Management codeunit.","tag":"18.0"},"obsoleteSince":18,"last":19},{"kind":"event","name":"OnCrossReferenceNoLookupOnBeforeValidateDirectUnitCost(var PurchaseHeader: Record \"Purchase Header\"; var PurchaseLine: Record \"Purchase Line\")","obsolete":{"state":"Pending","reason":"Replaced by same procedure from Item Reference Management codeunit.","tag":"19.0"},"obsoleteSince":19,"last":19},{"kind":"event","name":"OnValidateCrossReferenceNoOnBeforeAssignNo(var PurchaseLine: Record \"Purchase Line\"; var ItemCrossReference: Record \"Item Cross Reference\")","obsolete":{"state":"Pending","reason":"Replaced by same event in Item Reference Management codeunit.","tag":"18.0"},"obsoleteSince":18,"last":19},{"kind":"event","name":"OnBeforeUpdateLocationCode(var PurchaseLine: Record \"Purchase Line\"; var IsHandled: Boolean)","obsolete":{"state":"Pending","reason":"Replaced with OnValidateLocationCodeOnAfterTestStatusOpen and OnAfterInitHeaderDefaults","tag":"20.0"},"obsoleteSince":20,"last":22},{"kind":"event","name":"OnBeforeRunEventOnAfterCreateDimTableIDs(var PurchaseLine: Record \"Purchase Line\"; var DefaultDimSource: List of [Dictionary of [Integer, Code[20]]]; var IsHandled: Boolean)","obsolete":{"state":"Pending","reason":"Temporary event for compatibility","tag":"20.0"},"obsoleteSince":20,"last":22},{"kind":"event","name":"OnAfterValidateType(var PurchaseLine: Record \"Purchase Line\"; var xPurchaseLine: Record \"Purchase Line\"; var TempPurchaseLine: Record \"Purchase Line\" temporary)","obsolete":{"state":"Pending","reason":"Pending removal use \"OnAfterValidateTypePurchaseLine\" instead","tag":"23.0"},"obsoleteSince":22,"last":25},{"kind":"event","name":"OnAfterValidateNo(var PurchaseLine: Record \"Purchase Line\"; var xPurchaseLine: Record \"Purchase Line\"; var TempPurchaseLine: Record \"Purchase Line\" temporary)","obsolete":{"state":"Pending","reason":"Pending removal use \"OnAfterValidateNoPurchaseLine\" instead","tag":"23.0"},"obsoleteSince":22,"last":25}]}