KVSPSAGenJournalLine#
Extends #437dbf0e84ff417a965ded2bb9650972#Gen. Journal Line
Fields#
Name | Type | Note |
---|---|---|
KVSPSAPhase Code | Code[20] | |
KVSPSATask Code | Code[20] | |
KVSPSAStep Code | Code[20] | |
KVSPSAWork Package Code | Code[20] | |
KVSPSASales Posting | Boolean | |
KVSPSABudget Line No. | Integer | |
KVSPSABalance Posting | Boolean | |
KVSPSATo-Do No.19 | Code[20] | |
KVSPSAJob Indirect Cost % | Decimal | |
KVSPSAJob Dir. Unit Cost (LCY) | Decimal | |
KVSPSAOriginalDeferralAmount | Decimal | |
KVSPSADeferralPurchPrice | Decimal | |
KVSPSAJob Inv. Currency Factor | Decimal | |
KVSPSAJob Inv. Currency Code | Code[10] | |
KVSPSACorrectOfJobLedgEntryNo. | Integer | |
KVSPSANonDeductibleVATType | Enum (KVSPSANonDeductibleVATType) | |
KVSPSANonDeductVATDimCode | Code[20] | |
KVSPSANonDeductVATDimValueCode | Code[20] |
Procedures#
KVSPSAGetActivitySingleLine() :#
Summary: This procedure retrieves the activity for a single gen. journal line. It will open job psp line or job budget line page depend on setup field in job. After user selects the line, it will be assigned to the gen. journal line.
procedure KVSPSAGetActivitySingleLine():
KVSPSAGetToDos() :#
Summary: This procedure finds valid job budget lines related to the current journal line. If found and user selects one, it will transfer job related fields to the journal line.
procedure KVSPSAGetToDos():
KVSPSASetInteractivValidateJobNo(Boolean) :#
Summary: This procedure sets the value of GlobalInteractivValidateJobNo
procedure KVSPSASetInteractivValidateJobNo(InteractivValidateJobNo: Boolean):
Parameters:
InteractivValidateJobNo
: New value of GlobalInteractivValidateJobNo
KVSPSASuppressNonDeductVATNotification(Boolean) :#
Summary: This procedure sets the value of GlobalSuppressNonDeductVATNotification
procedure KVSPSASuppressNonDeductVATNotification(SuppressNonDeductVATNotification: Boolean):
Parameters:
SuppressNonDeductVATNotification
: New value of GlobalSuppressNonDeductVATNotification
Events#
KVSPSAOnBeforeGetJobPostingType(Record Gen. Journal Line, Boolean) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeGetJobPostingType(var GenJournalLine: Record "Gen. Journal Line"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::TableExtension, TableExtension::"KVSPSAGenJournalLine", 'KVSPSAOnBeforeGetJobPostingType', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeGetJobPostingType(var GenJournalLine: Record "Gen. Journal Line"; var IsHandled: Boolean)
begin
end;
KVSPSAOnBeforeSetTableViewToDoNo(Record Gen. Journal Line, Record KVSPSA Job Budget Line) :#
Summary: This event can be used to change the filter for the job budget lines shown in the field To-Do-No. before the SetTableView call is made
[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeSetTableViewToDoNo(var GenJournalLine: Record "Gen. Journal Line"; var JobBudgetLine: Record "KVSPSA Job Budget Line"):
[EventSubscriber(ObjectType::TableExtension, TableExtension::"KVSPSAGenJournalLine", 'KVSPSAOnBeforeSetTableViewToDoNo', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeSetTableViewToDoNo(var GenJournalLine: Record "Gen. Journal Line"; var JobBudgetLine: Record "KVSPSA Job Budget Line")
begin
end;
Parameters:
JobBudgetLine
: JobBudgetLine that is changedGenJournalLine
: GenJournalLine for filtering