Page 234 "Apply Employee Entries"
Base Application · Microsoft.HumanResources.Payables
Across versions
- BC23present
- BC243 procedures added, 3 events added
- BC25unchanged
- BC261 events added
- BC27-30unchanged
Neighbourhood 8 connected objects and pages
Base Application · Microsoft.HumanResources.Payables · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Caption | Apply Employee Entries |
| SourceTable | Employee Ledger Entry |
| PageType | Worksheet |
| Permissions | TableData “Employee Ledger Entry” = m |
Fields on this page
Layout controls in source order, grouped by the container they sit in. Shows: the table field a control is bound to (or its expression as written); ToolTip: the control’s own, else the bound field’s (marked).
| Group | Control | Shows | ToolTip |
|---|---|---|---|
| General | Posting Date | TempApplyingEmplLedgEntry."Posting Date" |
Specifies the posting date of the entry to be applied. |
| Document Type | TempApplyingEmplLedgEntry."Document Type" |
Specifies the document type of the entry to be applied. | |
| Document No. | TempApplyingEmplLedgEntry."Document No." |
Specifies the document number of the entry to be applied. | |
| Employee No. | TempApplyingEmplLedgEntry."Employee No." |
Specifies the employee number of the entry to be applied. | |
| Description | TempApplyingEmplLedgEntry.Description |
Specifies the description of the entry to be applied. | |
| Currency Code | TempApplyingEmplLedgEntry."Currency Code" |
Specifies the code for the currency that amounts are shown in. | |
| Amount | TempApplyingEmplLedgEntry.Amount |
Specifies the amount on the entry to be applied. | |
| Remaining Amount | TempApplyingEmplLedgEntry."Remaining Amount" |
Specifies the amount on the entry to be applied. | |
| Control1 | Applies-to ID | Applies-to ID | Specifies the ID of entries that will be applied to when you choose the Apply Entries action. from the table field |
| Posting Date | Posting Date | Specifies the employee entry’s posting date. from the table field | |
| Document Type | Document Type | Specifies the employee entry’s document type. | |
| Document No. | Document No. | Specifies the employee entry’s document number. from the table field | |
| Employee No. | Employee No. | Specifies the number of the employee account that the entry is linked to. | |
| Description | Description | Specifies a description of the employee entry. from the table field | |
| Currency Code | Currency Code | Specifies the currency code for the amount on the line. from the table field | |
| Original Amount | Original Amount | Specifies the amount of the original entry. from the table field | |
| Amount | Amount | Specifies the amount of the entry. from the table field | |
| Debit Amount | Debit Amount | Specifies the total of the ledger entries that represent debits. from the table field | |
| Credit Amount | Credit Amount | Specifies the total of the ledger entries that represent credits. from the table field | |
| Remaining Amount | Remaining Amount | Specifies the amount that remains to be applied to before the entry is totally applied to. from the table field | |
| Appln. Remaining Amount | CalcApplnRemainingAmount(Rec."Remaining Amount") |
Specifies the amount that remains to be applied to before the entry is totally applied to. | |
| Amount to Apply | Amount to Apply | Specifies the amount to apply. from the table field | |
| Appln. Amount to Apply | CalcApplnAmounttoApply(Rec."Amount to Apply") |
Specifies the amount to apply. | |
| Payment Reference | Payment Reference | Specifies the payment to the employee. from the table field | |
| Open | Open | Specifies whether the amount on the entry has been fully paid or there is still a remaining amount that must be applied to. from the table field | |
| Positive | Positive | Specifies if the entry to be applied is positive. from the table field | |
| Global Dimension 1 Code | Global Dimension 1 Code | Specifies the code for the global dimension that is linked to the record or entry for analysis purposes. Two global dimensions, typically for the company’s most important activities, are available on all cards, documents, reports, and lists. from the table field | |
| Global Dimension 2 Code | Global Dimension 2 Code | Specifies the code for the global dimension that is linked to the record or entry for analysis purposes. Two global dimensions, typically for the company’s most important activities, are available on all cards, documents, reports, and lists. from the table field | |
| Appln. Currency | ApplnCurrencyCode | ApplnCurrencyCode |
Specifies the currency code that the amount will be applied in, in case of different currencies. |
| Amount to Apply | Amount to Apply | AppliedAmount |
Specifies the sum of the amounts on all the selected employee ledger entries that will be applied by the entry shown in the Available Amount field. The amount is in the currency represented by the code in the Currency Code field. |
| Rounding | Rounding | ApplnRounding |
Specifies the rounding difference when you apply entries in different currencies to one another. The amount is in the currency represented by the code in the Currency Code field. |
| Applied Amount | Applied Amount | AppliedAmount + (-PmtDiscAmount) + ApplnRounding |
Specifies the sum of the amounts in the Amount to Apply field, Pmt. Disc. Amount field, and the Rounding. The amount is in the currency represented by the code in the Currency Code field. |
| Available Amount | Available Amount | ApplyingAmount |
Specifies the amount of the journal entry, purchase credit memo, or current employee ledger entry that you have selected as the applying entry. |
| Balance | Balance | AppliedAmount + (-PmtDiscAmount) + ApplyingAmount + ApplnRounding |
Specifies any extra amount that will remain after the application. |
Actions
| Group | Action | ToolTip | Runs |
|---|---|---|---|
| Entry | Applied Entries | View the ledger entries that have been applied to this record. | Page 63 “Applied Employee Entries” |
| Dimensions | View or edit dimensions, such as area, project, or department, that you can assign to sales and purchase documents to distribute costs and analyze transaction history. | ||
| Detailed Ledger Entries | View a summary of all the posted entries and adjustments related to a specific employee ledger entry. | Page 5238 “Detailed Empl. Ledger Entries” | |
| Find entries… | Find entries and documents that exist for the document number and posting date on the selected document. (Formerly this action was named Navigate.) | ||
| Application | Set Applies-to ID | Set the Applies-to ID field on the posted entry to automatically be filled in with the document number of the entry in the journal. | |
| Post Application | Define the document number of the ledger entry to use to perform the application. In addition, you specify the Posting Date for the application. | ||
| Preview Posting | Review the different types of entries that will be created when you post the document or journal. | ||
| Show Only Selected Entries to Be Applied | View the selected ledger entries that will be applied to the specified record. |
Events published
OnAfterCalcApplnAmount(EmplLedgerEntry: Record "Employee Ledger Entry"; var AppliedAmount: Decimal; var ApplyingAmount: Decimal)(integration)OnAfterCalcApplnAmountToApply(EmplLedgerEntry: Record "Employee Ledger Entry"; var ApplnAmountToApply: Decimal)(integration)OnAfterCalcApplnRemainingAmount(EmplLedgerEntry: Record "Employee Ledger Entry"; var ApplnRemainingAmount: Decimal)(integration)OnPostDirectApplicationBeforeSetValues(var ApplicationDate: Date)(integration)OnPostDirectApplicationBeforeApply(GLSetup: Record "General Ledger Setup"; var NewApplyUnapplyParameters: Record "Apply Unapply Parameters")(integration)OnBeforeCalcApplnAmount(var EmplLedgerEntry: Record "Employee Ledger Entry"; var GenJournalLine: Record "Gen. Journal Line"; var AppliedEmplLedgerEntry: Record "Employee Ledger Entry"; CalculationType: Option; ApplicationType: Option)(integration)OnBeforeCheckEarlierPostingDate(var TempApplyingEmplLedgEntry: Record "Employee Ledger Entry" temporary; EmplLedgerEntry: Record "Employee Ledger Entry"; CalcType: Option; var IsHandled: Boolean)(integration)OnBeforeHandledChosenEntries(Type: Option Direct,GenJnlLine; CurrentAmount: Decimal; CurrencyCode: Code[10]; var AppliedEmplLedgerEntry: Record "Employee Ledger Entry"; var IsHandled: Boolean)+ BC24 − BC24 (integration)OnBeforePostDirectApplication(var EmplLedgerEntry: Record "Employee Ledger Entry"; PreviewMode: Boolean; var IsHandled: Boolean)(integration)OnBeforeSetApplyingEmplLedgEntry(var ApplyingEmplLedgEntry: Record "Employee Ledger Entry"; GenJournalLine: Record "Gen. Journal Line")(integration)OnFindFindApplyingEntryOnAfterEmplLedgEntrySetFilters(ApplyingEmplLedgerEntry: Record "Employee Ledger Entry"; var EmplLedgerEntry: Record "Employee Ledger Entry")(integration)OnSetCustApplIdAfterCheckAgainstApplnCurrency(var EmplLedgerEntry: Record "Employee Ledger Entry"; CalcType: Option; GenJnlLine: Record "Gen. Journal Line")(integration)OnBeforeExchangeLedgerEntryAmounts(var CalcEmployeeLedgerEntry: Record "Employee Ledger Entry"; EmployeeLedgerEntry: Record "Employee Ledger Entry"; CurrencyCode: Code[10]; CalculateCurrency: Boolean; var IsHandled: Boolean)+ BC24 (integration)OnAfterExchangeLedgerEntryAmounts(var CalcEmployeeLedgerEntry: Record "Employee Ledger Entry"; EmployeeLedgerEntry: Record "Employee Ledger Entry"; CurrencyCode: Code[10])+ BC24 (integration)OnCheckEmplApplIdOnBeforeEarlierPostingDateError(var ApplyingEmplLedgEntry: Record "Employee Ledger Entry"; EmplLedgerEntry: Record "Employee Ledger Entry"; var RaiseError: Boolean; CalcType: Enum "Vendor Apply Calculation Type")+ BC26 (integration)
Procedures
SetGenJnlLine(NewGenJnlLine: Record "Gen. Journal Line"; ApplnTypeSelect: Integer)SetEmplLedgEntry(NewEmplLedgEntry: Record "Employee Ledger Entry")SetApplyingEmplLedgEntry()SetEmplApplId()CheckEmplApplId(var EmplLedgerEntry: Record "Employee Ledger Entry")CalcApplnAmount()(protected)GetCustomAppliesToID(): Code[50](internal)CheckRounding()(protected)GetEmplLedgEntry(var EmplLedgEntry2: Record "Employee Ledger Entry")SetAppliesToID(AppliesToID2: Code[50])ExchangeLedgerEntryAmounts(Type: Option Direct,GenJnlLine; CurrencyCode: Code[10]; var CalcEmplLedgEntry: Record "Employee Ledger Entry"; PostingDate: Date)+ BC24 (protected)
Plus 13 local procedures.
Triggers
OnAfterGetCurrRecord, OnInit, OnModifyRecord, OnOpenPage, OnQueryClosePage
Relations
- source table Table 5222 “Employee Ledger Entry”
Calls
From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.
- Codeunit 114 “Empl. Entry-Edit” (3 calls:
OnModifyRecord → (object),OnQueryClosePage → (object),SetApplyingEmplLedgEntry → (object)) - Codeunit 224 “EmplEntry-Apply Posted Entries” (3 calls:
PostDirectApplication → Apply,PostDirectApplication → GetApplicationDate,PostDirectApplication → PreviewApply) - Codeunit 112 “Empl. Entry-SetAppl.ID” (1 call:
SetEmplApplId → SetApplId) - Codeunit 1630 “Office Management” (1 call:
OnOpenPage → IsAvailable) - Codeunit 225 “Gen. Jnl.-Apply” (1 call:
SetEmplApplId → CheckAgainstApplnCurrency) - Codeunit 366 “Exchange Acc. G/L Journal Line” (1 call:
CalcApplnAmount → (object))
Documented on Microsoft Learn
Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).
Ask your agent
Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "page", object_name: "Apply Employee Entries"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.