Codeunit 921 "Period Formula Parser"
Base Application · Microsoft.Foundation.Period
Across versions
- BC23-26not present
- BC27added
- BC281 procedures added
- BC29-30unchanged
Neighbourhood 6 connected objects and pages
Base Application · Microsoft.Foundation.Period · BC27-30 · source at ea08af5e · facts from BC29
Procedures
ValidatePeriodFormula(PeriodFormula: Code[20]; var LanguageId: Integer)TryCalculatePeriodStartEnd(PeriodFormula: Code[20]; LanguageId: Integer; Date: Date; var StartDate: Date; var EndDate: Date; var PeriodError: Boolean)CalculatePeriodStartEnd(PeriodFormula: Code[20]; LanguageId: Integer; Date: Date; var StartDate: Date; var EndDate: Date; var PeriodError: Boolean)ParsePeriodFormula(FormulaExpression: Code[20]; var LanguageId: Integer)ParsePeriodFormula(FormulaExpression: Code[20]; var Steps: Integer; var Type: Enum "Period Type"; var RangeFromType: Enum "Period Formula Range"; var RangeToType: Enum "Period Formula Range"; var RangeFromInt: Integer; var RangeToInt: Integer; var LanguageId: Integer)GetPeriodName(): Code[10]
Plus 10 local procedures.
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 360 “Accounting Period Mgt.” (1 call:
CalculatePeriodStartEnd → AccPeriodStartEnd)
Called by
- Codeunit 18 “Financial Report Mgt.” (2 calls:
CalcAccScheduleLineDateFilter → TryCalculatePeriodStartEnd,SetAccScheduleLinePeriodFormula → TryCalculatePeriodStartEnd) - Codeunit 5247 “Create Sust. Column Layout” (1 call:
InsertPeriodFormula → GetPeriodName) - Codeunit 7110 “Analysis Report Management” (1 call:
AccPeriodStartEnd → ParsePeriodFormula) - Codeunit 8 “AccSchedManagement” (1 call:
AccPeriodStartEnd → ParsePeriodFormula) - Page 490 “Acc. Schedule Overview” (1 call:
ValidateDateFilterPeriodFormula → ValidatePeriodFormula)
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: "codeunit", object_name: "Period Formula Parser"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.