Codeunit 5987 Serv-Posting Journals Mgt.

Base Application, Microsoft.Service.Posting

Source AL, 723 lines

src/Layers/W1/BaseApp/Service/Posting/ServPostingJournalsMgt.Codeunit.allines 34 to 49 of 723, Copyright (c) Microsoft Corporation. MIT

codeunit 5987 "Serv-Posting Journals Mgt."{    trigger OnRun()    begin    end;    var        ServiceHeader: Record "Service Header";        Currency: Record Currency;        CurrExchRate: Record "Currency Exchange Rate";        SalesSetup: Record "Sales & Receivables Setup";        TempValueEntryRelation: Record "Value Entry Relation" temporary;        ServITRMgt: Codeunit "Serv-Item Tracking Rsrv. Mgt.";        GenJnlPostLine: Codeunit "Gen. Jnl.-Post Line";        ItemJnlPostLine: Codeunit "Item Jnl.-Post Line";        ResJnlPostLine: Codeunit "Res. Jnl.-Post Line";

All 723 lines

Events 13 in 29

[IntegrationEvent] OnAfterTransferValuesToJobJnlLine(var JobJournalLine: Record "Job Journal Line"; ServiceLine: Record "Service Line")17-29
[IntegrationEvent] OnBeforePostItemJnlLine(var ItemJournalLine: Record "Item Journal Line"; ServiceShipmentHeader: Record "Service Shipment Header"; ServiceLine: Record "Service Line"; GenJnlLineDocNo: Code[20]; QtyToBeShipped: Decimal; QtyToBeShippedBase: Decimal; QtyToBeInvoiced: Decimal; QtyToBeInvoicedBase: Decimal)17-29
[IntegrationEvent] OnBeforePostJobJnlLine(var ServiceHeader: Record "Service Header"; var ServiceLine: Record "Service Line"; QtyToBeConsumed: Decimal; var Result: Boolean; var IsHandled: Boolean)17-29
[IntegrationEvent] OnBeforeResJnlPostLine(var ResJnlLine: Record "Res. Journal Line"; ServiceHeader: Record "Service Header"; ServiceLine: Record "Service Line")17-29
[IntegrationEvent] OnPostJobJnlLineOnBeforeValidateNo(var JobJournalLine: Record "Job Journal Line"; ServiceLine: Record "Service Line")17-29
[IntegrationEvent] OnPostJobJnlLineOnBeforeCalcCurrencyFactor(ServLine: Record "Service Line"; var CurrExchRate: Record "Currency Exchange Rate")new in 18
[IntegrationEvent] OnPostResJnlLineOnAfterResJnlLineInit(var ResJnlLine: Record "Res. Journal Line"; EntryType: Enum "Res. Journal Line Entry Type"; Qty: Decimal)new in 19

All 24 events in 17-29

Public procedures 25 in 29

Initialize(var TempServHeader: Record "Service Header"; TmpConsume: Boolean; TmpInvoice: Boolean)17-29
Finalize()17-29
SetPostingOptions(PassedConsume: Boolean; PassedInvoice: Boolean)17-29
SetItemJnlRollRndg(PassedItemJnlRollRndg: Boolean)17-29
SetGenJnlLineDocNos(DocNo: Code[20]; ExtDocNo: Code[35])17-29
PostItemJnlLine(var ServiceLine: Record "Service Line"; QtyToBeShipped: Decimal; QtyToBeShippedBase: Decimal; QtyToBeConsumed: Decimal; QtyToBeConsumedBase: Decimal; QtyToBeInvoiced: Decimal; QtyToBeInvoicedBase: Decimal; ItemLedgShptEntryNo: Integer; var TrackingSpecification: Record "Tracking Specification"; var TempTrackingSpecificationInv: Record "Tracking Specification"; var TempHandlingSpecification: Record "Tracking Specification"; var TempTrackingSpecification: Record "Tracking Specification" temporary; var ServShptHeader: Record "Service Shipment Header"; ServShptLineDocNo: Code[20]): Integer17-29

All 29 procedures in 17-29

Changes 1 in 29

List17181920212223242526272829
Procedures33411
Events41843271
SetPostingDate(PostingDate: Date)gone after 28
gone

All 42 changes in 17-29