Codeunit 5215 "Create Sustainability Account"
SustainabilityContosoCoffeeDemoDataset
Across versions
- BC23-28not present
- BC29-30present
Neighbourhood 9 connected objects and pages
SustainabilityContosoCoffeeDemoDataset · BC29-30 · source at ea08af5e · facts from BC29
Procedures
UtilitiesExpensePowerPlant(): Code[20](obsolete 29.0: Unused function.)GasEmissions(): Code[20]Scope1(): Code[20]StationaryCombustion(): Code[20]Boilers(): Code[20]HeatersSmall(): Code[20]HeatersMedium(): Code[20]HeatersLarge(): Code[20]ThermalOxidizers(): Code[20]TotalStationaryCombustion(): Code[20]MobileCombustion(): Code[20]OnRoadVehicleUrbanTrucks(): Code[20]OnRoadVehiclesLongHaulTrucks(): Code[20]OnRoadVehiclesBuses(): Code[20]NonRoadVehiclesTractors(): Code[20]NonRoadVehiclesForklifts(): Code[20]NonRoadVehiclesBackhoes(): Code[20]Rail(): Code[20]AirContinentalEconomy(): Code[20]AirContinentalBusiness(): Code[20]AirIntercontinentalEconomy(): Code[20]AirIntercontinentalPremiumEconomy(): Code[20]AirIntercontinentalBusiness(): Code[20]TotalMobileCombustion(): Code[20]FugitiveEmission(): Code[20]Refrigerators(): Code[20]AirConditionEquipments24kW(): Code[20]AirConditionEquipments36kW(): Code[20]TotalFugitiveEmissions(): Code[20]TotalScope1(): Code[20]Scope2(): Code[20]UpstreamActivityScope2(): Code[20]PurchasedElectricityContosoPowerPlant(): Code[20]PurchasedElectricityWideWorldImporters(): Code[20]PurchasedElectricityGreenTariffEnergy(): Code[20]SteamFabrikamInc(): Code[20]HeatingFabrikamInc(): Code[20]TotalUpStreamActivityScope2(): Code[20]TotalScope2(): Code[20]Scope3(): Code[20]UpstreamActivityScope3(): Code[20]PurchasedGoodsPlastic(): Code[20]PurchasedGoodsAluminum(): Code[20]PurchasedGoodsSteel(): Code[20]PurchasedGoodsGlass(): Code[20]PurchasedServices(): Code[20]ExternalTransportation(): Code[20]TransportationWithOwnTrucks(): Code[20]WastePlasticGeneratedInOperation(): Code[20]WasteOrganicGeneratedInOperation(): Code[20]RecycledWasteGeneratedInOperation(): Code[20]TotalUpstreamActivityScope3(): Code[20]DownstreamActivityScope3(): Code[20]ProcessingOfSoldProducts(): Code[20]UseOfSoldProducts(): Code[20]EndOfLifeTreatmentOfSoldProducts(): Code[20]ExternalTransportationScope3(): Code[20]TransportationWithOwnTrucksScope3(): Code[20]TotalDownstreamActivityScope3(): Code[20]BusinessTravelAndEmployeeCommuting(): Code[20]ContosoHotel3Stars(): Code[20]ContosoHotel4Stars(): Code[20]ContosoHotel4StarsJuniorSuite(): Code[20]ContosoRentalCar(): Code[20]CompanyCarMediumSize(): Code[20]CompanyCarLargeSize(): Code[20]CompanyCarPremiumSize(): Code[20]TotalBusinessTravelAndEmployeeCommuting(): Code[20]TotalScope3(): Code[20]TotalGasEmissions(): Code[20]CarbonCredits(): Code[20]CarbonCreditScope1(): Code[20]CarbonCreditScope2(): Code[20]CarbonCreditScope3(): Code[20]TotalCarbonCredits(): Code[20]Water(): Code[20]ConsumedWater(): Code[20]GreenWater(): Code[20]BlueWater(): Code[20]GreyWater(): Code[20]TotalConsumedWater(): Code[20]DischargedWater(): Code[20]DischargedWater1(): Code[20]TotalDischargedWater(): Code[20]TotalWater(): Code[20]Waste(): Code[20]ReusableWaste(): Code[20]RecyclableWaste(): Code[20]CompostableWaste(): Code[20]TotalReusableWaste(): Code[20]ManufacturingWaste(): Code[20]PlasticWaste(): Code[20]SteelWaste(): Code[20]WoodWaste(): Code[20]TotalManufacturingWaste(): Code[20]OrganicWaste(): Code[20]FoodWaste(): Code[20]TotalOrganicWaste(): Code[20]TotalWaste(): Code[20]
Triggers
OnRun
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 5214 “Create Sustain. Subcategory” (56 calls:
OnRun → AirConditionerLarge,OnRun → AirConditionerSmall,OnRun → AirContinentalBusiness, …) - Codeunit 5213 “Create Sustainability Category” (23 calls:
OnRun → CompanyCar,OnRun → Credit1,OnRun → Credit2, …) - Codeunit 5216 “Contoso Sustainability” (1 call:
OnRun → InsertSustainabilityAccount) - Codeunit 6210 “Sustainability Account Mgt.” (1 call:
OnRun → IndentChartOfSustainabilityAccounts)
Called by
- Codeunit 5222 “Create Sustainability Entry” (32 calls:
CreateLinesForWaterWasteBatch → BlueWater,CreateLinesForWaterWasteBatch → DischargedWater1,CreateLinesForWaterWasteBatch → FoodWaste, …) - Codeunit 5221 “Create Sustainability Journal” (18 calls:
CreateLinesForDefaultBatch → AirContinentalEconomy,CreateLinesForDefaultBatch → AirIntercontinentalBusiness,CreateLinesForDefaultBatch → CompanyCarLargeSize, …) - Codeunit 5244 “Create Sust. Acc. Sch. Line” (11 calls:
OnRun → CarbonCreditScope1,OnRun → CarbonCreditScope2,OnRun → CarbonCreditScope3, …) - Codeunit 5259 “Create Sust. Purchase” (2 calls:
CreatePurchaseInvoiceWithGL → PurchasedElectricityWideWorldImporters,CreatePurchaseInvoiceWithItem → CarbonCreditScope1) - Codeunit 5218 “Sustainability Module” (1 call:
CreateSetupData → (object))
Deprecations
- procedure UtilitiesExpensePowerPlant: Pending 29.0 (#if not CLEAN29), “Unused function.”
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: "codeunit", object_name: "Create Sustainability Account"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.