codeunitSustainabilityofficial - Microsoftderived - from the source, no model text

Codeunit 6218 "Sustainability Calc. Mgt."

Sustainability · Microsoft.Sustainability.Calculation

Across versions

  1. BC23-28not present
  2. BC29-30present

Neighbourhood 6 connected objects and pages

Codeunit 6210 "Sustainability Account Mgt." (calls, 2 links)Sustainability Account Mgt.Codeunit 6216 "Sustainability Jnl.-Check" (calls)Sustainability Jnl.-CheckCodeunit 6225 "Sust. Purchase Subscriber" (calls)Sust. Purchase SubscriberPage 6219 "Sustainability Journal" (calls)Sustainability JournalPage 6224 "Collect Amount from G/L Entry" (calls)Collect Amount from G/L EntryPage extension 6211 "Sust. Purch. Order Subform" (calls)Sust. Purch. Order Subform

Open in the neighbourhood explorer

One hop out, from the extracted relations and call graph. Up to 40 shown; the sections below list them all.

Sustainability · Microsoft.Sustainability.Calculation · BC29-30 · source at ea08af5e · facts from BC29

Events published

  • OnAfterFilterGLEntry(SustainAccountCategory: Record "Sustain. Account Category"; FromDate: Date; ToDate: Date; var GLEntry: Record "G/L Entry") (integration)
  • OnBeforeCalculationEmissions(var IsHandled: Boolean; var SustainabilityJnlLine: Record "Sustainability Jnl. Line") (integration)

Procedures

  • CalculationEmissions(var SustainabilityJnlLine: Record "Sustainability Jnl. Line") (internal)
  • CalculationEmissions(var SustainabilityJnlLine: Record "Sustainability Jnl. Line"; SustainAccountCategory: Record "Sustain. Account Category"; SustainAccountSubcategory: Record "Sustain. Account Subcategory") (internal)
  • CalculationEmissions(var PurchaseLine: Record "Purchase Line") (internal)
  • CalculationEmissions(var PurchaseLine: Record "Purchase Line"; SustainAccountCategory: Record "Sustain. Account Category"; SustainAccountSubcategory: Record "Sustain. Account Subcategory") (internal)
  • GetFormulaInputEditability(SustainabilityJnlLine: Record "Sustainability Jnl. Line"; var FuelElectricityEditable: Boolean; var DistanceEditable: Boolean; var CustomAmountEditable: Boolean; var InstallationMultiplierEditable: Boolean; var TimeFactorEditable: Boolean) (internal)
  • GetFormulaInputEditability(PurchaseLine: Record "Purchase Line"; var FuelElectricityEditable: Boolean; var DistanceEditable: Boolean; var CustomAmountEditable: Boolean; var InstallationMultiplierEditable: Boolean; var TimeFactorEditable: Boolean) (internal)
  • GetCollectableGLAmount(SustainAccountCategory: Record "Sustain. Account Category"; FromDate: Date; ToDate: Date): Decimal: Filter general ledger entries by criteria defined in sustainability category and by date and calculate the total
  • CollectGeneralLedgerAmount(var SustainabilityJnlLine: Record "Sustainability Jnl. Line") (internal)
  • SetCollectingJournalLine(SustainabilityJnlLine: Record "Sustainability Jnl. Line") (internal)
  • FilterGLEntry(SustainAccountCategory: Record "Sustain. Account Category"; FromDate: Date; ToDate: Date; var GLEntry: Record "G/L Entry") (internal)

Plus 6 local procedures.

Called by

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.

Recent changes

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: "Sustainability Calc. Mgt."), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources