{"title":"Page 6336 Sustainability Purchase Line","url":"https://jonas-paprotka.de/ref/page/6336-sustainability-purchase-line/","author":"JOP-AL","license":"Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/","subject":"Microsoft Dynamics 365 Business Central","checked":"2026-11-20","changed":"2026-10-05","changedSince":"2026-09-22","source":{"feed":"https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json","package":"Microsoft.Sustainability.symbols.b3780cd9-f8f8-4a83-a4d5-0c2ad87b28af","build":"29.0.54011.55644","builds":{"28":"28.5.54151.54365","29":"29.0.54011.55644"},"code":{"29":{"url":"https://jonas-paprotka.de/ref/page/6336-sustainability-purchase-line/source/","repo":"https://github.com/microsoft/BCApps","branch":"releases/29.x","commit":"4303e5e584d3aa5d9e98cbc615525a5396ad6ed7","path":"src/Apps/W1/Sustainability/app/src/APIs/SustainabilityPurchaseLine.Page.al","license":"MIT"}},"note":"Presence per major, highest build of each; 17 is the oldest major on the feed. Local procedures are not listed."},"object":{"type":"page","id":6336,"name":"Sustainability Purchase Line","app":"Sustainability","appByVersion":[{"app":"Sustainability","from":28}],"nameByVersion":[{"name":"Sustainability Purchase Line","from":28}],"namespace":"Microsoft.API.V1","versions":"28-29","majors":[28,29],"countries":["W1","DE","US"],"minors":{"W1":"28.0-29.0","DE":"28.0-29.0","US":"28.0-29.0"},"minorsUrl":"https://jonas-paprotka.de/ref/page/6336-sustainability-purchase-line/editions.json","extends":null,"extendsUrl":null,"sourceTable":"39","properties":{"extensible":false,"pageType":"API","api":{"publisher":"microsoft","group":"sustainability","version":"'v1.0'","entityName":"sustainabilityPurchaseLine","entitySetName":"sustainabilityPurchaseLines"}},"extendedBy":[],"implementedBy":[],"sourceFile":"src/APIs/SustainabilityPurchaseLine.Page.al","obsolete":null,"obsoleteSeenFrom":null,"byVersion":{"28":{"app":"Sustainability","name":"Sustainability Purchase Line","ns":"Microsoft.API.V1","obsolete":null,"target":"","sourceTable":"39","props":{"extensible":false,"pageType":"API","api":{"publisher":"microsoft","group":"sustainability","version":"'v1.0'","entityName":"sustainabilityPurchaseLine","entitySetName":"sustainabilityPurchaseLines"}},"counts":{"fields":0,"keys":0,"methods":0,"values":0,"controls":32},"stub":false},"29":{"app":"Sustainability","name":"Sustainability Purchase Line","ns":"Microsoft.API.V1","obsolete":null,"target":"","sourceTable":"39","props":{"extensible":false,"pageType":"API","api":{"publisher":"microsoft","group":"sustainability","version":"'v1.0'","entityName":"sustainabilityPurchaseLine","entitySetName":"sustainabilityPurchaseLines"}},"counts":{"fields":0,"keys":0,"methods":0,"values":0,"controls":32},"stub":false}},"fields":[],"keys":[],"procedures":[],"events":[],"triggerEvents":[{"name":"OnOpenPageEvent","sig":"(var Rec: Record \"Purchase Line\")","element":null,"docs":"https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/page/devenv-onopenpageevent-page-trigger/"},{"name":"OnAfterGetRecordEvent","sig":"(var Rec: Record \"Purchase Line\")","element":null,"docs":"https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/page/devenv-onaftergetrecordevent-page-trigger/"},{"name":"OnAfterGetCurrRecordEvent","sig":"(var Rec: Record \"Purchase Line\")","element":null,"docs":"https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/page/devenv-onaftergetcurrrecordevent-page-trigger/"},{"name":"OnNewRecordEvent","sig":"(var Rec: Record \"Purchase Line\"; BelowxRec: Boolean; var xRec: Record \"Purchase Line\")","element":null,"docs":"https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/page/devenv-onnewrecordevent-page-trigger/"},{"name":"OnInsertRecordEvent","sig":"(var Rec: Record \"Purchase Line\"; BelowxRec: Boolean; var xRec: Record \"Purchase Line\"; var AllowInsert: Boolean)","element":null,"docs":"https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/page/devenv-oninsertrecordevent-page-trigger/"},{"name":"OnModifyRecordEvent","sig":"(var Rec: Record \"Purchase Line\"; var xRec: Record \"Purchase Line\"; var AllowModify: Boolean)","element":null,"docs":"https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/page/devenv-onmodifyrecordevent-page-trigger/"},{"name":"OnDeleteRecordEvent","sig":"(var Rec: Record \"Purchase Line\"; var AllowDelete: Boolean)","element":null,"docs":"https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/page/devenv-ondeleterecordevent-page-trigger/"},{"name":"OnQueryClosePageEvent","sig":"(var Rec: Record \"Purchase Line\"; var AllowClose: Boolean)","element":null,"docs":"https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/page/devenv-onqueryclosepageevent-page-trigger/"},{"name":"OnClosePageEvent","sig":"(var Rec: Record \"Purchase Line\")","element":null,"docs":"https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/page/devenv-onclosepageevent-page-trigger/"},{"name":"OnBeforeActionEvent","sig":"(var Rec: Record \"Purchase Line\")","element":"per action, ElementName: action name","docs":"https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/page/devenv-onbeforeactionevent-page-trigger/"},{"name":"OnAfterActionEvent","sig":"(var Rec: Record \"Purchase Line\")","element":"per action, ElementName: action name","docs":"https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/page/devenv-onafteractionevent-page-trigger/"},{"name":"OnBeforeValidateEvent","sig":"(var Rec: Record \"Purchase Line\"; var xRec: Record \"Purchase Line\")","element":"per field, ElementName: control name","docs":"https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/page/devenv-onbeforevalidateevent-page-trigger/"},{"name":"OnAfterValidateEvent","sig":"(var Rec: Record \"Purchase Line\"; var xRec: Record \"Purchase Line\")","element":"per field, ElementName: control name","docs":"https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/page/devenv-onaftervalidateevent-page-trigger/"}],"values":[],"controls":[{"name":"Content","kind":"area","type":"","parent":"","anchor":"","change":"","obsolete":null,"range":"28-29","first":28,"last":29,"obsoleteSince":null,"spans":[{"from":28,"to":29,"name":"Content","kind":"area","type":"","parent":"","anchor":"","change":"","obsolete":null}]},{"name":"General","kind":"repeater","type":"","parent":"Content","anchor":"","change":"","obsolete":null,"range":"28-29","first":28,"last":29,"obsoleteSince":null,"spans":[{"from":28,"to":29,"name":"General","kind":"repeater","type":"","parent":"Content","anchor":"","change":"","obsolete":null}]},{"name":"id","kind":"field","type":"Guid","parent":"General","anchor":"","change":"","obsolete":null,"range":"28-29","first":28,"last":29,"obsoleteSince":null,"spans":[{"from":28,"to":29,"name":"id","kind":"field","type":"Guid","parent":"General","anchor":"","change":"","obsolete":null}]},{"name":"documentType","kind":"field","type":"Enum Purchase Document Type","parent":"General","anchor":"","change":"","obsolete":null,"range":"28-29","first":28,"last":29,"obsoleteSince":null,"spans":[{"from":28,"to":29,"name":"documentType","kind":"field","type":"Enum Purchase Document Type","parent":"General","anchor":"","change":"","obsolete":null}]},{"name":"documentNumber","kind":"field","type":"Code[20]","parent":"General","anchor":"","change":"","obsolete":null,"range":"28-29","first":28,"last":29,"obsoleteSince":null,"spans":[{"from":28,"to":29,"name":"documentNumber","kind":"field","type":"Code[20]","parent":"General","anchor":"","change":"","obsolete":null}]},{"name":"lineNumber","kind":"field","type":"Integer","parent":"General","anchor":"","change":"","obsolete":null,"range":"28-29","first":28,"last":29,"obsoleteSince":null,"spans":[{"from":28,"to":29,"name":"lineNumber","kind":"field","type":"Integer","parent":"General","anchor":"","change":"","obsolete":null}]},{"name":"no","kind":"field","type":"Code[20]","parent":"General","anchor":"","change":"","obsolete":null,"range":"28-29","first":28,"last":29,"obsoleteSince":null,"spans":[{"from":28,"to":29,"name":"no","kind":"field","type":"Code[20]","parent":"General","anchor":"","change":"","obsolete":null}]},{"name":"description","kind":"field","type":"Text[100]","parent":"General","anchor":"","change":"","obsolete":null,"range":"28-29","first":28,"last":29,"obsoleteSince":null,"spans":[{"from":28,"to":29,"name":"description","kind":"field","type":"Text[100]","parent":"General","anchor":"","change":"","obsolete":null}]},{"name":"description2","kind":"field","type":"Text[50]","parent":"General","anchor":"","change":"","obsolete":null,"range":"28-29","first":28,"last":29,"obsoleteSince":null,"spans":[{"from":28,"to":29,"name":"description2","kind":"field","type":"Text[50]","parent":"General","anchor":"","change":"","obsolete":null}]},{"name":"sustAccountNo","kind":"field","type":"Code[20]","parent":"General","anchor":"","change":"","obsolete":null,"range":"28-29","first":28,"last":29,"obsoleteSince":null,"spans":[{"from":28,"to":29,"name":"sustAccountNo","kind":"field","type":"Code[20]","parent":"General","anchor":"","change":"","obsolete":null}]},{"name":"sustAccountName","kind":"field","type":"Text[100]","parent":"General","anchor":"","change":"","obsolete":null,"range":"28-29","first":28,"last":29,"obsoleteSince":null,"spans":[{"from":28,"to":29,"name":"sustAccountName","kind":"field","type":"Text[100]","parent":"General","anchor":"","change":"","obsolete":null}]},{"name":"energySourceCode","kind":"field","type":"Code[20]","parent":"General","anchor":"","change":"","obsolete":null,"range":"28-29","first":28,"last":29,"obsoleteSince":null,"spans":[{"from":28,"to":29,"name":"energySourceCode","kind":"field","type":"Code[20]","parent":"General","anchor":"","change":"","obsolete":null}]},{"name":"quantity","kind":"field","type":"Decimal","parent":"General","anchor":"","change":"","obsolete":null,"range":"28-29","first":28,"last":29,"obsoleteSince":null,"spans":[{"from":28,"to":29,"name":"quantity","kind":"field","type":"Decimal","parent":"General","anchor":"","change":"","obsolete":null}]},{"name":"directUnitCost","kind":"field","type":"Decimal","parent":"General","anchor":"","change":"","obsolete":null,"range":"28-29","first":28,"last":29,"obsoleteSince":null,"spans":[{"from":28,"to":29,"name":"directUnitCost","kind":"field","type":"Decimal","parent":"General","anchor":"","change":"","obsolete":null}]},{"name":"lineDiscount","kind":"field","type":"Decimal","parent":"General","anchor":"","change":"","obsolete":null,"range":"28-29","first":28,"last":29,"obsoleteSince":null,"spans":[{"from":28,"to":29,"name":"lineDiscount","kind":"field","type":"Decimal","parent":"General","anchor":"","change":"","obsolete":null}]},{"name":"lineDiscountAmount","kind":"field","type":"Decimal","parent":"General","anchor":"","change":"","obsolete":null,"range":"28-29","first":28,"last":29,"obsoleteSince":null,"spans":[{"from":28,"to":29,"name":"lineDiscountAmount","kind":"field","type":"Decimal","parent":"General","anchor":"","change":"","obsolete":null}]},{"name":"amountIncludingVat","kind":"field","type":"Decimal","parent":"General","anchor":"","change":"","obsolete":null,"range":"28-29","first":28,"last":29,"obsoleteSince":null,"spans":[{"from":28,"to":29,"name":"amountIncludingVat","kind":"field","type":"Decimal","parent":"General","anchor":"","change":"","obsolete":null}]},{"name":"amount","kind":"field","type":"Decimal","parent":"General","anchor":"","change":"","obsolete":null,"range":"28-29","first":28,"last":29,"obsoleteSince":null,"spans":[{"from":28,"to":29,"name":"amount","kind":"field","type":"Decimal","parent":"General","anchor":"","change":"","obsolete":null}]},{"name":"renewableEnergy","kind":"field","type":"Boolean","parent":"General","anchor":"","change":"","obsolete":null,"range":"28-29","first":28,"last":29,"obsoleteSince":null,"spans":[{"from":28,"to":29,"name":"renewableEnergy","kind":"field","type":"Boolean","parent":"General","anchor":"","change":"","obsolete":null}]},{"name":"emissionCO2","kind":"field","type":"Decimal","parent":"General","anchor":"","change":"","obsolete":null,"range":"28-29","first":28,"last":29,"obsoleteSince":null,"spans":[{"from":28,"to":29,"name":"emissionCO2","kind":"field","type":"Decimal","parent":"General","anchor":"","change":"","obsolete":null}]},{"name":"emissionCH4","kind":"field","type":"Decimal","parent":"General","anchor":"","change":"","obsolete":null,"range":"28-29","first":28,"last":29,"obsoleteSince":null,"spans":[{"from":28,"to":29,"name":"emissionCH4","kind":"field","type":"Decimal","parent":"General","anchor":"","change":"","obsolete":null}]},{"name":"emissionN2O","kind":"field","type":"Decimal","parent":"General","anchor":"","change":"","obsolete":null,"range":"28-29","first":28,"last":29,"obsoleteSince":null,"spans":[{"from":28,"to":29,"name":"emissionN2O","kind":"field","type":"Decimal","parent":"General","anchor":"","change":"","obsolete":null}]},{"name":"energyConsumption","kind":"field","type":"Decimal","parent":"General","anchor":"","change":"","obsolete":null,"range":"28-29","first":28,"last":29,"obsoleteSince":null,"spans":[{"from":28,"to":29,"name":"energyConsumption","kind":"field","type":"Decimal","parent":"General","anchor":"","change":"","obsolete":null}]},{"name":"sourceOfEmissionData","kind":"field","type":"Enum Sust. Source of Emission","parent":"General","anchor":"","change":"","obsolete":null,"range":"28-29","first":28,"last":29,"obsoleteSince":null,"spans":[{"from":28,"to":29,"name":"sourceOfEmissionData","kind":"field","type":"Enum Sust. Source of Emission","parent":"General","anchor":"","change":"","obsolete":null}]},{"name":"emissionVerified","kind":"field","type":"Boolean","parent":"General","anchor":"","change":"","obsolete":null,"range":"28-29","first":28,"last":29,"obsoleteSince":null,"spans":[{"from":28,"to":29,"name":"emissionVerified","kind":"field","type":"Boolean","parent":"General","anchor":"","change":"","obsolete":null}]},{"name":"cbamCompliance","kind":"field","type":"Boolean","parent":"General","anchor":"","change":"","obsolete":null,"range":"28-29","first":28,"last":29,"obsoleteSince":null,"spans":[{"from":28,"to":29,"name":"cbamCompliance","kind":"field","type":"Boolean","parent":"General","anchor":"","change":"","obsolete":null}]},{"name":"invoiceDiscountAmount","kind":"field","type":"Decimal","parent":"General","anchor":"","change":"","obsolete":null,"range":"28-29","first":28,"last":29,"obsoleteSince":null,"spans":[{"from":28,"to":29,"name":"invoiceDiscountAmount","kind":"field","type":"Decimal","parent":"General","anchor":"","change":"","obsolete":null}]},{"name":"totalEmissionCost","kind":"field","type":"Decimal","parent":"General","anchor":"","change":"","obsolete":null,"range":"28-29","first":28,"last":29,"obsoleteSince":null,"spans":[{"from":28,"to":29,"name":"totalEmissionCost","kind":"field","type":"Decimal","parent":"General","anchor":"","change":"","obsolete":null}]},{"name":"jobNumber","kind":"field","type":"Code[20]","parent":"General","anchor":"","change":"","obsolete":null,"range":"28-29","first":28,"last":29,"obsoleteSince":null,"spans":[{"from":28,"to":29,"name":"jobNumber","kind":"field","type":"Code[20]","parent":"General","anchor":"","change":"","obsolete":null}]},{"name":"currencyCode","kind":"field","type":"Code[10]","parent":"General","anchor":"","change":"","obsolete":null,"range":"28-29","first":28,"last":29,"obsoleteSince":null,"spans":[{"from":28,"to":29,"name":"currencyCode","kind":"field","type":"Code[10]","parent":"General","anchor":"","change":"","obsolete":null}]},{"name":"unitCost","kind":"field","type":"Decimal","parent":"General","anchor":"","change":"","obsolete":null,"range":"28-29","first":28,"last":29,"obsoleteSince":null,"spans":[{"from":28,"to":29,"name":"unitCost","kind":"field","type":"Decimal","parent":"General","anchor":"","change":"","obsolete":null}]},{"name":"lineAmount","kind":"field","type":"Decimal","parent":"General","anchor":"","change":"","obsolete":null,"range":"28-29","first":28,"last":29,"obsoleteSince":null,"spans":[{"from":28,"to":29,"name":"lineAmount","kind":"field","type":"Decimal","parent":"General","anchor":"","change":"","obsolete":null}]}],"actions":[]}}