Codeunit CopyFromToPriceListLine

ID 7009
Namespace: Microsoft.Pricing.PriceList

Methods

SetGenerateHeader

procedure SetGenerateHeader()

SetGenerateHeader

procedure SetGenerateHeader(UseDefault: Boolean)

Parameters

Name Type Description
UseDefault Boolean

CopyFrom

Obsolete

This element will become obsolete from version 19.0. Will be removed along with the obsolete price tables.

[Obsolete(Will be removed along with the obsolete price tables.,19.0)]
procedure CopyFrom(var SalesPrice: Record "Sales Price", var PriceListLine: Record "Price List Line")

Parameters

Name Type Description
SalesPrice Table Microsoft.Sales.Pricing."Sales Price"
PriceListLine Table Microsoft.Pricing.PriceList."Price List Line"

CopyFrom

Obsolete

This element will become obsolete from version 19.0. Will be removed along with the obsolete price tables.

[Obsolete(Will be removed along with the obsolete price tables.,19.0)]
procedure CopyFrom(var SalesLineDiscount: Record "Sales Line Discount", var PriceListLine: Record "Price List Line")

Parameters

Name Type Description
SalesLineDiscount Table Microsoft.Sales.Pricing."Sales Line Discount"
PriceListLine Table Microsoft.Pricing.PriceList."Price List Line"

CopyTo

Obsolete

This element will become obsolete from version 19.0. Will be removed along with the obsolete price tables.

[Obsolete(Will be removed along with the obsolete price tables.,19.0)]
procedure CopyTo(var TempSalesPrice: Record "Sales Price" temporary, var PriceListLine: Record "Price List Line"): Boolean

Parameters

Name Type Description
TempSalesPrice Table Microsoft.Sales.Pricing."Sales Price"
PriceListLine Table Microsoft.Pricing.PriceList."Price List Line"

Returns

Type Description
Boolean

CopyTo

Obsolete

This element will become obsolete from version 19.0. Will be removed along with the obsolete price tables.

[Obsolete(Will be removed along with the obsolete price tables.,19.0)]
procedure CopyTo(var TempSalesLineDiscount: Record "Sales Line Discount" temporary, var PriceListLine: Record "Price List Line"): Boolean

Parameters

Name Type Description
TempSalesLineDiscount Table Microsoft.Sales.Pricing."Sales Line Discount"
PriceListLine Table Microsoft.Pricing.PriceList."Price List Line"

Returns

Type Description
Boolean

CopyFrom

Obsolete

This element will become obsolete from version 19.0. Will be removed along with the obsolete price tables.

[Obsolete(Will be removed along with the obsolete price tables.,19.0)]
procedure CopyFrom(var JobItemPrice: Record "Job Item Price", var PriceListLine: Record "Price List Line")

Parameters

Name Type Description
JobItemPrice Table Microsoft.Projects.Project.Pricing."Job Item Price"
PriceListLine Table Microsoft.Pricing.PriceList."Price List Line"

CopyFrom

Obsolete

This element will become obsolete from version 19.0. Will be removed along with the obsolete price tables.

[Obsolete(Will be removed along with the obsolete price tables.,19.0)]
procedure CopyFrom(var JobGLAccountPrice: Record "Job G/L Account Price", var PriceListLine: Record "Price List Line")

Parameters

Name Type Description
JobGLAccountPrice Table Microsoft.Projects.Project.Pricing."Job G/L Account Price"
PriceListLine Table Microsoft.Pricing.PriceList."Price List Line"

CopyFrom

Obsolete

This element will become obsolete from version 19.0. Will be removed along with the obsolete price tables.

[Obsolete(Will be removed along with the obsolete price tables.,19.0)]
procedure CopyFrom(var JobResourcePrice: Record "Job Resource Price", var PriceListLine: Record "Price List Line")

Parameters

Name Type Description
JobResourcePrice Table Microsoft.Projects.Project.Pricing."Job Resource Price"
PriceListLine Table Microsoft.Pricing.PriceList."Price List Line"

CopyFrom

Obsolete

This element will become obsolete from version 19.0. Will be removed along with the obsolete price tables.

[Obsolete(Will be removed along with the obsolete price tables.,19.0)]
procedure CopyFrom(var ResourceCost: Record "Resource Cost", var PriceListLine: Record "Price List Line")

Parameters

Name Type Description
ResourceCost Table Microsoft.Projects.Resources.Pricing."Resource Cost"
PriceListLine Table Microsoft.Pricing.PriceList."Price List Line"

CopyFrom

Obsolete

This element will become obsolete from version 19.0. Will be removed along with the obsolete price tables.

[Obsolete(Will be removed along with the obsolete price tables.,19.0)]
procedure CopyFrom(var ResourcePrice: Record "Resource Price", var PriceListLine: Record "Price List Line")

Parameters

Name Type Description
ResourcePrice Table Microsoft.Projects.Resources.Pricing."Resource Price"
PriceListLine Table Microsoft.Pricing.PriceList."Price List Line"

CopyFrom

Obsolete

This element will become obsolete from version 19.0. Will be removed along with the obsolete price tables.

[Obsolete(Will be removed along with the obsolete price tables.,19.0)]
procedure CopyFrom(var PurchasePrice: Record "Purchase Price", var PriceListLine: Record "Price List Line")

Parameters

Name Type Description
PurchasePrice Table Microsoft.Purchases.Pricing."Purchase Price"
PriceListLine Table Microsoft.Pricing.PriceList."Price List Line"

CopyFrom

Obsolete

This element will become obsolete from version 19.0. Will be removed along with the obsolete price tables.

[Obsolete(Will be removed along with the obsolete price tables.,19.0)]
procedure CopyFrom(var PurchaseLineDiscount: Record "Purchase Line Discount", var PriceListLine: Record "Price List Line")

Parameters

Name Type Description
PurchaseLineDiscount Table Microsoft.Purchases.Pricing."Purchase Line Discount"
PriceListLine Table Microsoft.Pricing.PriceList."Price List Line"

InitLineNo

procedure InitLineNo(var PriceListLine: Record "Price List Line")

Parameters

Name Type Description
PriceListLine Table Microsoft.Pricing.PriceList."Price List Line"

Events

OnAfterInitLineNo

[IntegrationEvent(False,False)]
local procedure OnAfterInitLineNo(var PriceListLine: Record "Price List Line")

Parameters

Name Type Description
PriceListLine Table Microsoft.Pricing.PriceList."Price List Line"

OnBeforeFindHeader

[IntegrationEvent(False,False)]
local procedure OnBeforeFindHeader(PriceListLine: Record "Price List Line", var PriceListHeader: Record "Price List Header")

Parameters

Name Type Description
PriceListLine Table Microsoft.Pricing.PriceList."Price List Line"
PriceListHeader Table Microsoft.Pricing.PriceList."Price List Header"

OnBeforeInsertHeader

[IntegrationEvent(False,False)]
local procedure OnBeforeInsertHeader(PriceListLine: Record "Price List Line", var PriceListHeader: Record "Price List Header")

Parameters

Name Type Description
PriceListLine Table Microsoft.Pricing.PriceList."Price List Line"
PriceListHeader Table Microsoft.Pricing.PriceList."Price List Header"

OnBeforeInsertPriceListLine

Obsolete

This element will become obsolete from version 19.0. Will be removed along with the obsolete price tables.

[Obsolete(Will be removed along with the obsolete price tables.,19.0)]
[IntegrationEvent(False,False)]
local procedure OnBeforeInsertPriceListLine(var PriceListLine: Record "Price List Line")

Parameters

Name Type Description
PriceListLine Table Microsoft.Pricing.PriceList."Price List Line"

OnCopyFromPurchLineDiscount

Obsolete

This element will become obsolete from version 19.0. Will be removed along with the obsolete price tables.

[IntegrationEvent(False,False)]
[Obsolete(Will be removed along with the obsolete price tables.,19.0)]
local procedure OnCopyFromPurchLineDiscount(PurchaseLineDiscount: Record "Purchase Line Discount", var PriceListLine: Record "Price List Line")

Parameters

Name Type Description
PurchaseLineDiscount Table Microsoft.Purchases.Pricing."Purchase Line Discount"
PriceListLine Table Microsoft.Pricing.PriceList."Price List Line"

OnCopyFromPurchasePrice

Obsolete

This element will become obsolete from version 19.0. Will be removed along with the obsolete price tables.

[IntegrationEvent(False,False)]
[Obsolete(Will be removed along with the obsolete price tables.,19.0)]
local procedure OnCopyFromPurchasePrice(PurchasePrice: Record "Purchase Price", var PriceListLine: Record "Price List Line")

Parameters

Name Type Description
PurchasePrice Table Microsoft.Purchases.Pricing."Purchase Price"
PriceListLine Table Microsoft.Pricing.PriceList."Price List Line"

OnCopyFromResourceCost

Obsolete

This element will become obsolete from version 19.0. Will be removed along with the obsolete price tables.

[IntegrationEvent(False,False)]
[Obsolete(Will be removed along with the obsolete price tables.,19.0)]
local procedure OnCopyFromResourceCost(ResourceCost: Record "Resource Cost", var PriceListLine: Record "Price List Line")

Parameters

Name Type Description
ResourceCost Table Microsoft.Projects.Resources.Pricing."Resource Cost"
PriceListLine Table Microsoft.Pricing.PriceList."Price List Line"

OnCopyFromResourcePrice

Obsolete

This element will become obsolete from version 19.0. Will be removed along with the obsolete price tables.

[IntegrationEvent(False,False)]
[Obsolete(Will be removed along with the obsolete price tables.,19.0)]
local procedure OnCopyFromResourcePrice(ResourcePrice: Record "Resource Price", var PriceListLine: Record "Price List Line")

Parameters

Name Type Description
ResourcePrice Table Microsoft.Projects.Resources.Pricing."Resource Price"
PriceListLine Table Microsoft.Pricing.PriceList."Price List Line"

OnCopyFromJobItemPrice

Obsolete

This element will become obsolete from version 19.0. Will be removed along with the obsolete price tables.

[IntegrationEvent(False,False)]
[Obsolete(Will be removed along with the obsolete price tables.,19.0)]
local procedure OnCopyFromJobItemPrice(var JobItemPrice: Record "Job Item Price", var PriceListLine: Record "Price List Line")

Parameters

Name Type Description
JobItemPrice Table Microsoft.Projects.Project.Pricing."Job Item Price"
PriceListLine Table Microsoft.Pricing.PriceList."Price List Line"

OnCopyFromJobGLAccountPrice

Obsolete

This element will become obsolete from version 19.0. Will be removed along with the obsolete price tables.

[IntegrationEvent(False,False)]
[Obsolete(Will be removed along with the obsolete price tables.,19.0)]
local procedure OnCopyFromJobGLAccountPrice(var JobGLAccountPrice: Record "Job G/L Account Price", var PriceListLine: Record "Price List Line")

Parameters

Name Type Description
JobGLAccountPrice Table Microsoft.Projects.Project.Pricing."Job G/L Account Price"
PriceListLine Table Microsoft.Pricing.PriceList."Price List Line"

OnCopyFromJobResourcePrice

Obsolete

This element will become obsolete from version 19.0. Will be removed along with the obsolete price tables.

[IntegrationEvent(False,False)]
[Obsolete(Will be removed along with the obsolete price tables.,19.0)]
local procedure OnCopyFromJobResourcePrice(var JobResourcePrice: Record "Job Resource Price", var PriceListLine: Record "Price List Line")

Parameters

Name Type Description
JobResourcePrice Table Microsoft.Projects.Project.Pricing."Job Resource Price"
PriceListLine Table Microsoft.Pricing.PriceList."Price List Line"

OnCopyFromSalesPrice

Obsolete

This element will become obsolete from version 19.0. Will be removed along with the obsolete price tables.

[IntegrationEvent(False,False)]
[Obsolete(Will be removed along with the obsolete price tables.,19.0)]
local procedure OnCopyFromSalesPrice(var SalesPrice: Record "Sales Price", var PriceListLine: Record "Price List Line")

Parameters

Name Type Description
SalesPrice Table Microsoft.Sales.Pricing."Sales Price"
PriceListLine Table Microsoft.Pricing.PriceList."Price List Line"

OnCopyToSalesPrice

Obsolete

This element will become obsolete from version 19.0. Will be removed along with the obsolete price tables.

[IntegrationEvent(False,False)]
[Obsolete(Will be removed along with the obsolete price tables.,19.0)]
local procedure OnCopyToSalesPrice(var SalesPrice: Record "Sales Price", var PriceListLine: Record "Price List Line")

Parameters

Name Type Description
SalesPrice Table Microsoft.Sales.Pricing."Sales Price"
PriceListLine Table Microsoft.Pricing.PriceList."Price List Line"

OnCopyFromSalesLineDiscount

Obsolete

This element will become obsolete from version 19.0. Will be removed along with the obsolete price tables.

[IntegrationEvent(False,False)]
[Obsolete(Will be removed along with the obsolete price tables.,19.0)]
local procedure OnCopyFromSalesLineDiscount(var SalesLineDiscount: Record "Sales Line Discount", var PriceListLine: Record "Price List Line")

Parameters

Name Type Description
SalesLineDiscount Table Microsoft.Sales.Pricing."Sales Line Discount"
PriceListLine Table Microsoft.Pricing.PriceList."Price List Line"

OnCopyToSalesLineDiscount

Obsolete

This element will become obsolete from version 19.0. Will be removed along with the obsolete price tables.

[IntegrationEvent(False,False)]
[Obsolete(Will be removed along with the obsolete price tables.,19.0)]
local procedure OnCopyToSalesLineDiscount(var SalesLineDiscount: Record "Sales Line Discount", var PriceListLine: Record "Price List Line")

Parameters

Name Type Description
SalesLineDiscount Table Microsoft.Sales.Pricing."Sales Line Discount"
PriceListLine Table Microsoft.Pricing.PriceList."Price List Line"

See also