codeunitSustainabilityofficial - Microsoftderived - from the source, no model text

Codeunit 6212 "Sustainability Post Mgt"

Sustainability · Microsoft.Sustainability.Posting

Across versions

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

Neighbourhood 21 connected objects and pages

Codeunit 6228 "Sust. Preview Posting Handler" (event subscribers)Sust. Preview Posting HandlerCodeunit 6213 "Sustainability Jnl.-Post" (calls, 7 links)Sustainability Jnl.-PostCodeunit 6214 "Sustainability Recur Jnl.-Post" (calls, 7 links)Sustainability Recur Jnl.-PostCodeunit 6225 "Sust. Purchase Subscriber" (calls, 5 links)Sust. Purchase SubscriberCodeunit 6256 "Sust. Item Post Subscriber" (calls, 5 links)Sust. Item Post SubscriberCodeunit 8703 "Feature Telemetry" (calls, 4 links)Feature TelemetryCodeunit 6251 "Sust. Gen. Journal Subscriber" (calls, 3 links)Sust. Gen. Journal SubscriberCodeunit 6255 "Sust. Assembly Subscriber" (calls, 3 links)Sust. Assembly SubscriberCodeunit 5801 "Show Applied Entries" (calls, 2 links)Show Applied EntriesCodeunit 6252 "Sust. Sales Copy Document" (calls, 2 links)Sust. Sales Copy DocumentCodeunit 6283 "Sust. FA Journal Subscriber" (calls, 2 links)Sust. FA Journal SubscriberCodeunit 6257 "SustCostManagement" (calls)SustCostManagementCodeunit 6263 "Sust. Job Post Subscriber" (calls)Sust. Job Post SubscriberCodeunit 6274 "Sust. Excise Cal. Mgt" (calls)Codeunit 6284 "Sust. FA Post Subscriber" (calls)Sust. FA Post SubscriberCodeunit 6286 "Sust. Resource Post Subscriber" (calls)Report 6213 "Batch Update Carbon Emission" (calls)Report 6214 "Sust. Calculate CO2e" (calls)Report 6215 "Sust. Item Calculate CO2e" (calls)Report 6217 "Sust. Resource Calculate CO2e" (calls)Report extension 6299 "Sust. Standard Sales Invoice" (calls)

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.Posting · BC29-30 · source at ea08af5e · facts from BC29

Properties

Property Value
Permissions tabledata “Sustainability Ledger Entry” = i, tabledata “Sustainability Value Entry” = i, tabledata “Sust. G/L - Sust. Ledger Rel.” = ri, tabledata “Sust. Jnl. Line G/L Entry” = r

Events published

  • OnBeforeInsertSustainabilityLedgerEntry(var SustainabilityLedgerEntry: Record "Sustainability Ledger Entry"; SustainabilityJnlLine: Record "Sustainability Jnl. Line") (integration)
  • OnInsertLedgerEntryOnBeforeInsert(var SustainabilityLedgerEntry: Record "Sustainability Ledger Entry"; var IsHandled: Boolean) (internal)

Procedures

  • InsertLedgerEntry(SustainabilityJnlLine: Record "Sustainability Jnl. Line")
  • InsertValueEntry(SustainabilityJnlLine: Record "Sustainability Jnl. Line"; ValueEntry: Record "Value Entry"; ItemLedgerEntry: Record "Item Ledger Entry")
  • InsertValueEntry(SustainabilityJnlLine: Record "Sustainability Jnl. Line"; JobLedgerEntry: Record "Job Ledger Entry")
  • InsertValueEntry(SustainabilityJnlLine: Record "Sustainability Jnl. Line"; ResourceLedgerEntry: Record "Res. Ledger Entry")
  • InsertValueEntry(SustainabilityJnlLine: Record "Sustainability Jnl. Line"; FALedgerEntry: Record "FA Ledger Entry")
  • UpdateCO2ePerUnit(SustValueEntry: Record "Sustainability Value Entry")
  • ResetFilters(var SustainabilityJnlLine: Record "Sustainability Jnl. Line")
  • UpdateCarbonFeeEmission(var SustainabilityLedgerEntry: Record "Sustainability Ledger Entry")
  • UpdateCarbonFeeEmissionForValueEntry(var SustainabilityValueEntry: Record "Sustainability Value Entry"; SustainabilityJnlLine: Record "Sustainability Jnl. Line")
  • UpdateCarbonFeeEmissionValues(ScopeType: Enum "Emission Scope"; PostingDate: Date; CountryRegionCode: Code[10]; EmissionCO2: Decimal; EmissionN2O: Decimal; EmissionCH4: Decimal; var CO2eEmission: Decimal; var CarbonFee: Decimal): Decimal
  • GetTotalCO2eAmount(ItemLedgerEntry: Record "Item Ledger Entry"; ValueEntryType: Enum "Capacity Type Journal"; var TotalCO2e: Decimal; CO2ePerUnit: Decimal)
  • GetCO2eAmountAndQuantity(ItemLedgerEntryNo: Integer; var CO2eAmount: Decimal; var CO2eQuantity: Decimal)
  • GetTotalCO2eAmountFromValueEntry(ItemLedgerEntryDocumentType: Enum "Item Ledger Document Type"; DocumentNo: Code[20]; DocumentLineNo: Integer; ItemNo: Code[20]; var TotalCO2eAmount: Decimal; var TotalCO2eQuantity: Decimal)
  • IsCarbonTrackingSpecificItem(ItemNo: Code[20]): Boolean
  • GetStartPostingProgressMessage(): Text (internal)
  • GetCheckJournalLineProgressMessage(LineNo: Integer): Text (internal)
  • GetProgressingLineMessage(LineNo: Integer): Text (internal)
  • GetJnlLinesPostedMessage(): Text (internal)
  • GetPostConfirmMessage(): Text (internal)
  • SetSkipUpdateCarbonEmissionValue(NewSkipUpdateCarbonEmissionValue: Boolean) (internal)
  • SetNextGLEntryNo(NewGLEntryNo: Integer) (internal)

Plus 12 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.

Called by

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

Evidence 1 sources