KVSPSAJobPSPHeader#
Fields#
Name | Type | Note |
---|---|---|
Version No. | Code[20] | |
Job No. | Code[20] | |
Description | Text[100] | |
Description (Job) | Text[100] | FlowField |
Comment | Boolean | FlowField |
Job Budget Name | Code[10] | |
Person Responsible | Code[20] | FlowField |
Applied At | Date | |
Applied By | Code[50] | |
Blocked | Boolean | |
Active | Boolean | |
Budgetstatus | Option | OptionMembers: ,in check,released,rejected |
Released By | Code[50] | |
Released At | Date | |
Sales Budget Blocked | Boolean | |
Invoice Currency Factor | Decimal | |
Invoice Currency Date | Date | |
Date Filter | Date | FlowFilter |
Job Invoice Currency Code | Code[10] | FlowField |
Total PSP | Boolean | FlowField |
Distribution Template Code | Code[20] | |
Distribution Active | Boolean | |
Hide Hint | Boolean | |
Origin Budget | Boolean | |
Show Costs | Enum (KVSPSAForecastDisplayType) | |
Show Profit | Enum (KVSPSAForecastDisplayType) | |
PSP Deactivated at | Date |
Procedures#
AddNewPSPPartsFromTemplate() :#
procedure AddNewPSPPartsFromTemplate():
CalculatePrecursor() :#
procedure CalculatePrecursor():
CopyFromPSPIntoThis() :#
procedure CopyFromPSPIntoThis():
CreateJobShipment() :#
procedure CreateJobShipment():
CreateJobVendorShipment() :#
procedure CreateJobVendorShipment():
CreateNew() :#
procedure CreateNew():
CreatePurchaseDocument() :#
Summary: CreatePurchaseDocument starts the process to order the necessary items and resources for the job. A short overview over the steps: 1) calculate the quantitity to order (with a commit!) 2) shows the page "Create Purchase Document", where the user can mark and see all the budget lines 3) based on the target set by the user, a purchase quote, order or a requisition worksheet will be created.
procedure CreatePurchaseDocument():
CreateSalesDoc() :#
procedure CreateSalesDoc():
CreateTransferDoc() :#
procedure CreateTransferDoc():
DocumentNavigate() :#
procedure DocumentNavigate():
FillTotallingAndPositionNumbering(Boolean) :#
procedure FillTotallingAndPositionNumbering(PositionNumbering: Boolean):
FindStandardBudget() : Code[10]#
procedure FindStandardBudget(): Code[10]
GetLastLineNoUsedInPSP(Boolean) : Integer#
Summary: returns the highest line no. used in wbs lines for this wbs header
procedure GetLastLineNoUsedInPSP(WithLock: Boolean): Integer
Parameters:
WithLock
: Allows the calling function to lock the record
Returns:
KVSPSACalculatePrecursor() :#
Summary: Calculates the precursors of the linked tasks.
procedure KVSPSACalculatePrecursor():
KVSPSAUpdatePSPLineCurrency() :#
Summary: Updates the Currency and Currency factors in all the wbs lines of this wbs header.
procedure KVSPSAUpdatePSPLineCurrency():
PrintPSP() :#
procedure PrintPSP():
RenumberWBSLines() :#
procedure RenumberWBSLines():
SetICPartnerInPSPLines() :#
procedure SetICPartnerInPSPLines():
ShowJobPaymentPlan(Record KVSPSAJobPSPLine) :#
procedure ShowJobPaymentPlan(KVSPSAJobPSPLine: Record "KVSPSAJobPSPLine"):
StartPSPPlanning() :#
procedure StartPSPPlanning():
UpdateBudgetQuantityForWBSLines() : Boolean#
procedure UpdateBudgetQuantityForWBSLines(): Boolean
UpdateJobAccountEntry() :#
procedure UpdateJobAccountEntry():
Events#
KVSPSAOnAfterUpdateLines(Record KVSPSAJobPSPHeader, Record KVSPSAJobPSPHeader) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterUpdateLines(JobPSPHeader: Record "KVSPSAJobPSPHeader"; OldActiveJobPSPHeader: Record "KVSPSAJobPSPHeader"):
[EventSubscriber(ObjectType::Table, Table::"KVSPSAJobPSPHeader", 'KVSPSAOnAfterUpdateLines', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterUpdateLines(JobPSPHeader: Record "KVSPSAJobPSPHeader"; OldActiveJobPSPHeader: Record "KVSPSAJobPSPHeader")
begin
end;
KVSPSAOnBeforeAskForUpdateCurrencyFactor(Record KVSPSAJobPSPHeader, Boolean, Boolean) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeAskForUpdateCurrencyFactor(var JobPSPHeader: Record "KVSPSAJobPSPHeader"; var UpdateCurrencyFactorFromJob: Boolean; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Table, Table::"KVSPSAJobPSPHeader", 'KVSPSAOnBeforeAskForUpdateCurrencyFactor', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeAskForUpdateCurrencyFactor(var JobPSPHeader: Record "KVSPSAJobPSPHeader"; var UpdateCurrencyFactorFromJob: Boolean; var IsHandled: Boolean)
begin
end;
KVSPSAOnBeforeCheckBlocked(Record KVSPSAJobPSPHeader, Boolean) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeCheckBlocked(var JobPSPHeader: Record "KVSPSAJobPSPHeader"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Table, Table::"KVSPSAJobPSPHeader", 'KVSPSAOnBeforeCheckBlocked', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeCheckBlocked(var JobPSPHeader: Record "KVSPSAJobPSPHeader"; var IsHandled: Boolean)
begin
end;
KVSPSAOnBeforeUpdateCurrencyFactorOnInsert(Record KVSPSAJobPSPHeader, Record Job, Boolean) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeUpdateCurrencyFactorOnInsert(var JobPSPHeader: Record "KVSPSAJobPSPHeader"; Job: Record "Job"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Table, Table::"KVSPSAJobPSPHeader", 'KVSPSAOnBeforeUpdateCurrencyFactorOnInsert', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeUpdateCurrencyFactorOnInsert(var JobPSPHeader: Record "KVSPSAJobPSPHeader"; Job: Record "Job"; var IsHandled: Boolean)
begin
end;