Table of Contents

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
Internal Code Code[20]

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) :

Summary: This procedure sets up a new job time journal line based on the last job time journal line. It initializes the fields with values from the last line or defaults if no previous line exists

procedure SetUpNewLine(LastJobTimeJournalLine: Record "KVSPSAJobTimeJournalLine"): 

Parameters:

  • LastJobTimeJournalLine: Last job time journal line to copy values from

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

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"): 

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.

KVSPSAOnAfterIsFromToTimeNecessary(Record KVSPSAJobTimeJournalLine, Boolean) :

[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterIsFromToTimeNecessary(var JobTimeJournalLine: Record "KVSPSAJobTimeJournalLine"; var TimeIsNecessary: Boolean): 

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): 

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): 

KVSPSAOnBeforeIsFromToTimeNecessary(Record KVSPSAJobTimeJournalLine, Boolean, Boolean) :

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeIsFromToTimeNecessary(var JobTimeJournalLine: Record "KVSPSAJobTimeJournalLine"; var TimeIsNecessary: Boolean; var IsHandled: Boolean): 

KVSPSAOnBeforeTestQuantity(Record KVSPSAJobTimeJournalLine, Record KVSPSAJobTimeJournalLine, Boolean) :

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeTestQuantity(var JobTimeJournalLine: Record "KVSPSAJobTimeJournalLine"; var xJobTimeJournalLine: Record "KVSPSAJobTimeJournalLine"; var IsHandled: Boolean): 

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):