Table extension 6211 "Sustainability Purch. Line"
Sustainability · Microsoft.Sustainability.Purchase
Across versions
- BC23-28not present
- BC29-30present
Neighbourhood 7 connected objects and pages
Sustainability · Microsoft.Sustainability.Purchase · BC29-30 · source at ea08af5e · facts from BC29
Extends Purchase Line.
Fields
Explanation: the field’s ToolTip in the code; without one, the ToolTip of a page control bound to the field (marked via the page); without that, its Caption (marked caption) when that differs from the name.
| No. | Name | Type | Explanation | Notes |
|---|---|---|---|---|
| 6210 | Sust. Account No. | Code[20] | Specifies the value of the Sustainability Account No. field. via Page extension 6211 “Sust. Purch. Order Subform” | TableRelation Table 6210 “Sustainability Account” (“Sustainability Account” where(“Account Type” = const(Posting), Blocked = const(false))); DataClassification CustomerContent |
| 6211 | Sust. Account Name | Text[100] | Sustainability Account Name caption | DataClassification CustomerContent |
| 6212 | Sust. Account Category | Code[20] | Sustainability Account Category caption | TableRelation Table 6211 “Sustain. Account Category” (Sustain. Account Category); not editable; DataClassification CustomerContent |
| 6213 | Sust. Account Subcategory | Code[20] | Sustainability Account Subcategory caption | TableRelation Table 6212 “Sustain. Account Subcategory” (“Sustain. Account Subcategory”.Code where(“Category Code” = field(“Sust. Account Category”))); not editable; DataClassification CustomerContent |
| 6214 | Emission CO2 Per Unit | Decimal | — | DataClassification CustomerContent |
| 6215 | Emission CH4 Per Unit | Decimal | — | DataClassification CustomerContent |
| 6216 | Emission N2O Per Unit | Decimal | — | DataClassification CustomerContent |
| 6217 | Emission CO2 | Decimal | Specifies the value of the Emission CO2 field. via Page extension 6211 “Sust. Purch. Order Subform” | DataClassification CustomerContent |
| 6218 | Emission CH4 | Decimal | Specifies the value of the Emission CH4 field. via Page extension 6211 “Sust. Purch. Order Subform” | DataClassification CustomerContent |
| 6219 | Emission N2O | Decimal | Specifies the value of the Emission N2O field. via Page extension 6211 “Sust. Purch. Order Subform” | DataClassification CustomerContent |
| 6220 | Posted Emission CO2 | Decimal | — | not editable; DataClassification CustomerContent |
| 6221 | Posted Emission CH4 | Decimal | — | not editable; DataClassification CustomerContent |
| 6222 | Posted Emission N2O | Decimal | — | not editable; DataClassification CustomerContent |
| 6223 | Energy Source Code | Code[20] | Specifies the value of the Energy Source Code field. via Page extension 6211 “Sust. Purch. Order Subform” | TableRelation Table 6233 “Sustainability Energy Source” (Sustainability Energy Source); DataClassification CustomerContent |
| 6224 | Renewable Energy | Boolean | Specifies the value of the Renewable Energy field. via Page extension 6211 “Sust. Purch. Order Subform” | DataClassification CustomerContent |
| 6225 | Energy Consumption Per Unit | Decimal | — | DataClassification CustomerContent |
| 6226 | Energy Consumption | Decimal | Specifies the value of the Energy Consumption field. via Page extension 6211 “Sust. Purch. Order Subform” | DataClassification CustomerContent |
| 6227 | Posted Energy Consumption | Decimal | — | not editable; DataClassification CustomerContent |
| 6228 | Source of Emission Data | Enum “Sust. Source of Emission” | Specifies the value of the Source of Emission Data field. via Page extension 6211 “Sust. Purch. Order Subform” | enum Enum 6224 “Sust. Source of Emission”; DataClassification CustomerContent |
| 6229 | Emission Verified | Boolean | Specifies the value of the Emission Verified field. via Page extension 6211 “Sust. Purch. Order Subform” | DataClassification CustomerContent |
| 6230 | CBAM Compliance | Boolean | Specifies the value of the CBAM Compliance field. via Page extension 6211 “Sust. Purch. Order Subform” | DataClassification CustomerContent |
| 6231 | Emission Cost Per Unit | Decimal | — | DataClassification CustomerContent |
| 6232 | Total Emission Cost | Decimal | Specifies the value of the Total Emission Cost field. via Page extension 6211 “Sust. Purch. Order Subform” | DataClassification CustomerContent |
| 6233 | Posted Total Emission Cost | Decimal | — | DataClassification CustomerContent |
| 6234 | Unit for Sust. Formulas | Code[10] | Specifies the unit of measure used for formulas to calculate total emissions based on inbound information. via Page extension 6211 “Sust. Purch. Order Subform” | TableRelation Table 204 “Unit of Measure” (Unit of Measure); DataClassification CustomerContent |
| 6235 | Fuel/Electricity | Decimal | Specifies the fuel or electricity of the purchase line. via Page extension 6211 “Sust. Purch. Order Subform” | DataClassification CustomerContent |
| 6236 | Distance | Decimal | Specifies the distance of the purchase line. via Page extension 6211 “Sust. Purch. Order Subform” | DataClassification CustomerContent |
| 6237 | Custom Amount | Decimal | Specifies the custom amount of the purchase line. via Page extension 6211 “Sust. Purch. Order Subform” | DataClassification CustomerContent |
| 6238 | Installation Multiplier | Decimal | Specifies the installation multiplier of the purchase line. via Page extension 6211 “Sust. Purch. Order Subform” | DataClassification CustomerContent |
| 6239 | Time Factor | Decimal | Specifies the time factor of the purchase line. via Page extension 6211 “Sust. Purch. Order Subform” | DataClassification CustomerContent |
| 6240 | Received Sust. Cert. Type Code | Code[50] | Received Sustainability Certificate Type Code caption | DataClassification CustomerContent |
| 6241 | Received Sust. Prod. CL. Code | Code[50] | Received Sustainability Product Classification Code caption | DataClassification CustomerContent |
| 6242 | EUDR Relevant | Boolean | Indicates that the item on the purchase line is subject to the EU Deforestation Regulation, so lot-level certification details may be required. | not editable; DataClassification CustomerContent |
Procedures
UpdateSustainabilityEmission(var PurchLine: Record "Purchase Line")UpdateEmissionPerUnit(var PurchLine: Record "Purchase Line")UpdateCarbonPricingInPurchLine(var PurchLine: Record "Purchase Line")(internal)IsSustainabilityFormulaPurchaseLine(): Boolean(internal)
Plus 9 local procedures.
Relations
- Unit for Sust. Formulas: TableRelation Table 204 “Unit of Measure”
- extends Table 39 “Purchase Line”
- Sust. Account No.: TableRelation Table 6210 “Sustainability Account”
- Sust. Account Category: TableRelation Table 6211 “Sustain. Account Category”
- Sust. Account Subcategory: TableRelation Table 6212 “Sustain. Account Subcategory”
- Energy Source Code: TableRelation Table 6233 “Sustainability Energy Source”
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 6225 “Sust. Purchase Subscriber” (1 call:
FindCarbonPricingFromPurchaseLine → GetCO2eEmissionFromPurchLine)
Recent changes
- 2026-09-15 #11217 [Master] - Slice 641591: EUDR Certificate Capture for Items (main, BC30, feature)
- 2026-07-29 #9613 [Master] - Sustainability: Specific Carbon Tracking, Item Charge emissions & setup fixes (Bugs 641051, 641486, 641487, 641049, 641222, 641055, 641289, 641224, 641309) (main, BC30, fix)
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: "tableextension", object_name: "Sustainability Purch. Line"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.