Table of Contents

KVSPSAUpgradeFeaturePriceCalc

Procedures

CopyFrom(Record KVSPSAJob Resource Price, Record Price List Line) :

Summary: This procedure copy job resource prices to create price list lines.

procedure CopyFrom(var KVSPSAJobResourcePrice: Record "KVSPSAJob Resource Price"; var PriceListLine: Record "Price List Line"): 

Parameters:

  • KVSPSAJobResourcePrice: Job resource price record to copy from.
  • PriceListLine: Price list line record to copy to.

CopyFrom(Record KVSPSAResource Cost, Record Price List Line) :

Summary: This procedure copy resource costs to create price list lines.

procedure CopyFrom(var KVSPSAResourceCost: Record "KVSPSAResource Cost"; var PriceListLine: Record "Price List Line"): 

Parameters:

  • KVSPSAResourceCost: Resource cost record to copy from.
  • PriceListLine: Price list line record to copy to.

CopyFrom(Record KVSPSAResource Purch. Price, Record Price List Line) :

Summary: This procedure copies resource purchase prices to create price list lines.

procedure CopyFrom(var KVSPSAResourcePurchPrice: Record "KVSPSAResource Purch. Price"; var PriceListLine: Record "Price List Line"): 

Parameters:

  • KVSPSAResourcePurchPrice: Resource purchase price record to copy from.
  • PriceListLine: Price list line record to copy to.

SetGenerateHeader(Boolean) :

Summary: This procedure set value of GlobalGenerateHeader and GlobalUseDefaultPriceLists.

procedure SetGenerateHeader(UseDefault: Boolean): 

Parameters:

  • UseDefault: Indicates whether to use default price lists.

InitLineNo(Record Price List Line, Boolean) :

Summary: This procedure initializes the line number for a price list line.

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

Parameters:

  • PriceListLine: Price List Line record to initialize.
  • PriceListPerJobNo: Indicates whether it should has unique price list code for job.

Events

KVSPSAOnAfterCountRecords(Record Document Entry) :

[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterCountRecords(var TempDocumentEntry: Record "Document Entry" temporary): 

KVSPSAOnAfterGetListOfTables(Text) :

[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterGetListOfTables(var Result: Text): 

KVSPSAOnAfterUpdateData(Record Feature Data Update Status, Boolean) :

[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterUpdateData(FeatureDataUpdateStatus: Record "Feature Data Update Status"; var IsHandled: Boolean): 

KVSPSAOnBeforeChangePurchaseDocumentDataPriceCalcMethod(Enum Price Calculation Method, Boolean) :

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeChangePurchaseDocumentDataPriceCalcMethod(var PurchasePriceCalculationMethod: Enum "Price Calculation Method"; var IsHandled: Boolean): 

KVSPSAOnBeforeChangePurchaseMasterDataPriceCalcMethod(Enum Price Calculation Method, Boolean) :

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeChangePurchaseMasterDataPriceCalcMethod(var PurchasePriceCalculationMethod: Enum "Price Calculation Method"; var IsHandled: Boolean): 

KVSPSAOnBeforeClosePreviousKVSKBAResourcePrices(Boolean) :

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeClosePreviousKVSKBAResourcePrices(var IsHandled: Boolean): 

KVSPSAOnBeforeClosePreviousKVSPSAJobResourcePrices(Boolean) :

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeClosePreviousKVSPSAJobResourcePrices(var IsHandled: Boolean): 

KVSPSAOnBeforeClosePreviousKVSPSAResourceCosts(Boolean) :

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeClosePreviousKVSPSAResourceCosts(var IsHandled: Boolean): 

KVSPSAOnBeforeChangePurchaseSetup(Record Feature Data Update Status, Boolean) :

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeChangePurchaseSetup(FeatureDataUpdateStatus: Record "Feature Data Update Status"; var IsHandled: Boolean): 

KVSPSAOnBeforeChangeSalesDocumentDataPriceCalcMethod(Enum Price Calculation Method, Boolean) :

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeChangeSalesDocumentDataPriceCalcMethod(var PurchasePriceCalculationMethod: Enum "Price Calculation Method"; var IsHandled: Boolean): 

KVSPSAOnBeforeChangeSalesMasterDataPriceCalcMethod(Enum Price Calculation Method, Boolean) :

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeChangeSalesMasterDataPriceCalcMethod(var PurchasePriceCalculationMethod: Enum "Price Calculation Method"; var IsHandled: Boolean): 

KVSPSAOnBeforeChangeSalesSetup(Record Feature Data Update Status, Boolean) :

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeChangeSalesSetup(FeatureDataUpdateStatus: Record "Feature Data Update Status"; var IsHandled: Boolean): 

KVSPSAOnBeforeCreateJobICReviewResourcePrice(Record KVSPSAJobICReviewResourcePrice, Record KVSPSAJob Resource Price, Boolean) :

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeCreateJobICReviewResourcePrice(var JobICReviewResourcePrice: Record "KVSPSAJobICReviewResourcePrice"; KVSPSAJobResourcePrice: Record "KVSPSAJob Resource Price"; var IsHandled: Boolean): 

KVSPSAOnBeforeFindHeader(Record Price List Line, Record Price List Header) :

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeFindHeader(PriceListLine: Record "Price List Line"; var PriceListHeader: Record "Price List Header"): 

KVSPSAOnBeforeFindHeaderPerJob(Record Price List Line, Record Price List Header) :

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeFindHeaderPerJob(PriceListLine: Record "Price List Line"; var PriceListHeader: Record "Price List Header"): 

KVSPSAOnBeforeInsertJobICReviewResourcePrice(Record KVSPSAJobICReviewResourcePrice, Record KVSPSAJob Resource Price, Boolean) :

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeInsertJobICReviewResourcePrice(var JobICReviewResourcePrice: Record "KVSPSAJobICReviewResourcePrice"; KVSPSAJobResourcePrice: Record "KVSPSAJob Resource Price"; var IsHandled: Boolean): 

KVSPSAOnBeforeInsertHeader(Record Price List Line, Record Price List Header) :

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeInsertHeader(PriceListLine: Record "Price List Line"; var PriceListHeader: Record "Price List Header"): 

KVSPSAOnBeforeInsertHeaderPerJob(Record Price List Line, Record Price List Header) :

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeInsertHeaderPerJob(PriceListLine: Record "Price List Line"; var PriceListHeader: Record "Price List Header"): 

KVSPSAOnBeforeUpdate(Record Feature Data Update Status, Boolean) :

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeUpdate(FeatureDataUpdateStatus: Record "Feature Data Update Status"; var IsHandled: Boolean): 

KVSPSAOnCopyFromKVSPSAJobResourcePrice(Record KVSPSAJob Resource Price, Record Price List Line) :

[IntegrationEvent(false, false)]
local procedure KVSPSAOnCopyFromKVSPSAJobResourcePrice(KVSPSAJobResourcePrice: Record "KVSPSAJob Resource Price"; var PriceListLine: Record "Price List Line"): 

KVSPSAOnCopyFromKVSPSAResourceCost(Record KVSPSAResource Cost, Record Price List Line) :

[IntegrationEvent(false, false)]
local procedure KVSPSAOnCopyFromKVSPSAResourceCost(KVSPSAResourceCost: Record "KVSPSAResource Cost"; var PriceListLine: Record "Price List Line"): 

KVSPSAOnCopyFromKVSPSAResourcePurchPrice(Record KVSPSAResource Purch. Price, Record Price List Line) :

[IntegrationEvent(false, false)]
local procedure KVSPSAOnCopyFromKVSPSAResourcePurchPrice(KVSPSAResourcePurchPrice: Record "KVSPSAResource Purch. Price"; var PriceListLine: Record "Price List Line"): 

KVSPSAOnUpdateDataOnBeforeUpdateResourceCost(Record Feature Data Update Status, Boolean) :

[IntegrationEvent(false, false)]
local procedure KVSPSAOnUpdateDataOnBeforeUpdateResourceCost(FeatureDataUpdateStatus: Record "Feature Data Update Status"; var IsHandled: Boolean):