Skip to content

KVSPSAJobTimeJournalLine#

Fields#

Name Type Note
Journal Template Name Code[10]
Line No. Integer
Job No. Code[20]
Posting Date Date
Document No. Code[20]
Resource No. Code[20]
Description Text[100]
Quantity Decimal
Quantity in Minutes Decimal
Resource Group No. Code[20]
Chargeable Boolean
Shortcut Dimension 1 Code Code[20]
Shortcut Dimension 2 Code Code[20]
Work Type Code Code[10]
Dimension Set ID Integer
Phase Code Code[20]
Task Code Code[20]
Step Code Code[20]
Source Code Code[10]
Journal Batch Name Code[10]
Reason Code Code[10]
Recurring Method Option OptionMembers: ,Fixed,Variable
Expiration Date Date
Recurring Frequency Text[10]
KVSPSAInvoicing Type Enum (KVSPSAPspInvoicingType)
Person Responsible Code[20]
Posting No. Series Code[20]
Start Time Time
End Time Time
Break Decimal
Break Minutes Integer
Unit Cost Decimal
Job Document No. Code[20]
Job Document Line No. Integer
Correction Boolean
Correction of Entry No. Integer
Work Package Code Code[20]
Job Document Type Enum (KVSPSAJob Document Type)
Job.-Time Entry No. Integer
KVSPSATo-Do Progress Integer
Budget Line No. Integer
Description 2 Text[50]
Service Document Type Enum Service Document Type
Service Document No. Code[20]
Service Line No. Integer
Invoicing Quantity Decimal
To-Do Invoicing % Decimal
To-Do Chargeable Boolean
KVSPSA25er Progress Enum (KVSPSA25erProgressType)
Job Time Comment Boolean FlowField
To-Do No. Code[20]
Qty. to Complete Decimal
Contact No. Code[20]
Start Time Break Time
End Time Break Time
Ship Correction Boolean
Manual Invoicing Qty. Boolean
Surcharge Type Code Code[20]
Cancel Line Boolean

Procedures#

CreateDim(List) :#

procedure CreateDim(DefaultDimSource: List): 

GetActivity() :#

Summary: GetActivity is called to get the activity for the line.

procedure GetActivity(): 

GetText(Text, Text) :#

Summary: GetText is called to get the text from the comment line.

procedure GetText(var CustomerText: Text; var InternalText: Text): 

Parameters:

  • CustomerText:
  • InternalText:

IsChangeableInvoiceQtyInTimeTracking() : Boolean#

Summary: Is called to check if the invoice quantity is changeable.

procedure IsChangeableInvoiceQtyInTimeTracking(): Boolean

Returns:

IsFromToTimeNecessary() : Boolean#

Summary: Is called to check if the Time is necessary.

procedure IsFromToTimeNecessary(): Boolean

Returns:

KVSPSAConnectWithBudgetLine() :#

Summary: Call to try to find a fitting budget line and fill the budget line no.

procedure KVSPSAConnectWithBudgetLine(): 

SetUpNewLine(Record KVSPSAJobTimeJournalLine) :#

procedure SetUpNewLine(LastJobTimeJournalLine: Record "KVSPSAJobTimeJournalLine"): 

ShowDimensions() :#

Summary: Is Called to show the dimensions.

procedure ShowDimensions(): 

ShowLineComments() :#

Summary: Is called to show the line comments.

procedure ShowLineComments(): 

ValidateText(Text, Boolean) :#

Summary: Is called to Splitt the TextData and insert it into the JournalComment Table.

procedure ValidateText(var TextData: Text; IsPrintCustomerDocText: Boolean): 

Parameters:

  • TextData:
  • IsPrintCustomerDocText:

Events#

KVSPSAOnAfterIsFromToTimeNecessary(Record KVSPSAJobTimeJournalLine, Boolean) :#

[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterIsFromToTimeNecessary(var JobTimeJournalLine: Record "KVSPSAJobTimeJournalLine"; var TimeIsNecessary: Boolean): 
[EventSubscriber(ObjectType::Table, Table::"KVSPSAJobTimeJournalLine", 'KVSPSAOnAfterIsFromToTimeNecessary', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterIsFromToTimeNecessary(var JobTimeJournalLine: Record "KVSPSAJobTimeJournalLine"; var TimeIsNecessary: Boolean)
begin
end;

KVSPSAOnBeforeCheck24Hours(Record KVSPSAJobTimeJournalLine, Decimal, Enum KVSPSATimeCheckSource, Decimal, Boolean) :#

Summary: KVSPSAOnBeforeCheck24Hours allows to skip the check for 24 hours based on the source.

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeCheck24Hours(JobTimeJournalLine: Record "KVSPSAJobTimeJournalLine"; CheckQuantity: Decimal; TimeCheckSource: Enum "KVSPSATimeCheckSource"; PostedHours: Decimal; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Table, Table::"KVSPSAJobTimeJournalLine", 'KVSPSAOnBeforeCheck24Hours', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeCheck24Hours(JobTimeJournalLine: Record "KVSPSAJobTimeJournalLine"; CheckQuantity: Decimal; TimeCheckSource: Enum "KVSPSATimeCheckSource"; PostedHours: Decimal; var IsHandled: Boolean)
begin
end;

Parameters:

  • JobTimeJournalLine:
  • CheckQuantity:
  • TimeCheckSource:
  • PostedHours:
  • IsHandled:

KVSPSAOnBeforeCreateDim(Record KVSPSAJobTimeJournalLine, Boolean, List) :#

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeCreateDim(var JobTimeJournalLine: Record "KVSPSAJobTimeJournalLine"; var IsHandled: Boolean; var DefaultDimSource: List): 
[EventSubscriber(ObjectType::Table, Table::"KVSPSAJobTimeJournalLine", 'KVSPSAOnBeforeCreateDim', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeCreateDim(var JobTimeJournalLine: Record "KVSPSAJobTimeJournalLine"; var IsHandled: Boolean; var DefaultDimSource: List)
begin
end;

KVSPSAOnAfterGetActivityJobTimeJournalLineValidation(Record KVSPSAJobTimeJournalLine, Record KVSPSAJobTimeJournalLine, Record KVSPSA Job Budget Line) :#

Summary: KVSPSAOnAfterGetActivityJobTimeJournalLineValidation can be used to add additional validations, before JobTimeJournalLine is transferred to Rec

[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterGetActivityJobTimeJournalLineValidation(var Rec: Record "KVSPSAJobTimeJournalLine"; var JobTimeJournalLine: Record "KVSPSAJobTimeJournalLine"; var JobBudgetLine: Record "KVSPSA Job Budget Line"): 
[EventSubscriber(ObjectType::Table, Table::"KVSPSAJobTimeJournalLine", 'KVSPSAOnAfterGetActivityJobTimeJournalLineValidation', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterGetActivityJobTimeJournalLineValidation(var Rec: Record "KVSPSAJobTimeJournalLine"; var JobTimeJournalLine: Record "KVSPSAJobTimeJournalLine"; var JobBudgetLine: Record "KVSPSA Job Budget Line")
begin
end;

Parameters:

  • Rec: The Record that will be updated with Transferfields from JobTimeJournalLine
  • JobTimeJournalLine: The Record that will be used for Transferfields
  • JobBudgetLine: The associated Job Budget Line.

KVSPSAOnBeforeIsFromToTimeNecessary(Record KVSPSAJobTimeJournalLine, Boolean, Boolean) :#

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeIsFromToTimeNecessary(var JobTimeJournalLine: Record "KVSPSAJobTimeJournalLine"; var TimeIsNecessary: Boolean; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Table, Table::"KVSPSAJobTimeJournalLine", 'KVSPSAOnBeforeIsFromToTimeNecessary', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeIsFromToTimeNecessary(var JobTimeJournalLine: Record "KVSPSAJobTimeJournalLine"; var TimeIsNecessary: Boolean; var IsHandled: Boolean)
begin
end;

KVSPSAOnBeforeTestQuantity(Record KVSPSAJobTimeJournalLine, Record KVSPSAJobTimeJournalLine, Boolean) :#

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeTestQuantity(var JobTimeJournalLine: Record "KVSPSAJobTimeJournalLine"; var xJobTimeJournalLine: Record "KVSPSAJobTimeJournalLine"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Table, Table::"KVSPSAJobTimeJournalLine", 'KVSPSAOnBeforeTestQuantity', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeTestQuantity(var JobTimeJournalLine: Record "KVSPSAJobTimeJournalLine"; var xJobTimeJournalLine: Record "KVSPSAJobTimeJournalLine"; var IsHandled: Boolean)
begin
end;

KVSPSAOnBeforeValidateQuantity(Record KVSPSAJobTimeJournalLine, Record KVSPSAJobTimeJournalLine, Integer, Boolean) :#

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeValidateQuantity(var JobTimeJournalLine: Record "KVSPSAJobTimeJournalLine"; var xJobTimeJournalLine: Record "KVSPSAJobTimeJournalLine"; FieldNo: Integer; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Table, Table::"KVSPSAJobTimeJournalLine", 'KVSPSAOnBeforeValidateQuantity', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeValidateQuantity(var JobTimeJournalLine: Record "KVSPSAJobTimeJournalLine"; var xJobTimeJournalLine: Record "KVSPSAJobTimeJournalLine"; FieldNo: Integer; var IsHandled: Boolean)
begin
end;