KVSPSAUpdateJobAccountEntries#
Procedures#
CreateJobAccEntryFromPSP(Record KVSPSAJobPSPLine, Boolean, Date, Decimal, Decimal) :#
procedure CreateJobAccEntryFromPSP(JobPSPLine: Record "KVSPSAJobPSPLine"; IsCost: Boolean; Date: Date; Qty: Decimal; Amount: Decimal):
FindPSPJobAccountSetup(Enum KVSPSAJobAccountEntryType, Code[20], Code[20], Code[20]) :#
procedure FindPSPJobAccountSetup(FindType: Enum "KVSPSAJobAccountEntryType"; FindNo: Code[20]; WorkPackage: Code[20]; PhaseCode: Code[20]):
CreateJobAccEntryFromBudgetEntry(Record KVSPSA Job Budget Entry, Boolean) :#
Summary: Create "KVSPSA Job Account Entry" From "KVSPSA Job Budget Entry"
procedure CreateJobAccEntryFromBudgetEntry(var JobBudgetEntry: Record "KVSPSA Job Budget Entry"; IsCost: Boolean):
Parameters:
JobBudgetEntry
: The "KVSPSA Job Budget Entry" Record which is used to fill JobAccountEntryIsCost
: A boolean to control the Cost Validation
Events#
KVSPSAOnBeforeFindPSPJobAccountSetup(Enum KVSPSAJobAccountEntryType, Code[20], Code[20]) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeFindPSPJobAccountSetup(var JobAccountEntryType: Enum "KVSPSAJobAccountEntryType"; var No: Code[20]; var WorkPackageCode: Code[20]):
[EventSubscriber(ObjectType::Report, Report::"KVSPSAUpdateJobAccountEntries", 'KVSPSAOnBeforeFindPSPJobAccountSetup', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeFindPSPJobAccountSetup(var JobAccountEntryType: Enum "KVSPSAJobAccountEntryType"; var No: Code[20]; var WorkPackageCode: Code[20])
begin
end;
KVSPSAOnBeforeOnAfterGetRecordPSAJobPSPLine(Record KVSPSAJobPSPLine, Boolean) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeOnAfterGetRecordPSAJobPSPLine(JobPSPLine: Record "KVSPSAJobPSPLine"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Report, Report::"KVSPSAUpdateJobAccountEntries", 'KVSPSAOnBeforeOnAfterGetRecordPSAJobPSPLine', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeOnAfterGetRecordPSAJobPSPLine(JobPSPLine: Record "KVSPSAJobPSPLine"; var IsHandled: Boolean)
begin
end;
KVSPSAOnCreateJobAccEntriesForPSPHeader(Record KVSPSAJobPSPHeader) :#
[IntegrationEvent(true, false)]
local procedure KVSPSAOnCreateJobAccEntriesForPSPHeader(JobPSPHeader: Record "KVSPSAJobPSPHeader"):
[EventSubscriber(ObjectType::Report, Report::"KVSPSAUpdateJobAccountEntries", 'KVSPSAOnCreateJobAccEntriesForPSPHeader', '', false, false)]
local procedure DoSomethingKVSPSAOnCreateJobAccEntriesForPSPHeader(JobPSPHeader: Record "KVSPSAJobPSPHeader")
begin
end;
OnBeforeInsertToBufferFromBudgetEntry(Record KVSPSA Job Account Entry, Record KVSPSA Job Budget Entry, Boolean) :#
Summary: Integration Event that runs before the Insert in JobAccountEntry
[IntegrationEvent(false, false)]
local procedure OnBeforeInsertToBufferFromBudgetEntry(var JobAccountEntry: Record "KVSPSA Job Account Entry"; JobBudgetEntry: Record "KVSPSA Job Budget Entry"; IsCost: Boolean):
[EventSubscriber(ObjectType::Report, Report::"KVSPSAUpdateJobAccountEntries", 'OnBeforeInsertToBufferFromBudgetEntry', '', false, false)]
local procedure DoSomethingOnBeforeInsertToBufferFromBudgetEntry(var JobAccountEntry: Record "KVSPSA Job Account Entry"; JobBudgetEntry: Record "KVSPSA Job Budget Entry"; IsCost: Boolean)
begin
end;
Parameters:
JobAccountEntry
: The "KVSPSA Job Account Entry" Record which is about to be insertedJobBudgetEntry
: The "KVSPSA Job Budget Entry" Record which is used to fill JobAccountEntryIsCost
: A boolean to control the Cost Validation
OnBeforeInsertToBufferFromPSP(Record KVSPSA Job Account Entry, Record KVSPSAJobPSPLine, Boolean) :#
Summary: Integration Event that runs before the Insert in JobAccountEntry
[IntegrationEvent(false, false)]
local procedure OnBeforeInsertToBufferFromPSP(var JobAccountEntry: Record "KVSPSA Job Account Entry"; JobPSPLine: Record "KVSPSAJobPSPLine"; IsCost: Boolean):
[EventSubscriber(ObjectType::Report, Report::"KVSPSAUpdateJobAccountEntries", 'OnBeforeInsertToBufferFromPSP', '', false, false)]
local procedure DoSomethingOnBeforeInsertToBufferFromPSP(var JobAccountEntry: Record "KVSPSA Job Account Entry"; JobPSPLine: Record "KVSPSAJobPSPLine"; IsCost: Boolean)
begin
end;
Parameters:
JobAccountEntry
: The "KVSPSA Job Account Entry" Record which is about to be insertedJobPSPLine
: The "KVSPSAJobPSPLine" Record which is used to fill JobAccountEntryIsCost
: A boolean to control the Cost Validation