CDM/schemaDocuments/Sustainability/PurchasedGoodAndService.1.0...

1848 строки
68 KiB
JSON

{
"jsonSchemaSemanticVersion": "1.1.0",
"imports": [
{
"corpusPath": "cdm:/core/cdsConcepts.1.0.1.cdm.json"
},
{
"corpusPath": "Facility.1.0.cdm.json"
},
{
"corpusPath": "IndustrialProcessType.1.0.cdm.json"
},
{
"corpusPath": "SpendType.1.0.cdm.json"
},
{
"corpusPath": "OrganizationalUnit.1.0.cdm.json"
},
{
"corpusPath": "Unit.1.0.1.cdm.json"
},
{
"corpusPath": "ValueChainPartner.1.0.cdm.json"
}
],
"definitions": [
{
"entityName": "PurchasedGoodAndService",
"extendsEntity": "CdmEntity",
"displayName": "Purchased good and service",
"description": "Entity for purchased goods and services.",
"sourceName": "msdyn_purchasedgoodandservice",
"exhibitsTraits": [
{
"traitReference": "is.localized.describedAs",
"arguments": [
{
"entityReference": {
"entityShape": "localizedTable",
"constantValues": [
[
"en",
"Entity for purchased goods and services."
]
]
}
}
]
},
{
"traitReference": "is.localized.displayedAs",
"arguments": [
{
"entityReference": {
"entityShape": "localizedTable",
"constantValues": [
[
"en",
"Purchased good and service"
]
]
}
}
]
},
{
"traitReference": "is.CDM.entityVersion",
"arguments": [
{
"name": "versionNumber",
"value": "1.0.1"
}
]
}
],
"hasAttributes": [
{
"attributeGroupReference": {
"attributeGroupName": "attributesAddedAtThisScope",
"members": [
{
"name": "purchasedgoodandserviceId",
"sourceName": "msdyn_purchasedgoodandserviceid",
"sourceOrdering": 1,
"description": "Unique identifier for entity instances",
"displayName": "Purchased Good and Service",
"isNullable": false,
"purpose": "identifiedBy",
"dataType": "entityId",
"appliedTraits": [
{
"traitReference": "is.requiredAtLevel",
"arguments": [
{
"name": "level",
"value": "systemrequired"
}
]
},
{
"traitReference": "is.localized.describedAs",
"arguments": [
{
"entityReference": {
"entityShape": "localizedTable",
"constantValues": [
[
"en",
"Unique identifier for entity instances"
]
]
}
}
]
},
{
"traitReference": "is.localized.displayedAs",
"arguments": [
{
"entityReference": {
"entityShape": "localizedTable",
"constantValues": [
[
"en",
"Purchased Good and Service"
]
]
}
}
]
},
{
"traitReference": "is.CDS.sourceNamed",
"arguments": [
"msdyn_purchasedgoodandserviceid"
]
}
]
},
{
"name": "TTLInSeconds",
"sourceName": "ttlinseconds",
"sourceOrdering": 2,
"description": "Time to live in seconds.",
"displayName": "Time to live",
"isNullable": true,
"purpose": "hasA",
"dataType": "integer",
"maximumValue": "2147483647",
"minimumValue": "1",
"appliedTraits": [
{
"traitReference": "is.requiredAtLevel",
"arguments": [
{
"name": "level",
"value": "none"
}
]
},
{
"traitReference": "is.localized.describedAs",
"arguments": [
{
"entityReference": {
"entityShape": "localizedTable",
"constantValues": [
[
"en",
"Time to live in seconds."
]
]
}
}
]
},
{
"traitReference": "is.localized.displayedAs",
"arguments": [
{
"entityReference": {
"entityShape": "localizedTable",
"constantValues": [
[
"en",
"Time to live"
]
]
}
}
]
},
{
"traitReference": "is.constrained",
"arguments": [
{
"name": "maximumValue",
"value": "2147483647"
},
{
"name": "minimumValue",
"value": "1"
}
]
}
]
},
{
"name": "partitionId",
"sourceName": "partitionid",
"sourceOrdering": 3,
"description": "Logical partition id. A logical partition consists of a set of records with same partition id.",
"displayName": "Partition ID",
"isNullable": true,
"purpose": "hasA",
"dataType": "string",
"maximumLength": "100",
"appliedTraits": [
{
"traitReference": "is.requiredAtLevel",
"arguments": [
{
"name": "level",
"value": "none"
}
]
},
{
"traitReference": "is.localized.describedAs",
"arguments": [
{
"entityReference": {
"entityShape": "localizedTable",
"constantValues": [
[
"en",
"Logical partition id. A logical partition consists of a set of records with same partition id."
]
]
}
}
]
},
{
"traitReference": "is.localized.displayedAs",
"arguments": [
{
"entityReference": {
"entityShape": "localizedTable",
"constantValues": [
[
"en",
"Partition ID"
]
]
}
}
]
},
{
"traitReference": "is.constrained",
"arguments": [
{
"name": "maximumLength",
"value": "100"
}
]
}
]
},
{
"name": "createdOn",
"sourceName": "createdon",
"sourceOrdering": 4,
"description": "Date and time when the record was created.",
"displayName": "Created on",
"isNullable": true,
"purpose": "hasA",
"dataType": "dateTime",
"appliedTraits": [
{
"traitReference": "is.requiredAtLevel",
"arguments": [
{
"name": "level",
"value": "none"
}
]
},
{
"traitReference": "is.localized.describedAs",
"arguments": [
{
"entityReference": {
"entityShape": "localizedTable",
"constantValues": [
[
"en",
"Date and time when the record was created."
]
]
}
}
]
},
{
"traitReference": "is.localized.displayedAs",
"arguments": [
{
"entityReference": {
"entityShape": "localizedTable",
"constantValues": [
[
"en",
"Created on"
]
]
}
}
]
}
]
},
{
"name": "modifiedOn",
"sourceName": "modifiedon",
"sourceOrdering": 6,
"description": "Date and time when the record was modified.",
"displayName": "Modified on",
"isNullable": true,
"purpose": "hasA",
"dataType": "dateTime",
"appliedTraits": [
{
"traitReference": "is.requiredAtLevel",
"arguments": [
{
"name": "level",
"value": "none"
}
]
},
{
"traitReference": "is.localized.describedAs",
"arguments": [
{
"entityReference": {
"entityShape": "localizedTable",
"constantValues": [
[
"en",
"Date and time when the record was modified."
]
]
}
}
]
},
{
"traitReference": "is.localized.displayedAs",
"arguments": [
{
"entityReference": {
"entityShape": "localizedTable",
"constantValues": [
[
"en",
"Modified on"
]
]
}
}
]
}
]
},
{
"name": "importSequenceNumber",
"sourceName": "importsequencenumber",
"sourceOrdering": 28,
"description": "Sequence number of the import that created this record.",
"displayName": "Import sequence number",
"isNullable": true,
"purpose": "hasA",
"dataType": "integer",
"maximumValue": "2147483647",
"minimumValue": "-2147483648",
"appliedTraits": [
{
"traitReference": "is.requiredAtLevel",
"arguments": [
{
"name": "level",
"value": "none"
}
]
},
{
"traitReference": "is.localized.describedAs",
"arguments": [
{
"entityReference": {
"entityShape": "localizedTable",
"constantValues": [
[
"en",
"Sequence number of the import that created this record."
]
]
}
}
]
},
{
"traitReference": "is.localized.displayedAs",
"arguments": [
{
"entityReference": {
"entityShape": "localizedTable",
"constantValues": [
[
"en",
"Import sequence number"
]
]
}
}
]
},
{
"traitReference": "is.constrained",
"arguments": [
{
"name": "maximumValue",
"value": "2147483647"
},
{
"name": "minimumValue",
"value": "-2147483648"
}
]
}
]
},
{
"name": "overriddenCreatedOn",
"sourceName": "overriddencreatedon",
"sourceOrdering": 29,
"description": "Date and time that the record was migrated.",
"displayName": "Record created on",
"isNullable": true,
"purpose": "hasA",
"dataType": "dateTime",
"appliedTraits": [
{
"traitReference": "is.requiredAtLevel",
"arguments": [
{
"name": "level",
"value": "none"
}
]
},
{
"traitReference": "is.localized.describedAs",
"arguments": [
{
"entityReference": {
"entityShape": "localizedTable",
"constantValues": [
[
"en",
"Date and time that the record was migrated."
]
]
}
}
]
},
{
"traitReference": "is.localized.displayedAs",
"arguments": [
{
"entityReference": {
"entityShape": "localizedTable",
"constantValues": [
[
"en",
"Record created on"
]
]
}
}
]
}
]
},
{
"name": "name",
"sourceName": "msdyn_name",
"sourceOrdering": 30,
"description": "The name of the purchased good and service.",
"displayName": "Name",
"isNullable": true,
"purpose": "hasA",
"dataType": "string",
"maximumLength": "225",
"appliedTraits": [
{
"traitReference": "is.requiredAtLevel",
"arguments": [
{
"name": "level",
"value": "applicationrequired"
}
]
},
{
"traitReference": "is.localized.describedAs",
"arguments": [
{
"entityReference": {
"entityShape": "localizedTable",
"constantValues": [
[
"en",
"The name of the purchased good and service."
]
]
}
}
]
},
{
"traitReference": "is.localized.displayedAs",
"arguments": [
{
"entityReference": {
"entityShape": "localizedTable",
"constantValues": [
[
"en",
"Name"
]
]
}
}
]
},
{
"traitReference": "is.constrained",
"arguments": [
{
"name": "maximumLength",
"value": "225"
}
]
}
]
},
{
"name": "consumptionenddate",
"sourceName": "msdyn_consumptionenddate",
"sourceOrdering": 31,
"description": "End date of activity consumption.",
"displayName": "Consumption end date",
"isNullable": true,
"purpose": "hasA",
"dataType": "dateTime",
"appliedTraits": [
{
"traitReference": "is.requiredAtLevel",
"arguments": [
{
"name": "level",
"value": "none"
}
]
},
{
"traitReference": "is.localized.describedAs",
"arguments": [
{
"entityReference": {
"entityShape": "localizedTable",
"constantValues": [
[
"en",
"End date of activity consumption."
]
]
}
}
]
},
{
"traitReference": "is.localized.displayedAs",
"arguments": [
{
"entityReference": {
"entityShape": "localizedTable",
"constantValues": [
[
"en",
"Consumption end date"
]
]
}
}
]
}
]
},
{
"name": "consumptionstartdate",
"sourceName": "msdyn_consumptionstartdate",
"sourceOrdering": 32,
"description": "Start date of activity consumption.",
"displayName": "Consumption start date",
"isNullable": true,
"purpose": "hasA",
"dataType": "dateTime",
"appliedTraits": [
{
"traitReference": "is.requiredAtLevel",
"arguments": [
{
"name": "level",
"value": "none"
}
]
},
{
"traitReference": "is.localized.describedAs",
"arguments": [
{
"entityReference": {
"entityShape": "localizedTable",
"constantValues": [
[
"en",
"Start date of activity consumption."
]
]
}
}
]
},
{
"traitReference": "is.localized.displayedAs",
"arguments": [
{
"entityReference": {
"entityShape": "localizedTable",
"constantValues": [
[
"en",
"Consumption start date"
]
]
}
}
]
}
]
},
{
"name": "cost",
"sourceName": "msdyn_cost",
"sourceOrdering": 33,
"description": "Cost associated with activity data.",
"displayName": "Cost",
"isNullable": true,
"purpose": "hasA",
"dataType": "decimal",
"maximumValue": "100000000000",
"minimumValue": "-100000000000",
"appliedTraits": [
{
"traitReference": "is.requiredAtLevel",
"arguments": [
{
"name": "level",
"value": "none"
}
]
},
{
"traitReference": "is.localized.describedAs",
"arguments": [
{
"entityReference": {
"entityShape": "localizedTable",
"constantValues": [
[
"en",
"Cost associated with activity data."
]
]
}
}
]
},
{
"traitReference": "is.localized.displayedAs",
"arguments": [
{
"entityReference": {
"entityShape": "localizedTable",
"constantValues": [
[
"en",
"Cost"
]
]
}
}
]
},
{
"traitReference": "is.constrained",
"arguments": [
{
"name": "maximumValue",
"value": "100000000000"
},
{
"name": "minimumValue",
"value": "-100000000000"
}
]
}
]
},
{
"name": "costunit",
"sourceName": "msdyn_costunit",
"sourceOrdering": 34,
"description": "Unit associated with the cost quantity.",
"displayName": "Cost unit",
"isNullable": true,
"purpose": "hasA",
"dataType": "entityId",
"entity": {
"source": "Unit",
"operations": [
{
"$type": "replaceAsForeignKey",
"condition": "referenceOnly",
"reference": "unitId",
"replaceWith": {
"name": "costunit",
"dataType": "entityId",
"appliedTraits": [
{
"traitReference": "is.requiredAtLevel",
"arguments": [
{
"name": "level",
"value": "none"
}
]
},
{
"traitReference": "is.localized.describedAs",
"arguments": [
{
"entityReference": {
"entityShape": "localizedTable",
"constantValues": [
[
"en",
"Unit associated with the cost quantity."
]
]
}
}
]
},
{
"traitReference": "is.localized.displayedAs",
"arguments": [
{
"entityReference": {
"entityShape": "localizedTable",
"constantValues": [
[
"en",
"Cost unit"
]
]
}
}
]
},
{
"traitReference": "is.CDS.lookup",
"arguments": [
{
"name": "style",
"value": "single"
}
]
}
]
}
}
]
}
},
{
"name": "dataqualitytype",
"sourceName": "msdyn_dataqualitytype",
"sourceOrdering": 35,
"description": "Description of the data quality which identifies if the data is actual, estimated, or other descriptors of the data.",
"displayName": "Data quality type",
"isNullable": true,
"purpose": "hasA",
"dataType": {
"dataTypeReference": "listLookup",
"appliedTraits": [
{
"traitReference": "does.haveDefault",
"arguments": [
{
"entityReference": {
"explanation": "The constantValues below correspond to the attributes of the 'listLookupValues' entityShape which are: {languageTag, displayText, attributeValue, displayOrder}",
"entityShape": "listLookupValues",
"constantValues": [
[
"en",
"Actual",
"700610000",
"1"
],
[
"en",
"Estimated",
"700610001",
"2"
],
[
"en",
"Metered",
"700610002",
"3"
]
]
}
}
]
}
]
},
"projections": {
"operations": [
{
"$type": "addSupportingAttribute",
"condition": "virtual",
"supportingAttribute": {
"explanation": "This attribute 'dataqualitytype_display' is added to the 'PurchasedGoodAndService' entity to provide the localized display text for the value of the listLookup attribute 'dataqualitytype'",
"name": "dataqualitytype_display",
"purpose": "hasA",
"dataType": "localizedDisplayText",
"isReadOnly": true
}
}
]
},
"appliedTraits": [
{
"traitReference": "is.requiredAtLevel",
"arguments": [
{
"name": "level",
"value": "applicationrequired"
}
]
},
{
"traitReference": "is.localized.describedAs",
"arguments": [
{
"entityReference": {
"entityShape": "localizedTable",
"constantValues": [
[
"en",
"Description of the data quality which identifies if the data is actual, estimated, or other descriptors of the data."
]
]
}
}
]
},
{
"traitReference": "is.localized.displayedAs",
"arguments": [
{
"entityReference": {
"entityShape": "localizedTable",
"constantValues": [
[
"en",
"Data quality type"
]
]
}
}
]
}
]
},
{
"name": "description",
"sourceName": "msdyn_description",
"sourceOrdering": 37,
"description": "Optional description that provides additional detail about the entity or attribute.",
"displayName": "Description",
"isNullable": true,
"purpose": "hasA",
"dataType": "string",
"maximumLength": "100",
"appliedTraits": [
{
"traitReference": "is.requiredAtLevel",
"arguments": [
{
"name": "level",
"value": "none"
}
]
},
{
"traitReference": "is.localized.describedAs",
"arguments": [
{
"entityReference": {
"entityShape": "localizedTable",
"constantValues": [
[
"en",
"Optional description that provides additional detail about the entity or attribute."
]
]
}
}
]
},
{
"traitReference": "is.localized.displayedAs",
"arguments": [
{
"entityReference": {
"entityShape": "localizedTable",
"constantValues": [
[
"en",
"Description"
]
]
}
}
]
},
{
"traitReference": "is.constrained",
"arguments": [
{
"name": "maximumLength",
"value": "100"
}
]
}
]
},
{
"name": "evidence",
"sourceName": "msdyn_evidence",
"sourceOrdering": 38,
"description": "Optional field where evidence can be linked to the entity or attribute, if required.",
"displayName": "Evidence",
"isNullable": true,
"purpose": "hasA",
"dataType": "url",
"maximumLength": "250",
"appliedTraits": [
{
"traitReference": "is.requiredAtLevel",
"arguments": [
{
"name": "level",
"value": "none"
}
]
},
{
"traitReference": "is.localized.describedAs",
"arguments": [
{
"entityReference": {
"entityShape": "localizedTable",
"constantValues": [
[
"en",
"Optional field where evidence can be linked to the entity or attribute, if required."
]
]
}
}
]
},
{
"traitReference": "is.localized.displayedAs",
"arguments": [
{
"entityReference": {
"entityShape": "localizedTable",
"constantValues": [
[
"en",
"Evidence"
]
]
}
}
]
},
{
"traitReference": "is.constrained",
"arguments": [
{
"name": "maximumLength",
"value": "250"
}
]
}
]
},
{
"name": "facilityid",
"sourceName": "msdyn_facilityid",
"sourceOrdering": 39,
"description": "Unique identifier used to associate the facility with the purchased good and service.",
"displayName": "Facility",
"isNullable": true,
"purpose": "hasA",
"dataType": "entityId",
"entity": {
"source": "Facility",
"operations": [
{
"$type": "replaceAsForeignKey",
"condition": "referenceOnly",
"reference": "facilityId",
"replaceWith": {
"name": "facilityid",
"dataType": "entityId",
"appliedTraits": [
{
"traitReference": "is.requiredAtLevel",
"arguments": [
{
"name": "level",
"value": "none"
}
]
},
{
"traitReference": "is.localized.describedAs",
"arguments": [
{
"entityReference": {
"entityShape": "localizedTable",
"constantValues": [
[
"en",
"Unique identifier used to associate the facility with the purchased good and service."
]
]
}
}
]
},
{
"traitReference": "is.localized.displayedAs",
"arguments": [
{
"entityReference": {
"entityShape": "localizedTable",
"constantValues": [
[
"en",
"Facility"
]
]
}
}
]
},
{
"traitReference": "is.CDS.lookup",
"arguments": [
{
"name": "style",
"value": "single"
}
]
}
]
}
}
]
}
},
{
"name": "goodsquantity",
"sourceName": "msdyn_goodsquantity",
"sourceOrdering": 40,
"description": "Quantity of goods in the corresponding activity data.",
"displayName": "Goods Quantity",
"isNullable": true,
"purpose": "hasA",
"dataType": "decimal",
"maximumValue": "100000000000",
"minimumValue": "-100000000000",
"appliedTraits": [
{
"traitReference": "is.requiredAtLevel",
"arguments": [
{
"name": "level",
"value": "none"
}
]
},
{
"traitReference": "is.localized.describedAs",
"arguments": [
{
"entityReference": {
"entityShape": "localizedTable",
"constantValues": [
[
"en",
"Quantity of goods in the corresponding activity data."
]
]
}
}
]
},
{
"traitReference": "is.localized.displayedAs",
"arguments": [
{
"entityReference": {
"entityShape": "localizedTable",
"constantValues": [
[
"en",
"Goods Quantity"
]
]
}
}
]
},
{
"traitReference": "is.constrained",
"arguments": [
{
"name": "maximumValue",
"value": "100000000000"
},
{
"name": "minimumValue",
"value": "-100000000000"
}
]
}
]
},
{
"name": "goodsunit",
"sourceName": "msdyn_goodsunit",
"sourceOrdering": 41,
"description": "Unique identifier for the goods unit in the purchased good and service.",
"displayName": "Goods unit",
"isNullable": true,
"purpose": "hasA",
"dataType": "entityId",
"entity": {
"source": "Unit",
"operations": [
{
"$type": "replaceAsForeignKey",
"condition": "referenceOnly",
"reference": "unitId",
"replaceWith": {
"name": "goodsunit",
"dataType": "entityId",
"appliedTraits": [
{
"traitReference": "is.requiredAtLevel",
"arguments": [
{
"name": "level",
"value": "none"
}
]
},
{
"traitReference": "is.localized.describedAs",
"arguments": [
{
"entityReference": {
"entityShape": "localizedTable",
"constantValues": [
[
"en",
"Unique identifier for the goods unit in the purchased good and service."
]
]
}
}
]
},
{
"traitReference": "is.localized.displayedAs",
"arguments": [
{
"entityReference": {
"entityShape": "localizedTable",
"constantValues": [
[
"en",
"Goods unit"
]
]
}
}
]
},
{
"traitReference": "is.CDS.lookup",
"arguments": [
{
"name": "style",
"value": "single"
}
]
}
]
}
}
]
}
},
{
"name": "industrialprocesstypeid",
"sourceName": "msdyn_industrialprocesstypeid",
"sourceOrdering": 42,
"description": "Unique identifier for the industrial process type associated with the purchased good and service.",
"displayName": "Industrial process type",
"isNullable": true,
"purpose": "hasA",
"dataType": "entityId",
"entity": {
"source": "IndustrialProcessType",
"operations": [
{
"$type": "replaceAsForeignKey",
"condition": "referenceOnly",
"reference": "industrialprocesstypeId",
"replaceWith": {
"name": "industrialprocesstypeid",
"dataType": "entityId",
"appliedTraits": [
{
"traitReference": "is.requiredAtLevel",
"arguments": [
{
"name": "level",
"value": "none"
}
]
},
{
"traitReference": "is.localized.describedAs",
"arguments": [
{
"entityReference": {
"entityShape": "localizedTable",
"constantValues": [
[
"en",
"Unique identifier for the industrial process type associated with the purchased good and service."
]
]
}
}
]
},
{
"traitReference": "is.localized.displayedAs",
"arguments": [
{
"entityReference": {
"entityShape": "localizedTable",
"constantValues": [
[
"en",
"Industrial process type"
]
]
}
}
]
},
{
"traitReference": "is.CDS.lookup",
"arguments": [
{
"name": "style",
"value": "single"
}
]
}
]
}
}
]
}
},
{
"name": "organizationalunitid",
"sourceName": "msdyn_organizationalunitid",
"sourceOrdering": 43,
"description": "Unique Identifier for Organizational Unit associated with Purchased Good and Service",
"displayName": "Organizational unit",
"isNullable": true,
"purpose": "hasA",
"dataType": "entityId",
"entity": {
"source": "OrganizationalUnit",
"operations": [
{
"$type": "replaceAsForeignKey",
"condition": "referenceOnly",
"reference": "sustainabilityorganizationalunitId",
"replaceWith": {
"name": "organizationalunitid",
"dataType": "entityId",
"appliedTraits": [
{
"traitReference": "is.requiredAtLevel",
"arguments": [
{
"name": "level",
"value": "applicationrequired"
}
]
},
{
"traitReference": "is.localized.describedAs",
"arguments": [
{
"entityReference": {
"entityShape": "localizedTable",
"constantValues": [
[
"en",
"Unique Identifier for Organizational Unit associated with Purchased Good and Service"
]
]
}
}
]
},
{
"traitReference": "is.localized.displayedAs",
"arguments": [
{
"entityReference": {
"entityShape": "localizedTable",
"constantValues": [
[
"en",
"Organizational unit"
]
]
}
}
]
},
{
"traitReference": "is.CDS.lookup",
"arguments": [
{
"name": "style",
"value": "single"
}
]
}
]
}
}
]
}
},
{
"name": "quantity",
"sourceName": "msdyn_quantity",
"sourceOrdering": 44,
"description": "Generic quanity field associated with activity entities.",
"displayName": "Quantity",
"isNullable": true,
"purpose": "hasA",
"dataType": "decimal",
"maximumValue": "100000000000",
"minimumValue": "-100000000000",
"appliedTraits": [
{
"traitReference": "is.requiredAtLevel",
"arguments": [
{
"name": "level",
"value": "none"
}
]
},
{
"traitReference": "is.localized.describedAs",
"arguments": [
{
"entityReference": {
"entityShape": "localizedTable",
"constantValues": [
[
"en",
"Generic quanity field associated with activity entities."
]
]
}
}
]
},
{
"traitReference": "is.localized.displayedAs",
"arguments": [
{
"entityReference": {
"entityShape": "localizedTable",
"constantValues": [
[
"en",
"Quantity"
]
]
}
}
]
},
{
"traitReference": "is.constrained",
"arguments": [
{
"name": "maximumValue",
"value": "100000000000"
},
{
"name": "minimumValue",
"value": "-100000000000"
}
]
}
]
},
{
"name": "quantityunit",
"sourceName": "msdyn_quantityunit",
"sourceOrdering": 45,
"description": "Unique identifier for Unit associated with Purchased Goods and Services.",
"displayName": "Quantity unit",
"isNullable": true,
"purpose": "hasA",
"dataType": "entityId",
"entity": {
"source": "Unit",
"operations": [
{
"$type": "replaceAsForeignKey",
"condition": "referenceOnly",
"reference": "unitId",
"replaceWith": {
"name": "quantityunit",
"dataType": "entityId",
"appliedTraits": [
{
"traitReference": "is.requiredAtLevel",
"arguments": [
{
"name": "level",
"value": "none"
}
]
},
{
"traitReference": "is.localized.describedAs",
"arguments": [
{
"entityReference": {
"entityShape": "localizedTable",
"constantValues": [
[
"en",
"Unique identifier for Unit associated with Purchased Goods and Services."
]
]
}
}
]
},
{
"traitReference": "is.localized.displayedAs",
"arguments": [
{
"entityReference": {
"entityShape": "localizedTable",
"constantValues": [
[
"en",
"Quantity unit"
]
]
}
}
]
},
{
"traitReference": "is.CDS.lookup",
"arguments": [
{
"name": "style",
"value": "single"
}
]
}
]
}
}
]
}
},
{
"name": "origincorrelationid",
"sourceName": "msdyn_origincorrelationid",
"sourceOrdering": 46,
"description": "An optional identifier to correlate record with data origin.",
"displayName": "Origin correlation ID",
"isNullable": true,
"purpose": "hasA",
"dataType": "string",
"maximumLength": "100",
"appliedTraits": [
{
"traitReference": "is.requiredAtLevel",
"arguments": [
{
"name": "level",
"value": "none"
}
]
},
{
"traitReference": "is.localized.describedAs",
"arguments": [
{
"entityReference": {
"entityShape": "localizedTable",
"constantValues": [
[
"en",
"An optional identifier to correlate record with data origin."
]
]
}
}
]
},
{
"traitReference": "is.localized.displayedAs",
"arguments": [
{
"entityReference": {
"entityShape": "localizedTable",
"constantValues": [
[
"en",
"Origin correlation ID"
]
]
}
}
]
},
{
"traitReference": "is.constrained",
"arguments": [
{
"name": "maximumLength",
"value": "100"
}
]
}
]
},
{
"name": "transactiondate",
"sourceName": "msdyn_transactiondate",
"sourceOrdering": 47,
"description": "Date associated with the actual date when the transaction occurred.",
"displayName": "Transaction date",
"isNullable": true,
"purpose": "hasA",
"dataType": "dateTime",
"appliedTraits": [
{
"traitReference": "is.requiredAtLevel",
"arguments": [
{
"name": "level",
"value": "applicationrequired"
}
]
},
{
"traitReference": "is.localized.describedAs",
"arguments": [
{
"entityReference": {
"entityShape": "localizedTable",
"constantValues": [
[
"en",
"Date associated with the actual date when the transaction occurred."
]
]
}
}
]
},
{
"traitReference": "is.localized.displayedAs",
"arguments": [
{
"entityReference": {
"entityShape": "localizedTable",
"constantValues": [
[
"en",
"Transaction date"
]
]
}
}
]
}
]
},
{
"name": "spendtypeid",
"sourceName": "msdyn_spendtypeid",
"sourceOrdering": 48,
"description": "Unique identifier for the spend type associated with the purchased good and service.",
"displayName": "Spend type",
"isNullable": true,
"purpose": "hasA",
"dataType": "entityId",
"entity": {
"source": "SpendType",
"operations": [
{
"$type": "replaceAsForeignKey",
"condition": "referenceOnly",
"reference": "spendtypeId",
"replaceWith": {
"name": "spendtypeid",
"dataType": "entityId",
"appliedTraits": [
{
"traitReference": "is.requiredAtLevel",
"arguments": [
{
"name": "level",
"value": "applicationrequired"
}
]
},
{
"traitReference": "is.localized.describedAs",
"arguments": [
{
"entityReference": {
"entityShape": "localizedTable",
"constantValues": [
[
"en",
"Unique identifier for the spend type associated with the purchased good and service."
]
]
}
}
]
},
{
"traitReference": "is.localized.displayedAs",
"arguments": [
{
"entityReference": {
"entityShape": "localizedTable",
"constantValues": [
[
"en",
"Spend type"
]
]
}
}
]
},
{
"traitReference": "is.CDS.lookup",
"arguments": [
{
"name": "style",
"value": "single"
}
]
}
]
}
}
]
}
},
{
"name": "valuechainpartnerid",
"sourceName": "msdyn_valuechainpartnerid",
"sourceOrdering": 49,
"description": "Reference to the value chain partner or supplier associated with the transaction.",
"displayName": "Value chain partner",
"isNullable": true,
"purpose": "hasA",
"dataType": "entityId",
"entity": {
"source": "ValueChainPartner",
"operations": [
{
"$type": "replaceAsForeignKey",
"condition": "referenceOnly",
"reference": "valuechainpartnerId",
"replaceWith": {
"name": "valuechainpartnerid",
"dataType": "entityId",
"appliedTraits": [
{
"traitReference": "is.requiredAtLevel",
"arguments": [
{
"name": "level",
"value": "none"
}
]
},
{
"traitReference": "is.localized.describedAs",
"arguments": [
{
"entityReference": {
"entityShape": "localizedTable",
"constantValues": [
[
"en",
"Reference to the value chain partner or supplier associated with the transaction."
]
]
}
}
]
},
{
"traitReference": "is.localized.displayedAs",
"arguments": [
{
"entityReference": {
"entityShape": "localizedTable",
"constantValues": [
[
"en",
"Value chain partner"
]
]
}
}
]
},
{
"traitReference": "is.CDS.lookup",
"arguments": [
{
"name": "style",
"value": "single"
}
]
}
]
}
}
]
}
}
],
"exhibitsTraits": [
{
"traitReference": "is.CDM.attributeGroup",
"arguments": [
{
"entityReference": {
"entityShape": "attributeGroupSet",
"constantValues": [
[
"/Sustainability/PurchasedGoodAndService.1.0.1.cdm.json/PurchasedGoodAndService/hasAttributes/attributesAddedAtThisScope"
]
]
}
}
]
}
]
}
}
]
}
],
"documentVersion": "1.0.1"
}