codeunitAL Developmentofficial - Microsoftderived - from the source, no model text

Codeunit 5216 "Contoso Sustainability"

SustainabilityContosoCoffeeDemoDataset

Across versions

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

Neighbourhood 12 connected objects and pages

Codeunit 5221 "Create Sustainability Journal" (calls, 4 links)Create Sustainability JournalCodeunit 5217 "Create Sustain. Jnl. Setup" (calls, 2 links)Create Sustain. Jnl. SetupCodeunit 5222 "Create Sustainability Entry" (calls, 2 links)Create Sustainability EntryCodeunit 5259 "Create Sust. Purchase" (calls, 2 links)Create Sust. PurchaseCodeunit 5213 "Create Sustainability Category" (calls)Create Sustainability CategoryCodeunit 5214 "Create Sustain. Subcategory" (calls)Codeunit 5215 "Create Sustainability Account" (calls)Create Sustainability AccountCodeunit 5242 "Create Emission Fee" (calls)Create Emission FeeCodeunit 5249 "Create Sust. Goal" (calls)Create Sust. GoalCodeunit 5251 "Create Sust. Scorecard" (calls)Create Sust. ScorecardCodeunit 5254 "Create Sust. Item" (calls)Create Sust. ItemCodeunit 5277 "Create Sust. Responsibility" (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.

SustainabilityContosoCoffeeDemoDataset · BC29-30 · source at ea08af5e · facts from BC29

Properties

Property Value
Permissions tabledata “Sustain. Account Category” = rim, tabledata “Sustain. Account Subcategory” = rim, tabledata “Sustainability Account” = rim, tabledata “Sustainability Jnl. Template” = rim, tabledata “Sustainability Jnl. Batch” = rim, tabledata “Sustainability Jnl. Line” = rim

Procedures

  • SetOverwriteData(Overwrite: Boolean)
  • InsertAccountCategory(Code: Code[20]; Description: Text[100]; Scope: Enum "Emission Scope"; CalcFoundation: Enum "Calculation Foundation"; CO2: Boolean; CH4: Boolean; N2O: Boolean; CustomValue: Text[100]; CalcFromGL: Boolean)
  • InsertAccountCategory(Code: Code[20]; Description: Text[100]; Scope: Enum "Emission Scope"; CalcFoundation: Enum "Calculation Foundation"; CO2: Boolean; CH4: Boolean; N2O: Boolean; WaterIntensity: Boolean; WasteIntensity: Boolean; DischargedIntoWater: Boolean; CustomValue: Text[100]; CalcFromGL: Boolean)
  • InsertAccountSubcategory(CategoryCode: Code[20]; SubcategoryCode: Code[20]; Description: Text[100]; EFCO2: Decimal; EFCH4: Decimal; EFN2O: Decimal; RenewableEnergy: Boolean)
  • InsertAccountSubcategory(CategoryCode: Code[20]; SubcategoryCode: Code[20]; Description: Text[100]; EFCO2: Decimal; EFCH4: Decimal; EFN2O: Decimal; WaterIntensityFactor: Decimal; WasteIntensityFactor: Decimal; DischargedIntoWaterFactor: Decimal; RenewableEnergy: Boolean)
  • InsertSustainabilityAccount(AccountNo: Code[20]; Name: Text[100]; CategoryCode: Code[20]; SubcategoryCode: Code[20]; AccountType: Enum "Sustainability Account Type"; Totaling: Text[250]; DirectPosting: Boolean)
  • InsertSustainabilityJournalTemplate(Name: Code[10]; Description: Text[80]; Recurring: Boolean)
  • InsertSustainabilityJournalBatch(TemplateName: Code[10]; BatchName: Code[10]; Description: Text[100]; NoSeries: Code[20]; EmissionScope: Enum "Emission Scope"; SourceCode: Code[10])
  • InsertSustainabilityJournalLine(TemplateName: Code[10]; BatchName: Code[10]; PostingDate: Date; DocumentNo: Code[20]; AccountNo: Code[20]; ManualInput: Boolean; UoM: Code[10]; FuelElectricity: Decimal; Distance: Decimal; CustomAmount: Decimal; Installation: Decimal; TimeFactor: Decimal; EmissionCO2: Decimal; EmissionCH4: Decimal; EmissionN2O: Decimal; WaterIntensity: Decimal; WasteIntensity: Decimal; DischargedIntoWater: Decimal; WaterWasteIntensityType: Enum "Water/Waste Intensity Type"; WaterType: Enum "Water Type"; CountryOrRegion: Code[10]; ResponsibilityCenter: Code[10])
  • InsertSustainabilityJournalLine(TemplateName: Code[10]; BatchName: Code[10]; PostingDate: Date; DocumentNo: Code[20]; AccountNo: Code[20]; ManualInput: Boolean; UoM: Code[10]; FuelElectricity: Decimal; Distance: Decimal; CustomAmount: Decimal; Installation: Decimal; TimeFactor: Decimal; EmissionCO2: Decimal; EmissionCH4: Decimal; EmissionN2O: Decimal; CountryOrRegion: Code[10]; ResponsibilityCenter: Code[10])
  • InsertSustainabilityJournalLine(TemplateName: Code[10]; BatchName: Code[10]; PostingDate: Date; DocumentNo: Code[20]; AccountNo: Code[20]; UoM: Code[10]; FuelElectricity: Decimal; Distance: Decimal; CustomAmount: Decimal; Installation: Decimal; TimeFactor: Decimal; CountryOrRegion: Code[10]; ResponsibilityCenter: Code[10])
  • InsertSustainabilityJournalLine(TemplateName: Code[10]; BatchName: Code[10]; PostingDate: Date; DocumentNo: Code[20]; AccountNo: Code[20]; EmissionCO2: Decimal; EmissionCH4: Decimal; EmissionN2O: Decimal; CountryOrRegion: Code[10]; ResponsibilityCenter: Code[10])
  • InsertEmissionFee(EmissionType: Enum "Emission Type"; ScopeType: Enum "Emission Scope"; StartingDate: Date; EndingDate: Date; CountryRegionCode: Code[10]; ResponsibilityCenter: Code[10]; CarbonFee: Decimal; CarbonEquivalentFactor: Decimal)
  • UpdateSustainabilityItem(ItemNo: Code[20]; GHGCredit: Boolean; CarbonCrPerUOM: Decimal)
  • UpdateSustainabilityPurchLine(PurchaseHeader: Record "Purchase Header"; SustAccNo: Code[20]; EmissionCO2: Decimal; EmissionCH4: Decimal; EmissionN2O: Decimal; TaxGroupCode: Code[20])
  • InsertScorecard(ScorecardNo: Code[20]; ScorecardName: Text[100]; Owner: Code[50])
  • InsertGoal(ScorecardNo: Code[20]; GoalNo: Code[20]; GoalName: Text[100]; BaseLinePeriodStartDate: Date; BaseLinePeriodEndDate: Date; CurrentPeriodStartDate: Date; CurrentPeriodEndDate: Date; UOM: Code[10]; CountryRegion: Code[10]; RespobislityCenter: Code[10]; TargetValueCO2: Decimal; TargetValueCH4: Decimal; TargetValueN2O: Decimal; MailGoal: Boolean)
  • InsertGoal(ScorecardNo: Code[20]; GoalNo: Code[20]; GoalName: Text[100]; BaseLinePeriodStartDate: Date; BaseLinePeriodEndDate: Date; CurrentPeriodStartDate: Date; CurrentPeriodEndDate: Date; UOM: Code[10]; CountryRegion: Code[10]; RespobislityCenter: Code[10]; TargetValueCO2: Decimal; TargetValueCH4: Decimal; TargetValueN2O: Decimal; TargetValueWater: Decimal; TargetValueWaste: Decimal; MailGoal: Boolean)
  • UpdateSustainabilityResponsibilityCenter(ResponsibilityCenterCode: Code[20]; WaterCapacityQuantity: Decimal; WaterCapacityUnit: Code[10])

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

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

Evidence 1 sources