{"title":"Codeunit 7009 CopyFromToPriceListLine, procedures","url":"https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/procedures/","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-05","object":{"type":"codeunit","id":7009,"name":"CopyFromToPriceListLine","app":"Base Application","versions":"17-29","url":"https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/","json":"https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline.json"},"aspect":"procedures","total":14,"rows":[{"name":"SetGenerateHeader","sig":"()","named":"()","returns":"","kind":"procedure","access":"public","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"()","returns":"","kind":"procedure","access":"public","obsolete":null}]},{"name":"CopyFrom","sig":"(var Record Sales Price, var Record Price List Line)","named":"(var SalesPrice: Record \"Sales Price\"; var PriceListLine: Record \"Price List Line\")","returns":"","kind":"procedure","access":"public","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":19,"spans":[{"from":17,"to":18,"named":"(var SalesPrice: Record \"Sales Price\"; var PriceListLine: Record \"Price List Line\")","returns":"","kind":"procedure","access":"public","obsolete":null},{"from":19,"to":27,"named":"(var SalesPrice: Record \"Sales Price\"; var PriceListLine: Record \"Price List Line\")","returns":"","kind":"procedure","access":"public","obsolete":{"state":"Pending","reason":"Will be removed along with the obsolete price tables.","tag":"19.0"}},{"from":28,"to":29,"named":"(var SalesPrice: Record \"Sales Price\"; var PriceListLine: Record \"Price List Line\")","returns":"","kind":"procedure","access":"public","obsolete":null}]},{"name":"CopyFrom","sig":"(var Record Sales Line Discount, var Record Price List Line)","named":"(var SalesLineDiscount: Record \"Sales Line Discount\"; var PriceListLine: Record \"Price List Line\")","returns":"","kind":"procedure","access":"public","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":19,"spans":[{"from":17,"to":18,"named":"(var SalesLineDiscount: Record \"Sales Line Discount\"; var PriceListLine: Record \"Price List Line\")","returns":"","kind":"procedure","access":"public","obsolete":null},{"from":19,"to":27,"named":"(var SalesLineDiscount: Record \"Sales Line Discount\"; var PriceListLine: Record \"Price List Line\")","returns":"","kind":"procedure","access":"public","obsolete":{"state":"Pending","reason":"Will be removed along with the obsolete price tables.","tag":"19.0"}},{"from":28,"to":29,"named":"(var SalesLineDiscount: Record \"Sales Line Discount\"; var PriceListLine: Record \"Price List Line\")","returns":"","kind":"procedure","access":"public","obsolete":null}]},{"name":"CopyTo","sig":"(var Record Sales Price, var Record Price List Line)","named":"(var TempSalesPrice: Record \"Sales Price\" temporary; var PriceListLine: Record \"Price List Line\")","returns":"Boolean","kind":"procedure","access":"public","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":19,"spans":[{"from":17,"to":18,"named":"(var TempSalesPrice: Record \"Sales Price\" temporary; var PriceListLine: Record \"Price List Line\")","returns":"Boolean","kind":"procedure","access":"public","obsolete":null},{"from":19,"to":27,"named":"(var TempSalesPrice: Record \"Sales Price\" temporary; var PriceListLine: Record \"Price List Line\")","returns":"Boolean","kind":"procedure","access":"public","obsolete":{"state":"Pending","reason":"Will be removed along with the obsolete price tables.","tag":"19.0"}},{"from":28,"to":29,"named":"(var TempSalesPrice: Record \"Sales Price\" temporary; var PriceListLine: Record \"Price List Line\")","returns":"Boolean","kind":"procedure","access":"public","obsolete":null}]},{"name":"CopyTo","sig":"(var Record Sales Line Discount, var Record Price List Line)","named":"(var TempSalesLineDiscount: Record \"Sales Line Discount\" temporary; var PriceListLine: Record \"Price List Line\")","returns":"Boolean","kind":"procedure","access":"public","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":19,"spans":[{"from":17,"to":18,"named":"(var TempSalesLineDiscount: Record \"Sales Line Discount\" temporary; var PriceListLine: Record \"Price List Line\")","returns":"Boolean","kind":"procedure","access":"public","obsolete":null},{"from":19,"to":27,"named":"(var TempSalesLineDiscount: Record \"Sales Line Discount\" temporary; var PriceListLine: Record \"Price List Line\")","returns":"Boolean","kind":"procedure","access":"public","obsolete":{"state":"Pending","reason":"Will be removed along with the obsolete price tables.","tag":"19.0"}},{"from":28,"to":29,"named":"(var TempSalesLineDiscount: Record \"Sales Line Discount\" temporary; var PriceListLine: Record \"Price List Line\")","returns":"Boolean","kind":"procedure","access":"public","obsolete":null}]},{"name":"CopyFrom","sig":"(var Record Job Item Price, var Record Price List Line)","named":"(var JobItemPrice: Record \"Job Item Price\"; var PriceListLine: Record \"Price List Line\")","returns":"","kind":"procedure","access":"public","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":19,"spans":[{"from":17,"to":18,"named":"(var JobItemPrice: Record \"Job Item Price\"; var PriceListLine: Record \"Price List Line\")","returns":"","kind":"procedure","access":"public","obsolete":null},{"from":19,"to":27,"named":"(var JobItemPrice: Record \"Job Item Price\"; var PriceListLine: Record \"Price List Line\")","returns":"","kind":"procedure","access":"public","obsolete":{"state":"Pending","reason":"Will be removed along with the obsolete price tables.","tag":"19.0"}},{"from":28,"to":29,"named":"(var JobItemPrice: Record \"Job Item Price\"; var PriceListLine: Record \"Price List Line\")","returns":"","kind":"procedure","access":"public","obsolete":null}]},{"name":"CopyFrom","sig":"(var Record Job G/L Account Price, var Record Price List Line)","named":"(var JobGLAccountPrice: Record \"Job G/L Account Price\"; var PriceListLine: Record \"Price List Line\")","returns":"","kind":"procedure","access":"public","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":19,"spans":[{"from":17,"to":18,"named":"(var JobGLAccountPrice: Record \"Job G/L Account Price\"; var PriceListLine: Record \"Price List Line\")","returns":"","kind":"procedure","access":"public","obsolete":null},{"from":19,"to":27,"named":"(var JobGLAccountPrice: Record \"Job G/L Account Price\"; var PriceListLine: Record \"Price List Line\")","returns":"","kind":"procedure","access":"public","obsolete":{"state":"Pending","reason":"Will be removed along with the obsolete price tables.","tag":"19.0"}},{"from":28,"to":29,"named":"(var JobGLAccountPrice: Record \"Job G/L Account Price\"; var PriceListLine: Record \"Price List Line\")","returns":"","kind":"procedure","access":"public","obsolete":null}]},{"name":"CopyFrom","sig":"(var Record Job Resource Price, var Record Price List Line)","named":"(var JobResourcePrice: Record \"Job Resource Price\"; var PriceListLine: Record \"Price List Line\")","returns":"","kind":"procedure","access":"public","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":19,"spans":[{"from":17,"to":18,"named":"(var JobResourcePrice: Record \"Job Resource Price\"; var PriceListLine: Record \"Price List Line\")","returns":"","kind":"procedure","access":"public","obsolete":null},{"from":19,"to":27,"named":"(var JobResourcePrice: Record \"Job Resource Price\"; var PriceListLine: Record \"Price List Line\")","returns":"","kind":"procedure","access":"public","obsolete":{"state":"Pending","reason":"Will be removed along with the obsolete price tables.","tag":"19.0"}},{"from":28,"to":29,"named":"(var JobResourcePrice: Record \"Job Resource Price\"; var PriceListLine: Record \"Price List Line\")","returns":"","kind":"procedure","access":"public","obsolete":null}]},{"name":"CopyFrom","sig":"(var Record Resource Cost, var Record Price List Line)","named":"(var ResourceCost: Record \"Resource Cost\"; var PriceListLine: Record \"Price List Line\")","returns":"","kind":"procedure","access":"public","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":19,"spans":[{"from":17,"to":18,"named":"(var ResourceCost: Record \"Resource Cost\"; var PriceListLine: Record \"Price List Line\")","returns":"","kind":"procedure","access":"public","obsolete":null},{"from":19,"to":27,"named":"(var ResourceCost: Record \"Resource Cost\"; var PriceListLine: Record \"Price List Line\")","returns":"","kind":"procedure","access":"public","obsolete":{"state":"Pending","reason":"Will be removed along with the obsolete price tables.","tag":"19.0"}},{"from":28,"to":29,"named":"(var ResourceCost: Record \"Resource Cost\"; var PriceListLine: Record \"Price List Line\")","returns":"","kind":"procedure","access":"public","obsolete":null}]},{"name":"CopyFrom","sig":"(var Record Resource Price, var Record Price List Line)","named":"(var ResourcePrice: Record \"Resource Price\"; var PriceListLine: Record \"Price List Line\")","returns":"","kind":"procedure","access":"public","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":19,"spans":[{"from":17,"to":18,"named":"(var ResourcePrice: Record \"Resource Price\"; var PriceListLine: Record \"Price List Line\")","returns":"","kind":"procedure","access":"public","obsolete":null},{"from":19,"to":27,"named":"(var ResourcePrice: Record \"Resource Price\"; var PriceListLine: Record \"Price List Line\")","returns":"","kind":"procedure","access":"public","obsolete":{"state":"Pending","reason":"Will be removed along with the obsolete price tables.","tag":"19.0"}},{"from":28,"to":29,"named":"(var ResourcePrice: Record \"Resource Price\"; var PriceListLine: Record \"Price List Line\")","returns":"","kind":"procedure","access":"public","obsolete":null}]},{"name":"CopyFrom","sig":"(var Record Purchase Price, var Record Price List Line)","named":"(var PurchasePrice: Record \"Purchase Price\"; var PriceListLine: Record \"Price List Line\")","returns":"","kind":"procedure","access":"public","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":19,"spans":[{"from":17,"to":18,"named":"(var PurchasePrice: Record \"Purchase Price\"; var PriceListLine: Record \"Price List Line\")","returns":"","kind":"procedure","access":"public","obsolete":null},{"from":19,"to":27,"named":"(var PurchasePrice: Record \"Purchase Price\"; var PriceListLine: Record \"Price List Line\")","returns":"","kind":"procedure","access":"public","obsolete":{"state":"Pending","reason":"Will be removed along with the obsolete price tables.","tag":"19.0"}},{"from":28,"to":29,"named":"(var PurchasePrice: Record \"Purchase Price\"; var PriceListLine: Record \"Price List Line\")","returns":"","kind":"procedure","access":"public","obsolete":null}]},{"name":"CopyFrom","sig":"(var Record Purchase Line Discount, var Record Price List Line)","named":"(var PurchaseLineDiscount: Record \"Purchase Line Discount\"; var PriceListLine: Record \"Price List Line\")","returns":"","kind":"procedure","access":"public","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":19,"spans":[{"from":17,"to":18,"named":"(var PurchaseLineDiscount: Record \"Purchase Line Discount\"; var PriceListLine: Record \"Price List Line\")","returns":"","kind":"procedure","access":"public","obsolete":null},{"from":19,"to":27,"named":"(var PurchaseLineDiscount: Record \"Purchase Line Discount\"; var PriceListLine: Record \"Price List Line\")","returns":"","kind":"procedure","access":"public","obsolete":{"state":"Pending","reason":"Will be removed along with the obsolete price tables.","tag":"19.0"}},{"from":28,"to":29,"named":"(var PurchaseLineDiscount: Record \"Purchase Line Discount\"; var PriceListLine: Record \"Price List Line\")","returns":"","kind":"procedure","access":"public","obsolete":null}]},{"name":"InitLineNo","sig":"(var Record Price List Line)","named":"(var PriceListLine: Record \"Price List Line\")","returns":"","kind":"procedure","access":"public","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(var PriceListLine: Record \"Price List Line\")","returns":"","kind":"procedure","access":"public","obsolete":null}]},{"name":"SetGenerateHeader","sig":"(Boolean)","named":"(UseDefault: Boolean)","returns":"","kind":"procedure","access":"public","obsolete":null,"range":"18-29","first":18,"last":29,"obsoleteSince":null,"spans":[{"from":18,"to":29,"named":"(UseDefault: Boolean)","returns":"","kind":"procedure","access":"public","obsolete":null}]}]}