KVSPSAJobJournalLine#
Extends #437dbf0e84ff417a965ded2bb9650972#Job Journal Line
Fields#
| Name | Type | Note |
|---|---|---|
| KVSPSAResponsibility Center | Code[10] | |
| KVSPSAJob Time System Date | Date | |
| KVSPSAReverseSign19 | Boolean | |
| KVSPSATo-Do No.19 | Code[20] | |
| KVSPSACustomerNoVendorNo19 | Code[20] | |
| KVSPSACustomerNameVendorName19 | Text[100] | |
| KVSPSACust. / Vend Type19 | Option | OptionMembers: ,Customer,Vendor |
| KVSPSAInvoice Currency Code19 | Code[10] | |
| KVSPSAInvoiceCurrencyFactor19 | Decimal | |
| KVSPSAInv. Discount Amount19 | Decimal | |
| KVSPSAInvDiscountAmountLCY19 | Decimal | |
| KVSPSAItemLedgEntryNoAdj19 | Integer | |
| KVSPSAOriginalJobLedgEntryNo19 | Integer | |
| KVSPSAItem Ledger Entry No. | Integer | |
| KVSPSAShipCorretion | Boolean | |
| KVSPSAManual Invoicing Qty. | Boolean | |
| KVSPSAInv. Difference Quantity | Decimal | |
| KVSPSAFixed Asset Code | Code[20] | |
| KVSPSAFA Total Cost (LCY) | Decimal | |
| KVSPSAAllowPostingInvDiffQty | Boolean | |
| KVSPSAEntry No. Time Ledger | Integer | |
| KVSPSAQuantity unproductive | Decimal | |
| KVSPSAPosted Time Quantity | Decimal | |
| KVSPSAEmployee No. | Code[20] | |
| KVSPSAInvoicing Type | Enum (KVSPSAPspInvoicingType) | |
| KVSPSAPerson Responsible | Code[20] | |
| KVSPSAJob Account No. | Code[20] | |
| KVSPSAInvoicing Quantity | Decimal | |
| KVSPSACorrection | Boolean | |
| KVSPSACorrection of Entry No. | Integer | |
| KVSPSAWork Package Code | Code[20] | |
| KVSPSAAssigned Res.-No. | Code[20] | |
| KVSPSAAssignedJobLedgerEntry | Integer | |
| KVSPSAValue Correction | Boolean | |
| KVSPSASurcharge Type Code | Code[20] | |
| KVSPSASurcharge Entry No. | Integer | |
| KVSPSABudget Line No. | Integer | |
| KVSPSAAuto. Corr. Jobtime | Boolean | |
| KVSPSAValueEntryFilterDocNo | Code[20] | |
| KVSPSABudgetResQty | Decimal | FlowField |
| KVSPSAPostedResQty | Decimal | FlowField |
| KVSPSAResource Filter | Code[20] | FlowFilter |
| KVSPSASkipCheckInvLedgerEntry | Boolean | |
| KVSPSAItemPostTypeJobConsSales | Enum (KVSPSAItemPostTypeJobConsSales) | |
| KVSPSADocument Line No. | Integer | |
| KVSPSASkipCheckPInvLedgerEntry | Boolean | |
| KVSPSAPostedJobLedgerEntryNo | Integer | |
| KVSPSARes. Qty in Job Journal | Decimal | FlowField |
| KVSPSATo-Do Invoicing % | Decimal | |
| KVSPSATo-Do Chargeable | Boolean | |
| KVSPSAJob Time Comment | Boolean | FlowField |
| KVSPSABudgetline Filter | Integer | FlowFilter |
| KVSPSAContact No. | Code[20] | |
| KVSPSAPosting Source | Option | OptionMembers: JobJournal,Purchase,Sales,GenJournal |
| KVSPSATransaction No. | Integer | |
| KVSPSAJob Return Shipment | Boolean | |
| KVSPSAJob Return Source | Guid | |
| KVSPSAJob Return Target | Guid | |
| KVSPSAHGB Total Cost (LCY) | Decimal | |
| KVSPSAAddCurrencyHGBTotalCost | Decimal | |
| KVSPSAInvoicUnitOfMeasureCode | Code[10] | |
| KVSPSAInvoicing Qty. per UOM | Decimal | |
| KVSPSAInvoicingQuantityBase | Decimal | |
| KVSPSAPhase Code | Code[20] | |
| KVSPSATask Code | Code[20] | |
| KVSPSAStep Code | Code[20] | |
| KVSPSAComment | Boolean | FlowField |
| KVSPSAEntryNoJobPaymPlanEntry | Integer | |
| KVSPSAEntryNoJobPaymEReC | Integer | |
| KVSPSAStartTime | Time | |
| KVSPSAEndTime | Time | |
| KVSPSAEfficiency Date | Date | |
| KVSPSAEfficiency Resource No. | Code[20] | |
| KVSPSAEfficiencyUnitOfMeasCode | Code[10] | |
| KVSPSAEfficiency Resource Name | Text[100] | |
| KVSPSADo Not Find Best Price | Boolean | |
| KVSPSANonDeductibleVATType | Enum (KVSPSANonDeductibleVATType) | |
| KVSPSANonDeductVATDimCode | Code[20] | |
| KVSPSANonDeductVATDimValueCode | Code[20] | |
| KVSPSANDOrgUnitCostLCY | Decimal | |
| KVSPSAPredefinedPriceCalc | Boolean | |
| KVSPSAInternal Code | Code[20] |
Procedures#
KVSPSAConnectWithBudgetLine() :#
Summary: Call to try to find a fitting budget line and fill the budget line no.
procedure KVSPSAConnectWithBudgetLine():
KVSPSAGetJobBudgetLineStatus() : Text#
Summary: This procedure return status of job budget line that linked with job journal line.
procedure KVSPSAGetJobBudgetLineStatus(): Text
Returns: Status of the job budget line.
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():
KVSPSAGetWorkPackages() :#
Summary: This procedure finds valid job psp line or 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. This procedure support multi line selection, it will use line that user select the first time for all other lines.
procedure KVSPSAGetWorkPackages():
KVSPSAUpdateHGBCost() :#
Summary: This procedure updates the HGB cost for the journal line based on the resource.
procedure KVSPSAUpdateHGBCost():
KVSPSAUpdateInvoiceCurrencyFactor() :#
Summary: This procedure updates the invoice currency factor for the journal line base on the job.
procedure KVSPSAUpdateInvoiceCurrencyFactor():
Events#
KVSPSAOnAfterUpdateTotalPrice(Record Job Journal Line) :#
Summary: Integration event raised after updating the total price on job journal line.
[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterUpdateTotalPrice(var JobJournalLine: Record "Job Journal Line"):
[EventSubscriber(ObjectType::TableExtension, TableExtension::"KVSPSAJobJournalLine", 'KVSPSAOnAfterUpdateTotalPrice', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterUpdateTotalPrice(var JobJournalLine: Record "Job Journal Line")
begin
end;
Parameters:
JobJournalLine: The job journal line record
KVSPSAOnAfterUpdateUnitPrice(Record Job Journal Line, Record Currency Exchange Rate, Decimal) :#
Summary: Integration event raised after updating the unit price on job journal line.
[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterUpdateUnitPrice(var JobJournalLine: Record "Job Journal Line"; CurrencyExchangeRate: Record "Currency Exchange Rate"; UnitAmountRoundingPrecision: Decimal):
[EventSubscriber(ObjectType::TableExtension, TableExtension::"KVSPSAJobJournalLine", 'KVSPSAOnAfterUpdateUnitPrice', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterUpdateUnitPrice(var JobJournalLine: Record "Job Journal Line"; CurrencyExchangeRate: Record "Currency Exchange Rate"; UnitAmountRoundingPrecision: Decimal)
begin
end;
Parameters:
JobJournalLine: The job journal line recordCurrencyExchangeRate: The currency exchange rate recordUnitAmountRoundingPrecision: The unit amount rounding precision
KVSPSAOnBeforeCheckJobNo(Record Job Journal Line, Boolean) :#
Summary: Integration event raised before checking the job number on job journal line.
[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeCheckJobNo(var JobJournalLine: Record "Job Journal Line"; var SkipJobNoCheck: Boolean):
[EventSubscriber(ObjectType::TableExtension, TableExtension::"KVSPSAJobJournalLine", 'KVSPSAOnBeforeCheckJobNo', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeCheckJobNo(var JobJournalLine: Record "Job Journal Line"; var SkipJobNoCheck: Boolean)
begin
end;
Parameters:
JobJournalLine: The job journal line recordSkipJobNoCheck: Set to true to skip the job number check
KVSPSAOnBeforeSetTableView(Record Job Journal Line, Record KVSPSA Job Budget Line) :#
Summary: Integration event raised before setting the table view for job budget line lookup.
[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeSetTableView(var JobJournalLine: Record "Job Journal Line"; var JobBudgetLine: Record "KVSPSA Job Budget Line"):
[EventSubscriber(ObjectType::TableExtension, TableExtension::"KVSPSAJobJournalLine", 'KVSPSAOnBeforeSetTableView', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeSetTableView(var JobJournalLine: Record "Job Journal Line"; var JobBudgetLine: Record "KVSPSA Job Budget Line")
begin
end;
Parameters:
JobJournalLine: The job journal line recordJobBudgetLine: The job budget line record