---
title: "Codeunit 7009 CopyFromToPriceListLine, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/points/
object: https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/
checked: 2026-11-20
changed: 2026-10-05
subject: "Microsoft Dynamics 365 Business Central"
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/"
---

# Codeunit 7009 CopyFromToPriceListLine, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/points/

28 procedures and triggers with a step in src/Layers/W1/BaseApp/Pricing/PriceList/CopyFromToPriceListLine.Codeunit.al, in source order, read from the text, not from a run.

## CopyFrom

[Line 53](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L53).

- [60](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L60) writes [Table 7001 Price List Line](https://jonas-paprotka.de/ref/table/7001-price-list-line/) DeleteAll
- [66](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L66) validates [Table 7001 Price List Line](https://jonas-paprotka.de/ref/table/7001-price-list-line/) `Source Type`
- [66](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L66) calls `ConvertToSourceType`
- [67](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L67) validates [Table 7001 Price List Line](https://jonas-paprotka.de/ref/table/7001-price-list-line/) `Source No.`
- [72](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L72) validates [Table 7001 Price List Line](https://jonas-paprotka.de/ref/table/7001-price-list-line/) `Asset Type`
- [73](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L73) validates [Table 7001 Price List Line](https://jonas-paprotka.de/ref/table/7001-price-list-line/) `Asset No.`
- [75](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L75) calls `VerifySalesPriceConsistency`
- [76](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L76) validates [Table 7001 Price List Line](https://jonas-paprotka.de/ref/table/7001-price-list-line/) `Variant Code`
- [77](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L77) validates [Table 7001 Price List Line](https://jonas-paprotka.de/ref/table/7001-price-list-line/) `Unit of Measure Code`
- [87](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L87) raises `OnCopyFromSalesPrice`
- [88](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L88) calls `InsertPriceListLine`

## VerifySalesPriceConsistency

[Line 95](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L95), local.

- [100](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L100) calls `ReferencedItemRecordMissing`
- [103](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L103) calls `ReferencedItemVariantRecordMissing`
- [106](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L106) calls `ReferencedUnitOfMeasureRecordMissing`
- [109](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L109) calls `ReferencedCurrencyRecordMissing`

## CopyFrom

[Line 306](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L306).

- [313](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L313) writes [Table 7001 Price List Line](https://jonas-paprotka.de/ref/table/7001-price-list-line/) DeleteAll
- [319](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L319) validates [Table 7001 Price List Line](https://jonas-paprotka.de/ref/table/7001-price-list-line/) `Source Type`
- [319](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L319) calls `ConvertToSourceType`
- [320](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L320) validates [Table 7001 Price List Line](https://jonas-paprotka.de/ref/table/7001-price-list-line/) `Source No.`
- [326](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L326) validates [Table 7001 Price List Line](https://jonas-paprotka.de/ref/table/7001-price-list-line/) `Asset Type`
- [328](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L328) validates [Table 7001 Price List Line](https://jonas-paprotka.de/ref/table/7001-price-list-line/) `Asset Type`
- [330](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L330) validates [Table 7001 Price List Line](https://jonas-paprotka.de/ref/table/7001-price-list-line/) `Asset No.`
- [332](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L332) calls `VerifySalesLineDiscConsistency`
- [334](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L334) validates [Table 7001 Price List Line](https://jonas-paprotka.de/ref/table/7001-price-list-line/) `Variant Code`
- [335](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L335) validates [Table 7001 Price List Line](https://jonas-paprotka.de/ref/table/7001-price-list-line/) `Unit of Measure Code`
- [345](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L345) raises `OnCopyFromSalesLineDiscount`
- [346](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L346) calls `InsertPriceListLine`

## VerifySalesLineDiscConsistency

[Line 353](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L353), local.

- [359](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L359) calls `ReferencedItemRecordMissing`
- [362](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L362) calls `ReferencedItemVariantRecordMissing`
- [365](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L365) calls `ReferencedUnitOfMeasureRecordMissing`
- [369](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L369) calls `ReferencedCurrencyRecordMissing`

## CopyTo

[Line 403](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L403).

- [406](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L406) writes [Table 7002 Sales Price](https://jonas-paprotka.de/ref/table/7002-sales-price/) DeleteAll
- [410](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L410) calls `ConvertFromSourceType`
- [424](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L424) raises `OnCopyToSalesPrice`
- [425](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L425) writes [Table 7002 Sales Price](https://jonas-paprotka.de/ref/table/7002-sales-price/) Insert(true)

## CopyTo

[Line 444](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L444).

- [447](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L447) writes [Table 7004 Sales Line Discount](https://jonas-paprotka.de/ref/table/7004-sales-line-discount/) DeleteAll
- [451](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L451) calls `ConvertFromSourceType`
- [455](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L455) calls `ConvertAssetTypeToSalesDiscType`
- [464](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L464) raises `OnCopyToSalesLineDiscount`
- [465](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L465) writes [Table 7004 Sales Line Discount](https://jonas-paprotka.de/ref/table/7004-sales-line-discount/) Insert(true)

## CopyFrom

[Line 496](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L496).

- [503](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L503) writes [Table 7001 Price List Line](https://jonas-paprotka.de/ref/table/7001-price-list-line/) DeleteAll
- [510](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L510) calls `SetJobAsSource`
- [511](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L511) validates [Table 7001 Price List Line](https://jonas-paprotka.de/ref/table/7001-price-list-line/) `Asset Type`
- [512](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L512) validates [Table 7001 Price List Line](https://jonas-paprotka.de/ref/table/7001-price-list-line/) `Asset No.`
- [514](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L514) calls `VerifyJobItemPriceConsistency`
- [515](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L515) validates [Table 7001 Price List Line](https://jonas-paprotka.de/ref/table/7001-price-list-line/) `Variant Code`
- [516](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L516) validates [Table 7001 Price List Line](https://jonas-paprotka.de/ref/table/7001-price-list-line/) `Unit of Measure Code`
- [525](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L525) calls `InsertPriceListLine`
- [531](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L531) validates [Table 7001 Price List Line](https://jonas-paprotka.de/ref/table/7001-price-list-line/) `Amount Type`
- [536](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L536) calls `InsertPriceListLine`
- [538](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L538) raises `OnCopyFromJobItemPrice`

## VerifyJobItemPriceConsistency

[Line 545](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L545), local.

- [550](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L550) calls `ReferencedItemRecordMissing`
- [553](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L553) calls `ReferencedItemVariantRecordMissing`
- [556](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L556) calls `ReferencedUnitOfMeasureRecordMissing`
- [559](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L559) calls `ReferencedCurrencyRecordMissing`

## CopyFrom

[Line 565](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L565).

- [572](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L572) writes [Table 7001 Price List Line](https://jonas-paprotka.de/ref/table/7001-price-list-line/) DeleteAll
- [578](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L578) calls `SetJobAsSource`
- [579](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L579) validates [Table 7001 Price List Line](https://jonas-paprotka.de/ref/table/7001-price-list-line/) `Asset Type`
- [580](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L580) validates [Table 7001 Price List Line](https://jonas-paprotka.de/ref/table/7001-price-list-line/) `Asset No.`
- [582](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L582) calls `VerifyJobGLAccountPriceConsistency`
- [604](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L604) raises `OnCopyFromJobGLAccountPrice`
- [605](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L605) calls `InsertPriceListLine`
- [617](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L617) raises `OnCopyFromJobGLAccountPrice`
- [618](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L618) calls `InsertPriceListLine`

## VerifyJobGLAccountPriceConsistency

[Line 626](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L626), local.

- [631](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L631) calls `ReferencedGLAccountRecordMissing`
- [634](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L634) calls `ReferencedCurrencyRecordMissing`

## CopyFrom

[Line 640](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L640).

- [647](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L647) writes [Table 7001 Price List Line](https://jonas-paprotka.de/ref/table/7001-price-list-line/) DeleteAll
- [654](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L654) calls `SetJobAsSource`
- [658](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L658) validates [Table 7001 Price List Line](https://jonas-paprotka.de/ref/table/7001-price-list-line/) `Asset Type`
- [660](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L660) validates [Table 7001 Price List Line](https://jonas-paprotka.de/ref/table/7001-price-list-line/) `Asset Type`
- [662](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L662) validates [Table 7001 Price List Line](https://jonas-paprotka.de/ref/table/7001-price-list-line/) `Asset No.`
- [664](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L664) calls `VerifyJobResourcePriceConsistency`
- [674](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L674) calls `InsertPriceListLine`
- [680](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L680) validates [Table 7001 Price List Line](https://jonas-paprotka.de/ref/table/7001-price-list-line/) `Amount Type`
- [685](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L685) calls `InsertPriceListLine`
- [687](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L687) raises `OnCopyFromJobResourcePrice`

## VerifyJobResourcePriceConsistency

[Line 694](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L694), local.

- [700](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L700) calls `ReferencedResourceRecordMissing`
- [704](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L704) calls `ReferencedCurrencyRecordMissing`
- [707](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L707) calls `ReferencedWorkTypeRecordMissing`

## SetJobAsSource

[Line 713](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L713), local.

- [716](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L716) calls `ReferencedJobRecordMissing`
- [720](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L720) calls `ReferencedJobTaskRecordMissing`
- [724](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L724) validates [Table 7001 Price List Line](https://jonas-paprotka.de/ref/table/7001-price-list-line/) `Source Type`
- [725](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L725) validates [Table 7001 Price List Line](https://jonas-paprotka.de/ref/table/7001-price-list-line/) `Source No.`
- [727](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L727) validates [Table 7001 Price List Line](https://jonas-paprotka.de/ref/table/7001-price-list-line/) `Source Type`
- [728](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L728) validates [Table 7001 Price List Line](https://jonas-paprotka.de/ref/table/7001-price-list-line/) `Parent Source No.`
- [729](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L729) validates [Table 7001 Price List Line](https://jonas-paprotka.de/ref/table/7001-price-list-line/) `Source No.`

## CopyFrom

[Line 734](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L734).

- [742](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L742) writes [Table 7001 Price List Line](https://jonas-paprotka.de/ref/table/7001-price-list-line/) DeleteAll
- [750](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L750) validates [Table 7001 Price List Line](https://jonas-paprotka.de/ref/table/7001-price-list-line/) `Source Type`
- [755](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L755) validates [Table 7001 Price List Line](https://jonas-paprotka.de/ref/table/7001-price-list-line/) `Asset Type`
- [757](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L757) validates [Table 7001 Price List Line](https://jonas-paprotka.de/ref/table/7001-price-list-line/) `Asset Type`
- [759](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L759) validates [Table 7001 Price List Line](https://jonas-paprotka.de/ref/table/7001-price-list-line/) `Asset No.`
- [761](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L761) calls `VerifyResourceCostConsistency`
- [768](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L768) raises `OnCopyFromResourceCost`
- [769](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L769) calls `InsertPriceListLine`
- [771](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L771) writes [Table 202 Resource Cost](https://jonas-paprotka.de/ref/table/202-resource-cost/) Insert
- [775](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L775) calls `CopySpecialCostTypes`

## VerifyResourceCostConsistency

[Line 780](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L780), local.

- [786](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L786) calls `ReferencedResourceRecordMissing`
- [790](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L790) calls `ReferencedWorkTypeRecordMissing`

## CopySpecialCostTypes

[Line 796](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L796), local.

- [804](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L804) calls `FindResources`
- [805](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L805) calls `CreatePriceLinePerResource`

## CreatePriceLinePerResource

[Line 822](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L822), local.

- [828](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L828) calls `IsDuplicateResourceCost`
- [832](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L832) runs [Codeunit 220 Resource-Find Cost](https://jonas-paprotka.de/ref/codeunit/220-resource-find-cost/)
- [834](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L834) writes [Table 202 Resource Cost](https://jonas-paprotka.de/ref/table/202-resource-cost/) Insert
- [838](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L838) validates [Table 7001 Price List Line](https://jonas-paprotka.de/ref/table/7001-price-list-line/) `Source Type`
- [840](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L840) validates [Table 7001 Price List Line](https://jonas-paprotka.de/ref/table/7001-price-list-line/) `Asset Type`
- [841](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L841) validates [Table 7001 Price List Line](https://jonas-paprotka.de/ref/table/7001-price-list-line/) `Asset No.`
- [843](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L843) calls `VerifyResourceCostConsistency`
- [850](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L850) raises `OnCopyFromResourceCost`
- [851](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L851) calls `InsertPriceListLine`

## CopyFrom

[Line 865](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L865).

- [872](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L872) writes [Table 7001 Price List Line](https://jonas-paprotka.de/ref/table/7001-price-list-line/) DeleteAll
- [878](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L878) validates [Table 7001 Price List Line](https://jonas-paprotka.de/ref/table/7001-price-list-line/) `Source Type`
- [882](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L882) validates [Table 7001 Price List Line](https://jonas-paprotka.de/ref/table/7001-price-list-line/) `Asset Type`
- [884](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L884) validates [Table 7001 Price List Line](https://jonas-paprotka.de/ref/table/7001-price-list-line/) `Asset Type`
- [886](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L886) validates [Table 7001 Price List Line](https://jonas-paprotka.de/ref/table/7001-price-list-line/) `Asset No.`
- [888](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L888) calls `VerifyResourcePriceConsistency`
- [897](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L897) raises `OnCopyFromResourcePrice`
- [898](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L898) calls `InsertPriceListLine`

## VerifyResourcePriceConsistency

[Line 904](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L904), local.

- [910](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L910) calls `ReferencedResourceRecordMissing`
- [914](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L914) calls `ReferencedCurrencyRecordMissing`
- [917](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L917) calls `ReferencedWorkTypeRecordMissing`

## CopyFrom

[Line 923](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L923).

- [930](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L930) writes [Table 7001 Price List Line](https://jonas-paprotka.de/ref/table/7001-price-list-line/) DeleteAll
- [936](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L936) validates [Table 7001 Price List Line](https://jonas-paprotka.de/ref/table/7001-price-list-line/) `Source Type`
- [937](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L937) validates [Table 7001 Price List Line](https://jonas-paprotka.de/ref/table/7001-price-list-line/) `Source No.`
- [941](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L941) validates [Table 7001 Price List Line](https://jonas-paprotka.de/ref/table/7001-price-list-line/) `Asset Type`
- [942](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L942) validates [Table 7001 Price List Line](https://jonas-paprotka.de/ref/table/7001-price-list-line/) `Asset No.`
- [944](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L944) calls `VerifyPurchPriceConsistency`
- [945](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L945) validates [Table 7001 Price List Line](https://jonas-paprotka.de/ref/table/7001-price-list-line/) `Variant Code`
- [946](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L946) validates [Table 7001 Price List Line](https://jonas-paprotka.de/ref/table/7001-price-list-line/) `Unit of Measure Code`
- [955](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L955) raises `OnCopyFromPurchasePrice`
- [956](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L956) calls `InsertPriceListLine`

## VerifyPurchPriceConsistency

[Line 963](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L963), local.

- [968](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L968) calls `ReferencedItemRecordMissing`
- [971](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L971) calls `ReferencedItemVariantRecordMissing`
- [974](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L974) calls `ReferencedUnitOfMeasureRecordMissing`
- [977](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L977) calls `ReferencedCurrencyRecordMissing`

## CopyFrom

[Line 983](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L983).

- [990](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L990) writes [Table 7001 Price List Line](https://jonas-paprotka.de/ref/table/7001-price-list-line/) DeleteAll
- [996](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L996) validates [Table 7001 Price List Line](https://jonas-paprotka.de/ref/table/7001-price-list-line/) `Source Type`
- [997](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L997) validates [Table 7001 Price List Line](https://jonas-paprotka.de/ref/table/7001-price-list-line/) `Source No.`
- [1001](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L1001) validates [Table 7001 Price List Line](https://jonas-paprotka.de/ref/table/7001-price-list-line/) `Asset Type`
- [1002](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L1002) validates [Table 7001 Price List Line](https://jonas-paprotka.de/ref/table/7001-price-list-line/) `Asset No.`
- [1004](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L1004) calls `VerifyPurchLineDiscConsistency`
- [1005](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L1005) validates [Table 7001 Price List Line](https://jonas-paprotka.de/ref/table/7001-price-list-line/) `Variant Code`
- [1006](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L1006) validates [Table 7001 Price List Line](https://jonas-paprotka.de/ref/table/7001-price-list-line/) `Unit of Measure Code`
- [1015](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L1015) raises `OnCopyFromPurchLineDiscount`
- [1016](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L1016) calls `InsertPriceListLine`

## VerifyPurchLineDiscConsistency

[Line 1023](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L1023), local.

- [1028](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L1028) calls `ReferencedItemRecordMissing`
- [1031](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L1031) calls `ReferencedItemVariantRecordMissing`
- [1034](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L1034) calls `ReferencedUnitOfMeasureRecordMissing`
- [1037](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L1037) calls `ReferencedCurrencyRecordMissing`

## InsertPriceListLine

[Line 1043](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L1043), local.

- [1045](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L1045) calls `InitLineNo`
- [1046](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L1046) raises `OnBeforeInsertPriceListLine`
- [1047](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L1047) writes [Table 7001 Price List Line](https://jonas-paprotka.de/ref/table/7001-price-list-line/) Insert(true)

## InitLineNo

[Line 1050](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L1050).

- [1057](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L1057) calls `SetPriceListCode`
- [1058](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L1058) calls [Table 7001 Price List Line](https://jonas-paprotka.de/ref/table/7001-price-list-line/) `SetNextLineNo`
- [1059](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L1059) calls `GetMaxPriceLineNo`
- [1061](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L1061) calls [Codeunit 7017 Price List Management](https://jonas-paprotka.de/ref/codeunit/7017-price-list-management/) `DefineDefaultPriceList`
- [1062](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L1062) calls [Table 7001 Price List Line](https://jonas-paprotka.de/ref/table/7001-price-list-line/) `SetNextLineNo`
- [1065](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L1065) raises `OnAfterInitLineNo`

## SetPriceListCode

[Line 1073](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L1073), local.

- [1081](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L1081) calls [Codeunit 7017 Price List Management](https://jonas-paprotka.de/ref/codeunit/7017-price-list-management/) `GetDefaultPriceListCode`
- [1084](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L1084) calls `FindHeader`
- [1085](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L1085) calls `InsertHeader`
- [1092](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L1092) writes [Table 7000 Price List Header](https://jonas-paprotka.de/ref/table/7000-price-list-header/) Modify

## FindHeader

[Line 1097](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L1097), local.

- [1107](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L1107) raises `OnBeforeFindHeader`

## InsertHeader

[Line 1111](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L1111), local.

- [1117](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L1117) calls [Codeunit 8703 Feature Telemetry](https://jonas-paprotka.de/ref/codeunit/8703-feature-telemetry/) `LogUptake`
- [1117](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L1117) calls [Codeunit 7001 Price Calculation Mgt.](https://jonas-paprotka.de/ref/codeunit/7001-price-calculation-mgt/) `GetFeatureTelemetryName`
- [1119](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L1119) calls [Table 7001 Price List Line](https://jonas-paprotka.de/ref/table/7001-price-list-line/) `CopyTo`
- [1120](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L1120) calls [Table 7000 Price List Header](https://jonas-paprotka.de/ref/table/7000-price-list-header/) `CopyFrom`
- [1121](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L1121) calls `GenerateDescription`
- [1124](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L1124) raises `OnBeforeInsertHeader`
- [1125](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L1125) writes [Table 7000 Price List Header](https://jonas-paprotka.de/ref/table/7000-price-list-header/) Insert(true)
- [1127](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L1127) calls [Codeunit 8703 Feature Telemetry](https://jonas-paprotka.de/ref/codeunit/8703-feature-telemetry/) `LogUsage`
- [1127](https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/source/#L1127) calls [Codeunit 7001 Price Calculation Mgt.](https://jonas-paprotka.de/ref/codeunit/7001-price-calculation-mgt/) `GetFeatureTelemetryName`

## Source

AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at 4303e5e584d3aa5d9e98cbc615525a5396ad6ed7.

JOP-AL, 2026-11-20.
