{"title":"Table 36 Sales Header, obsolete","url":"https://jonas-paprotka.de/ref/table/36-sales-header/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-19","changed":"2026-11-19","object":{"type":"table","id":36,"name":"Sales Header","app":"Base Application","versions":"17-29","url":"https://jonas-paprotka.de/ref/table/36-sales-header/","json":"https://jonas-paprotka.de/ref/table/36-sales-header.json"},"aspect":"obsolete","total":37,"rows":[{"kind":"field","name":"169 Last Email Notif Cleared","obsolete":{"state":"Pending","tag":"21.0","reason":"Microsoft Invoicing has been discontinued."},"obsoleteSince":21,"last":23},{"kind":"field","name":"175 Payment Instructions Id","obsolete":{"state":"Removed","tag":"21.0","reason":"Microsoft Invoicing is not supported in Business Central"},"obsoleteSince":18,"last":25},{"kind":"field","name":"180 Rcvd-from Country/Region Code","obsolete":{"state":"Removed","tag":"23.0","reason":"Use new field on range 181"},"obsoleteSince":22,"last":25},{"kind":"field","name":"720 Coupled to CRM","obsolete":{"state":"Removed","tag":"26.0","reason":"Replaced by flow field Coupled to Dataverse"},"obsoleteSince":22,"last":29},{"kind":"field","name":"5051 Sell-to Customer Template Code","obsolete":{"state":"Removed","tag":"21.0","reason":"Will be removed with other functionality related to \"old\" templates. Replaced by \"Sell-to Customer Templ. Code\"."},"obsoleteSince":18,"last":25},{"kind":"field","name":"5054 Bill-to Customer Template Code","obsolete":{"state":"Removed","tag":"21.0","reason":"Will be removed with other functionality related to \"old\" templates. Replaced by \"Bill-to Customer Templ. Code\"."},"obsoleteSince":18,"last":25},{"kind":"field","name":"8000 Id","obsolete":{"state":"Removed","tag":"22.0","reason":"This functionality will be replaced by the systemID field"},"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]; Type5: Integer; No5: 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":"GetCustomerGlobalLocationNumber()","obsolete":{"state":"Pending","reason":"The procedure is not used and will be obsoleted.","tag":"25.0"},"obsoleteSince":25,"last":27},{"kind":"procedure","name":"GetCustomerGlobalLocationNumberLbl()","obsolete":{"state":"Pending","reason":"The procedure is not used and will be obsoleted.","tag":"25.0"},"obsoleteSince":25,"last":27},{"kind":"procedure","name":"GetPstdDocLinesToRevere()","obsolete":{"state":"Pending","reason":"Typo in the function name, use GetPstdDocLinesToReverse instead","tag":"15.1"},"obsoleteSince":17,"last":17},{"kind":"procedure","name":"WhseShpmntConflict(DocType: Option Quote,Order,Invoice,\"Credit Memo\",\"Blanket Order\",\"Return Order\"; DocNo: Code[20]; ShippingAdvice: Option Partial,Complete)","obsolete":{"state":"Pending","reason":"Replaced by WhseShipmentConflict().","tag":"17.0"},"obsoleteSince":17,"last":19},{"kind":"procedure","name":"OpenSalesOrderStatistics()","obsolete":{"state":"Pending","reason":"The statistics action will be replaced with the SalesOrderStatistics action. The new action uses RunObject and does not run the action trigger. Use a page extension to modify the behaviour.","tag":"26.0"},"obsoleteSince":26,"last":28},{"kind":"procedure","name":"GetCardpageID()","obsolete":{"state":"Pending","reason":"Use PageManagement.GetPageID() instead.","tag":"19.0"},"obsoleteSince":19,"last":21},{"kind":"procedure","name":"BatchConfirmUpdateDeferralDate(var BatchConfirm: Option \" \",Skip,Update; ReplacePostingDate: Boolean; PostingDateReq: Date)","obsolete":{"state":"Pending","reason":"Replaced by BatchConfirmUpdateDeferralDate with VAT Date parameters.","tag":"22.0"},"obsoleteSince":21,"last":24},{"kind":"procedure","name":"SelectSalesHeaderCustomerTemplate()","obsolete":{"state":"Pending","reason":"Will be removed with other functionality related to \"old\" templates. Replaced by SelectSalesHeaderNewCustomerTemplate()","tag":"18.0"},"obsoleteSince":18,"last":20},{"kind":"procedure","name":"LookupSellToCustomerName()","obsolete":{"state":"Pending","reason":"Replaced with LookupSellToCustomerName(var CustomerName: Text[100]): Boolean","tag":"19.0"},"obsoleteSince":18,"last":21},{"kind":"procedure","name":"OpenDocumentStatistics()","obsolete":{"state":"Pending","reason":"The statistics action will be replaced with the SalesOrderStatistics action. The new action uses RunObject and does not run the action trigger. Use a page extension to modify the behaviour.","tag":"26.0"},"obsoleteSince":26,"last":28},{"kind":"procedure","name":"ShowDocumentStatisticsPage()","obsolete":{"state":"Pending","reason":"The statistics action will be replaced with the SalesOrderStatistics action. The new action uses RunObject and does not run the action trigger. Use a page extension to modify the behaviour.","tag":"26.0"},"obsoleteSince":26,"last":28},{"kind":"procedure","name":"RecreateReqLine(OldSalesLine: Record \"Sales Line\"; NewSourceRefNo: Integer; ToTemp: Boolean)","obsolete":{"state":"Pending","reason":"Use RecreateReqLine with TempReqLine parameter instead.","tag":"25.0"},"obsoleteSince":25,"last":27},{"kind":"procedure","name":"SetTrackInfoForCancellation()","obsolete":{"state":"Pending","reason":"SetTrackInfoForCancellation procedure is planned to be removed.","tag":"24.0"},"obsoleteSince":24,"last":26},{"kind":"procedure","name":"UpdateShipToSalespersonCode()","obsolete":{"state":"Pending","reason":"Use UpdateShipToSalespersonCode(FieldNo: Integer) instead.","tag":"26.0"},"obsoleteSince":26,"last":28},{"kind":"procedure","name":"SkipStatisticsPreparation()","obsolete":{"state":"Pending","reason":"The statistics action will be replaced with the SalesOrderStatistics action. The new action uses RunObject and does not run the action trigger. Use a page extension to modify the behaviour.","tag":"26.0"},"obsoleteSince":26,"last":28},{"kind":"procedure","name":"ResetSkipStatisticsPreparationFlag()","obsolete":{"state":"Pending","reason":"The statistics action will be replaced with the SalesOrderStatistics action. The new action uses RunObject and does not run the action trigger. Use a page extension to modify the behaviour.","tag":"26.0"},"obsoleteSince":26,"last":28},{"kind":"event","name":"OnAfterCreateDimTableIDs(var SalesHeader: Record \"Sales Header\"; CallingFieldNo: Integer; var TableID: array[10] of Integer; var No: array[10] of Code[20])","obsolete":{"state":"Pending","reason":"Replaced by OnAfterInitDefaultDimensionSources() event","tag":"20.0"},"obsoleteSince":20,"last":22},{"kind":"event","name":"OnAfterCopyFromSellToCustTemplate(var SalesHeader: Record \"Sales Header\"; SellToCustTemplate: Record \"Customer Template\")","obsolete":{"state":"Pending","reason":"Will be removed with other functionality related to \"old\" templates. Replaced by OnAfterCopyFromNewSellToCustTemplate().","tag":"18.0"},"obsoleteSince":18,"last":20},{"kind":"event","name":"OnBeforeOpenSalesOrderStatistics(var SalesHeader: Record \"Sales Header\"; var IsHandled: Boolean)","obsolete":{"state":"Pending","reason":"The statistics action will be replaced with the SalesOrderStatistics action. The new action uses RunObject and does not run the action trigger. Use a page extension to modify the behaviour.","tag":"26.0"},"obsoleteSince":26,"last":28},{"kind":"event","name":"OnValidateBilltoCustomerTemplateCodeBeforeRecreateSalesLines(var SalesHeader: Record \"Sales Header\"; CallingFieldNo: Integer)","obsolete":{"state":"Pending","reason":"Will be removed with other functionality related to \"old\" templates. Replaced by OnValidateBilltoCustomerTemplCodeOnBeforeRecreateSalesLines()","tag":"18.0"},"obsoleteSince":18,"last":20},{"kind":"event","name":"OnBeforeOpenDocumentStatistics(var SalesHeader: Record \"Sales Header\"; var IsHandled: Boolean)","obsolete":{"state":"Pending","reason":"The statistics action will be replaced with the SalesOrderStatistics action. The new action uses RunObject and does not run the action trigger. Use a page extension to modify the behaviour.","tag":"26.0"},"obsoleteSince":26,"last":28},{"kind":"event","name":"OnGetStatisticsPageID(var PageID: Integer; SalesHeader: Record \"Sales Header\")","obsolete":{"state":"Pending","reason":"The statistics action will be replaced with the SalesOrderStatistics action. The new action uses RunObject and does not run the action trigger. Use a page extension to modify the behaviour.","tag":"26.0"},"obsoleteSince":26,"last":28},{"kind":"event","name":"OnLookupSellToCustomerNameOnAfterSuccessfulLookup(var SalesHeader: Record \"Sales Header\")","obsolete":{"state":"Pending","reason":"Replaced with LookupSellToCustomerName(var CustomerName: Text[100]): Boolean","tag":"19.0"},"obsoleteSince":19,"last":21},{"kind":"event","name":"OnBeforeRunEventOnAfterCreateDimTableIDs(var SalesHeader: Record \"Sales Header\"; 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":"OnBeforeValidateBillToName(var SalesHeader: Record \"Sales Header\"; var Customer: Record Customer; var IsHandled: Boolean; xSalesHeader: Record \"Sales Header\")","obsolete":{"state":"Pending","reason":"This event is never raised.","tag":"27.0"},"obsoleteSince":27,"last":29},{"kind":"event","name":"OnSetTrackInfoForCancellationOnBeforeInsertCancelledDocument(SalesCrMemoHeader: Record \"Sales Cr.Memo Header\"; var IsHandled: Boolean)","obsolete":{"state":"Pending","reason":"This event is obsolete. SetTrackInfoForCancellation procedure is planned to be removed.","tag":"24.0"},"obsoleteSince":24,"last":26},{"kind":"event","name":"OnUpdateShiptoSalespersonCodeNotAssigned(var SalesHeader: Record \"Sales Header\"; var IsHandled: Boolean)","obsolete":{"state":"Pending","reason":"This event is obsolete. Use OnBeforeUpdateShipToSalespersonCode instead.","tag":"26.0"},"obsoleteSince":26,"last":28},{"kind":"event","name":"OnBeforeIsNotFullyCancelled(var SalesCrMemoHeader: Record \"Sales Cr.Memo Header\"; var Result: Boolean; var IsHandled: Boolean)","obsolete":{"state":"Pending","reason":"Removed Not used anymore.","tag":"27.0"},"obsoleteSince":27,"last":29},{"kind":"event","name":"OnCalcOutstandingQuantityBaseOnAfterSalesLineSetFilters(var SalesLine: Record \"Sales Line\")","obsolete":{"state":"Pending","reason":"Not used anymore due to new implementation that uses Query. Replaced by OnBeforeCalculateReservableOutstandingQuantityBase.","tag":"27.0"},"obsoleteSince":27,"last":29}]}