Codeunit 18090657 EOS049 Sales Price Mgt.

Codeunit 18090657 EOS049 Sales Price Mgt.

Methods

CountSalesPriceLinesCustomer

procedure CountSalesPriceLinesCustomer(SalesPriceLineCustomer: Record "EOS049 Sales Pr. Line - Cust."; Which: Text): Integer

Parameters / Return Value

  • SalesPriceLineCustomer Record "EOS049 Sales Pr. Line - Cust."

  • Which Text

  • Returns Integer


CountDuplicatesSalesPriceLinesCustomer

procedure CountDuplicatesSalesPriceLinesCustomer(SalesPriceLineCustomer: Record "EOS049 Sales Pr. Line - Cust."): Integer

Parameters / Return Value

  • SalesPriceLineCustomer Record "EOS049 Sales Pr. Line - Cust."

  • Returns Integer


CountSalesPriceLinesItem

procedure CountSalesPriceLinesItem(SalesPriceLineItem: Record "EOS049 Sales Price Line - Item"; Which: Text): Integer

Parameters / Return Value

  • SalesPriceLineItem Record "EOS049 Sales Price Line - Item"

  • Which Text

  • Returns Integer


CountDuplicatesSalesPriceLinesItem

procedure CountDuplicatesSalesPriceLinesItem(SalesPriceLineItem: Record "EOS049 Sales Price Line - Item"): Integer

Parameters / Return Value

  • SalesPriceLineItem Record "EOS049 Sales Price Line - Item"

  • Returns Integer


CountSalesPriceLines

procedure CountSalesPriceLines(SalesPriceLine: Record "EOS049 Sales Price Line"; Which: Text): Integer

Parameters / Return Value

  • SalesPriceLine Record "EOS049 Sales Price Line"

  • Which Text

  • Returns Integer


CountDuplicatesSalesPriceLines

procedure CountDuplicatesSalesPriceLines(SalesPriceCode: Code[20]): Integer

Parameters / Return Value

  • SalesPriceCode Code[20]

  • Returns Integer


FilterSalesPriceLines

procedure FilterSalesPriceLines(Type_Customer: Option; Level_Customer: Option; Code_Customer: Code[20]; Type_Item: Option; Code_Item: Code[20]; UOM: Code[10]; Currency_Code: Code[10]; StartingDate: Date; var SalesPriceLine: Record "EOS049 Sales Price Line"): Integer

Parameters / Return Value

  • Type_Customer Option

  • Level_Customer Option

  • Code_Customer Code[20]

  • Type_Item Option

  • Code_Item Code[20]

  • UOM Code[10]

  • Currency_Code Code[10]

  • StartingDate Date

  • SalesPriceLine Record "EOS049 Sales Price Line"

  • Returns Integer


TransferSalesPriceToSalesPriceLines

procedure TransferSalesPriceToSalesPriceLines(SalesPriceCode: Code[20]; IsTemp: Boolean)

Parameters / Return Value

  • SalesPriceCode Code[20]

  • IsTemp Boolean


AlignSalesPriceToSalesPriceLines

procedure AlignSalesPriceToSalesPriceLines(SalesPriceCode: Code[20])

Parameters / Return Value

  • SalesPriceCode Code[20]

DeleteSalesPriceLines

procedure DeleteSalesPriceLines(SalesPriceCode: Code[20])

Parameters / Return Value

  • SalesPriceCode Code[20]

ShowDuplicatesSalesPriceLines

procedure ShowDuplicatesSalesPriceLines(SalesPriceCode: Code[20])

Parameters / Return Value

  • SalesPriceCode Code[20]

FieldsTransferFromSalesPriceLinesToDuplicatedSalesPriceLines

procedure FieldsTransferFromSalesPriceLinesToDuplicatedSalesPriceLines(SalesPriceLine: Record "EOS049 Sales Price Line"; var DuplicatedSalesLine: Record "EOS049 Duplicated Sales Line")

Parameters / Return Value

  • SalesPriceLine Record "EOS049 Sales Price Line"

  • DuplicatedSalesLine Record "EOS049 Duplicated Sales Line"


FieldsTransferFromDuplicatedSalesPriceLinesToSalesPriceLines

procedure FieldsTransferFromDuplicatedSalesPriceLinesToSalesPriceLines(DuplicatedSalesLine: Record "EOS049 Duplicated Sales Line"; var SalesPriceLine: Record "EOS049 Sales Price Line")

Parameters / Return Value

  • DuplicatedSalesLine Record "EOS049 Duplicated Sales Line"

  • SalesPriceLine Record "EOS049 Sales Price Line"


ShowSalesPriceFromCustomer

procedure ShowSalesPriceFromCustomer(Customer: Record Customer)

Parameters / Return Value

  • Customer Record "Customer"

ShowSalesPriceFromItem

procedure ShowSalesPriceFromItem(Item: Record Item)

Parameters / Return Value

  • Item Record "Item"

ShowSalesPriceFromSalesLine

procedure ShowSalesPriceFromSalesLine(var SalesLine: Record "Sales Line")

Parameters / Return Value

  • SalesLine Record "Sales Line"

ShowSalesPriceCard

procedure ShowSalesPriceCard(SalesPriceCode: Code[20])

Parameters / Return Value

  • SalesPriceCode Code[20]

CalcNoOfSalesPricesSFA

procedure CalcNoOfSalesPricesSFA(SalesLine: Record "Sales Line"): Integer

Parameters / Return Value

  • SalesLine Record "Sales Line"

  • Returns Integer


Events

OnAfterFieldsTransferToSalesPriceLinesOnBeforeInsert

local procedure OnAfterFieldsTransferToSalesPriceLinesOnBeforeInsert(SalesPriceHeader: Record "EOS049 Sales Price Header"; SalesPriceLineCustomer: Record "EOS049 Sales Pr. Line - Cust."; SalesPriceLineItem: Record "EOS049 Sales Price Line - Item"; IsTemp: Boolean; var SalesPriceLine: Record "EOS049 Sales Price Line")

Parameters / Return Value

  • SalesPriceHeader Record "EOS049 Sales Price Header"

  • SalesPriceLineCustomer Record "EOS049 Sales Pr. Line - Cust."

  • SalesPriceLineItem Record "EOS049 Sales Price Line - Item"

  • IsTemp Boolean

  • SalesPriceLine Record "EOS049 Sales Price Line"


OnShowSalesPriceFromCustomerOnBeforeOpenPage

local procedure OnShowSalesPriceFromCustomerOnBeforeOpenPage(Customer: Record Customer; var FilteredSalesPrice: Record "EOS049 Sales Price Line" temporary)

Parameters / Return Value

  • Customer Record "Customer"

  • FilteredSalesPrice Record "EOS049 Sales Price Line"



EOS Labs -