Skip to content

KVSPSATotalWBSManagement#

Events#

KVSPSAOnAfterTransferAdditionalFieldsToTotalPSP(Record KVSPSAJobPSPLine, Record KVSPSAJobPSPLine) :#

Summary: Event triggered after transferring additional fields from source PSP line to total PSP line. Allows subscribers to transfer custom fields or perform additional modifications after the standard field transfer process.

[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterTransferAdditionalFieldsToTotalPSP(var TotalJobPSPLine: Record "KVSPSAJobPSPLine"; SourceJobPSPLine: Record "KVSPSAJobPSPLine"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSATotalWBSManagement", 'KVSPSAOnAfterTransferAdditionalFieldsToTotalPSP', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterTransferAdditionalFieldsToTotalPSP(var TotalJobPSPLine: Record "KVSPSAJobPSPLine"; SourceJobPSPLine: Record "KVSPSAJobPSPLine")
begin
end;

Parameters:

  • TotalJobPSPLine: The total job PSP line record that received the field transfers and can be further modified.
  • SourceJobPSPLine: The source job PSP line record that provided the field values for the transfer.

KVSPSAOnAfterTransferValuesToTotalPSP(Record KVSPSAJobPSPLine, Record KVSPSAJobPSPLine) :#

Summary: Event triggered after transferring values from transfer PSP line to total PSP line during WBS totaling calculations. Allows subscribers to perform additional value transfers or calculations after the standard totaling process.

[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterTransferValuesToTotalPSP(var TotalJobPSPLine: Record "KVSPSAJobPSPLine"; var TransferJobPSPLine: Record "KVSPSAJobPSPLine"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSATotalWBSManagement", 'KVSPSAOnAfterTransferValuesToTotalPSP', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterTransferValuesToTotalPSP(var TotalJobPSPLine: Record "KVSPSAJobPSPLine"; var TransferJobPSPLine: Record "KVSPSAJobPSPLine")
begin
end;

Parameters:

  • TotalJobPSPLine: The total job PSP line record that received the transferred values and can be further modified.
  • TransferJobPSPLine: The transfer job PSP line record that provided the values for the totaling calculation.