Skip to content

KVSPSAUpgradeFeaturePriceCalc#

Procedures#

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

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

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

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

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

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

SetGenerateHeader(Boolean) :#

procedure SetGenerateHeader(UseDefault: Boolean): 

InitLineNo(Record Price List Line, Boolean) :#

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

Events#

KVSPSAOnAfterCountRecords(Record Document Entry) :#

[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterCountRecords(var TempDocumentEntry: Record "Document Entry" temporary): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSAUpgradeFeaturePriceCalc", 'KVSPSAOnAfterCountRecords', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterCountRecords(var TempDocumentEntry: Record "Document Entry" temporary)
begin
end;

KVSPSAOnAfterGetListOfTables(Text) :#

[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterGetListOfTables(var Result: Text): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSAUpgradeFeaturePriceCalc", 'KVSPSAOnAfterGetListOfTables', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterGetListOfTables(var Result: Text)
begin
end;

KVSPSAOnAfterUpdateData(Record Feature Data Update Status, Boolean) :#

[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterUpdateData(FeatureDataUpdateStatus: Record "Feature Data Update Status"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSAUpgradeFeaturePriceCalc", 'KVSPSAOnAfterUpdateData', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterUpdateData(FeatureDataUpdateStatus: Record "Feature Data Update Status"; var IsHandled: Boolean)
begin
end;

KVSPSAOnBeforeChangePurchaseDocumentDataPriceCalcMethod(Enum Price Calculation Method, Boolean) :#

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeChangePurchaseDocumentDataPriceCalcMethod(var PurchasePriceCalculationMethod: Enum "Price Calculation Method"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSAUpgradeFeaturePriceCalc", 'KVSPSAOnBeforeChangePurchaseDocumentDataPriceCalcMethod', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeChangePurchaseDocumentDataPriceCalcMethod(var PurchasePriceCalculationMethod: Enum "Price Calculation Method"; var IsHandled: Boolean)
begin
end;

KVSPSAOnBeforeChangePurchaseMasterDataPriceCalcMethod(Enum Price Calculation Method, Boolean) :#

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeChangePurchaseMasterDataPriceCalcMethod(var PurchasePriceCalculationMethod: Enum "Price Calculation Method"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSAUpgradeFeaturePriceCalc", 'KVSPSAOnBeforeChangePurchaseMasterDataPriceCalcMethod', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeChangePurchaseMasterDataPriceCalcMethod(var PurchasePriceCalculationMethod: Enum "Price Calculation Method"; var IsHandled: Boolean)
begin
end;

KVSPSAOnBeforeClosePreviousKVSKBAResourcePrices(Boolean) :#

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeClosePreviousKVSKBAResourcePrices(var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSAUpgradeFeaturePriceCalc", 'KVSPSAOnBeforeClosePreviousKVSKBAResourcePrices', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeClosePreviousKVSKBAResourcePrices(var IsHandled: Boolean)
begin
end;

KVSPSAOnBeforeClosePreviousKVSPSAJobResourcePrices(Boolean) :#

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeClosePreviousKVSPSAJobResourcePrices(var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSAUpgradeFeaturePriceCalc", 'KVSPSAOnBeforeClosePreviousKVSPSAJobResourcePrices', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeClosePreviousKVSPSAJobResourcePrices(var IsHandled: Boolean)
begin
end;

KVSPSAOnBeforeClosePreviousKVSPSAResourceCosts(Boolean) :#

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeClosePreviousKVSPSAResourceCosts(var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSAUpgradeFeaturePriceCalc", 'KVSPSAOnBeforeClosePreviousKVSPSAResourceCosts', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeClosePreviousKVSPSAResourceCosts(var IsHandled: Boolean)
begin
end;

KVSPSAOnBeforeChangePurchaseSetup(Record Feature Data Update Status, Boolean) :#

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeChangePurchaseSetup(FeatureDataUpdateStatus: Record "Feature Data Update Status"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSAUpgradeFeaturePriceCalc", 'KVSPSAOnBeforeChangePurchaseSetup', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeChangePurchaseSetup(FeatureDataUpdateStatus: Record "Feature Data Update Status"; var IsHandled: Boolean)
begin
end;

KVSPSAOnBeforeChangeSalesDocumentDataPriceCalcMethod(Enum Price Calculation Method, Boolean) :#

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeChangeSalesDocumentDataPriceCalcMethod(var PurchasePriceCalculationMethod: Enum "Price Calculation Method"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSAUpgradeFeaturePriceCalc", 'KVSPSAOnBeforeChangeSalesDocumentDataPriceCalcMethod', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeChangeSalesDocumentDataPriceCalcMethod(var PurchasePriceCalculationMethod: Enum "Price Calculation Method"; var IsHandled: Boolean)
begin
end;

KVSPSAOnBeforeChangeSalesMasterDataPriceCalcMethod(Enum Price Calculation Method, Boolean) :#

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeChangeSalesMasterDataPriceCalcMethod(var PurchasePriceCalculationMethod: Enum "Price Calculation Method"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSAUpgradeFeaturePriceCalc", 'KVSPSAOnBeforeChangeSalesMasterDataPriceCalcMethod', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeChangeSalesMasterDataPriceCalcMethod(var PurchasePriceCalculationMethod: Enum "Price Calculation Method"; var IsHandled: Boolean)
begin
end;

KVSPSAOnBeforeChangeSalesSetup(Record Feature Data Update Status, Boolean) :#

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeChangeSalesSetup(FeatureDataUpdateStatus: Record "Feature Data Update Status"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSAUpgradeFeaturePriceCalc", 'KVSPSAOnBeforeChangeSalesSetup', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeChangeSalesSetup(FeatureDataUpdateStatus: Record "Feature Data Update Status"; var IsHandled: Boolean)
begin
end;

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): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSAUpgradeFeaturePriceCalc", 'KVSPSAOnBeforeCreateJobICReviewResourcePrice', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeCreateJobICReviewResourcePrice(var JobICReviewResourcePrice: Record "KVSPSAJobICReviewResourcePrice"; KVSPSAJobResourcePrice: Record "KVSPSAJob Resource Price"; var IsHandled: Boolean)
begin
end;

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"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSAUpgradeFeaturePriceCalc", 'KVSPSAOnBeforeFindHeader', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeFindHeader(PriceListLine: Record "Price List Line"; var PriceListHeader: Record "Price List Header")
begin
end;

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"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSAUpgradeFeaturePriceCalc", 'KVSPSAOnBeforeFindHeaderPerJob', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeFindHeaderPerJob(PriceListLine: Record "Price List Line"; var PriceListHeader: Record "Price List Header")
begin
end;

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): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSAUpgradeFeaturePriceCalc", 'KVSPSAOnBeforeInsertJobICReviewResourcePrice', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeInsertJobICReviewResourcePrice(var JobICReviewResourcePrice: Record "KVSPSAJobICReviewResourcePrice"; KVSPSAJobResourcePrice: Record "KVSPSAJob Resource Price"; var IsHandled: Boolean)
begin
end;

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"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSAUpgradeFeaturePriceCalc", 'KVSPSAOnBeforeInsertHeader', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeInsertHeader(PriceListLine: Record "Price List Line"; var PriceListHeader: Record "Price List Header")
begin
end;

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"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSAUpgradeFeaturePriceCalc", 'KVSPSAOnBeforeInsertHeaderPerJob', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeInsertHeaderPerJob(PriceListLine: Record "Price List Line"; var PriceListHeader: Record "Price List Header")
begin
end;

KVSPSAOnBeforeUpdate(Record Feature Data Update Status, Boolean) :#

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeUpdate(FeatureDataUpdateStatus: Record "Feature Data Update Status"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSAUpgradeFeaturePriceCalc", 'KVSPSAOnBeforeUpdate', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeUpdate(FeatureDataUpdateStatus: Record "Feature Data Update Status"; var IsHandled: Boolean)
begin
end;

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"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSAUpgradeFeaturePriceCalc", 'KVSPSAOnCopyFromKVSPSAJobResourcePrice', '', false, false)]
local procedure DoSomethingKVSPSAOnCopyFromKVSPSAJobResourcePrice(KVSPSAJobResourcePrice: Record "KVSPSAJob Resource Price"; var PriceListLine: Record "Price List Line")
begin
end;

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

[IntegrationEvent(false, false)]
local procedure KVSPSAOnCopyFromKVSPSAResourceCost(KVSPSAResourceCost: Record "KVSPSAResource Cost"; var PriceListLine: Record "Price List Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSAUpgradeFeaturePriceCalc", 'KVSPSAOnCopyFromKVSPSAResourceCost', '', false, false)]
local procedure DoSomethingKVSPSAOnCopyFromKVSPSAResourceCost(KVSPSAResourceCost: Record "KVSPSAResource Cost"; var PriceListLine: Record "Price List Line")
begin
end;

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"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSAUpgradeFeaturePriceCalc", 'KVSPSAOnCopyFromKVSPSAResourcePurchPrice', '', false, false)]
local procedure DoSomethingKVSPSAOnCopyFromKVSPSAResourcePurchPrice(KVSPSAResourcePurchPrice: Record "KVSPSAResource Purch. Price"; var PriceListLine: Record "Price List Line")
begin
end;

KVSPSAOnUpdateDataOnBeforeUpdateResourceCost(Record Feature Data Update Status, Boolean) :#

[IntegrationEvent(false, false)]
local procedure KVSPSAOnUpdateDataOnBeforeUpdateResourceCost(FeatureDataUpdateStatus: Record "Feature Data Update Status"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSAUpgradeFeaturePriceCalc", 'KVSPSAOnUpdateDataOnBeforeUpdateResourceCost', '', false, false)]
local procedure DoSomethingKVSPSAOnUpdateDataOnBeforeUpdateResourceCost(FeatureDataUpdateStatus: Record "Feature Data Update Status"; var IsHandled: Boolean)
begin
end;