Source AL, 1,418 lines
src/Layers/W1/BaseApp/Projects/Project/WIP/JobCalculateWIP.Codeunit.allines 19 to 34 of 1,418, Copyright (c) Microsoft Corporation. MIT
codeunit 1000 "Job Calculate WIP"{ Permissions = TableData "Job Ledger Entry" = rm, TableData "Job Task" = rimd, TableData "Job Planning Line" = r, TableData "Job WIP Entry" = rimd, TableData "Job WIP G/L Entry" = rimd; trigger OnRun() begin end; var TempJobWIPBuffer: array[2] of Record "Job WIP Buffer" temporary; GLSetup: Record "General Ledger Setup"; GenJnlBatch: Record "Gen. Journal Batch";
All 1,418 lines
Events 31 in 29
| [IntegrationEvent] OnAfterCalcUsageTotalCostCosts(var JobTask: Record "Job Task") | 17-29 |
| [IntegrationEvent] OnBeforeCalcPercentageOfCompletion(var JobTask: Record "Job Task"; JobWIPTotal: Record "Job WIP Total"; var JobWIPTotalChanged: Boolean; var WIPAmount: Decimal; var RecognizedAllocationPercentage: Decimal; var IsHandled: Boolean) | 17-29 |
| [IntegrationEvent] OnBeforeCalcRecognizedCosts(var JobTask: Record "Job Task"; var JobWIPTotal: Record "Job WIP Total"; var JobWIPMethod: Record "Job WIP Method"; var IsHandled: Boolean) | 17-29 |
| [IntegrationEvent] OnBeforeCalcRecognizedSales(var JobTask: Record "Job Task"; var JobWIPTotal: Record "Job WIP Total"; var JobWIPMethod: Record "Job WIP Method"; var IsHandled: Boolean) | 17-29 |
| [IntegrationEvent] OnCreateJobWIPTotalOnAfterUpdateJobWIPTotal(var JobTask: Record "Job Task"; var JobWIPTotal: Record "Job WIP Total") | 17-29 |
| [IntegrationEvent] OnBeforeActivateErrorMessageHandling(var Job: Record Job; var ErrorMessageMgt: Codeunit "Error Message Management"; var ErrorMessageHandler: Codeunit "Error Message Handler"; var ErrorContextElement: Codeunit "Error Context Element"; var IsHandled: Boolean) | new in 19 |
| [IntegrationEvent] OnCreateWIPEntriesOnBeforeJobWIPEntryInsert(var JobWIPEntry: Record "Job WIP Entry") | new in 20 |
All 32 events in 17-29
Public procedures 10 in 29
All 10 procedures
Changes 1 in 27
| [IntegrationEvent] OnFindJobLedgerEntriesByJobTaskOnAfterFilterJobLedgerEntry(var JobTask: Record "Job Task"; var JobWIPTotal: Record "Job WIP Total"; JobWIPBufferType: Enum "Job WIP Buffer Type"; JobWIPMethod: Record "Job WIP Method"; var JobLedgerEntry: Record "Job Ledger Entry") | new in 27 |
| added |
All 31 changes in 17-29