Codeunit 6299 "Sustainability AI"
SustainabilityCopilotSuggestion · Microsoft.Sustainability.Copilot
Across versions
- BC23-24present
- BC251 procedures added
- BC26-28not present
- BC29present
- BC30unchanged
Neighbourhood 8 connected objects and pages
SustainabilityCopilotSuggestion · Microsoft.Sustainability.Copilot · BC23-25, BC29-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Access | Internal |
Procedures
AICall(var SustainEmissionSuggestion: Record "Sustain. Emission Suggestion"; var SourceCO2EmissionBuffer: Record "Source CO2 Emission Buffer"): Text(internal)AICall(var SustainEmissionSuggestion: Record "Sustain. Emission Suggestion"; var SourceCO2EmissionBuffer: Record "Source CO2 Emission Buffer"; UserMessage: Text): Text(internal)AICallForFilteredLines(var SustainEmissionSuggestion: Record "Sustain. Emission Suggestion"; var SourceCO2EmissionBuffer: Record "Source CO2 Emission Buffer"; var LastHandledLineNo: Integer; UserMessage: Text)(internal)MatchCategoryToInput(var SustainEmissionSuggestion: Record "Sustain. Emission Suggestion"; var SourceCO2EmissionBuffer: Record "Source CO2 Emission Buffer")(internal)
Plus 6 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 8711 “Telemetry” (6 calls:
AddSourceCO2EmissionToUserMessage → LogMessage,AICall → LogMessage,AICallForFilteredLines → LogMessage, …) - Codeunit 6331 “Sustainability Chat Completion” (2 calls:
AICallForFilteredLines → GenerateFormulaBreakdownChatCompletion,MatchCategoryToInput → GenerateMatchCategoryToInputChatCompletion) - Codeunit 6290 “Sust. Emis. Suggestion Impl.” (1 call:
AICall → GetFeatureName) - Codeunit 6329 “Sustainability Formula” (1 call:
AICall → ApplyFormula) - Codeunit 6333 “Sust. Emiss.Suggestion Warning” (1 call:
GenerateUserMessage → InsertWarnings) - Codeunit 7771 “Azure OpenAI” (1 call:
AICall → IsEnabled) - Codeunit 8703 “Feature Telemetry” (1 call:
AICall → LogUptake)
Called by
- Page 6329 “Sustain. Emission Suggestion” (1 call:
GenerateCopilotSuggestion → AICall)
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 AI"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.