All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.liferay.commerce.internal.batch.04-object-definition.batch-engine-data.json Maven / Gradle / Ivy

The newest version!
{
	"configuration": {
		"className": "com.liferay.object.admin.rest.dto.v1_0.ObjectDefinition",
		"multiCompany": true,
		"parameters": {
			"containsHeaders": "true",
			"createStrategy": "UPSERT",
			"featureFlag": "LPD-10562",
			"importStrategy": "ON_ERROR_FAIL",
			"updateStrategy": "UPDATE"
		},
		"taskItemDelegateName": "DEFAULT"
	},
	"items": [
		{
			"accountEntryRestricted": true,
			"accountEntryRestrictedObjectFieldName": "r_accountToCommerceReturns_accountEntryId",
			"externalReferenceCode": "L_COMMERCE_RETURN",
			"label": {
				"en_US": "Commerce Return"
			},
			"name": "CommerceReturn",
			"objectFields": [
				{
					"DBType": "Long",
					"businessType": "LongInteger",
					"externalReferenceCode": "CHANNEL_GROUP_ID",
					"indexed": true,
					"indexedAsKeyword": false,
					"label": {
						"en_US": "Channel Group ID"
					},
					"name": "channelGroupId",
					"required": false,
					"state": false,
					"system": true,
					"type": "Long"
				},
				{
					"DBType": "Long",
					"businessType": "LongInteger",
					"externalReferenceCode": "CHANNEL_ID",
					"indexed": true,
					"indexedAsKeyword": false,
					"label": {
						"en_US": "Channel ID"
					},
					"name": "channelId",
					"required": false,
					"state": false,
					"system": true,
					"type": "Long"
				},
				{
					"DBType": "String",
					"businessType": "Text",
					"externalReferenceCode": "CHANNEL_NAME",
					"indexed": true,
					"indexedAsKeyword": false,
					"label": {
						"en_US": "Channel Name"
					},
					"name": "channelName",
					"required": false,
					"state": false,
					"system": true,
					"type": "String"
				},
				{
					"DBType": "String",
					"businessType": "Text",
					"externalReferenceCode": "CURRENCY_CODE",
					"indexed": true,
					"indexedAsKeyword": false,
					"label": {
						"en_US": "Currency Code"
					},
					"name": "currencyCode",
					"required": false,
					"state": false,
					"system": true,
					"type": "String"
				},
				{
					"DBType": "String",
					"businessType": "Text",
					"externalReferenceCode": "CURRENCY_SYMBOL",
					"indexed": true,
					"indexedAsKeyword": false,
					"label": {
						"en_US": "Currency Symbol"
					},
					"name": "currencySymbol",
					"required": false,
					"state": false,
					"system": true,
					"type": "String"
				},
				{
					"DBType": "String",
					"businessType": "Text",
					"externalReferenceCode": "NOTE",
					"indexed": true,
					"indexedAsKeyword": false,
					"label": {
						"en_US": "Note"
					},
					"name": "note",
					"required": false,
					"state": false,
					"system": true,
					"type": "String"
				},
				{
					"DBType": "String",
					"businessType": "Aggregation",
					"externalReferenceCode": "REQUESTED_ITEMS",
					"indexed": false,
					"indexedAsKeyword": false,
					"label": {
						"en_US": "Requested Items"
					},
					"name": "requestedItems",
					"objectFieldSettings": [
						{
							"name": "objectRelationshipName",
							"value": "commerceReturnToCommerceReturnItems"
						},
						{
							"name": "function",
							"value": "COUNT"
						}
					],
					"required": false,
					"state": false,
					"system": true,
					"type": "String"
				},
				{
					"DBType": "String",
					"businessType": "Picklist",
					"defaultValue": "draft",
					"externalReferenceCode": "RETURN_STATUS",
					"indexed": true,
					"indexedAsKeyword": false,
					"label": {
						"en_US": "Return Status"
					},
					"listTypeDefinitionExternalReferenceCode": "L_COMMERCE_RETURN_STATUSES",
					"name": "returnStatus",
					"required": true,
					"state": true,
					"system": true,
					"type": "String"
				},
				{
					"DBType": "String",
					"businessType": "Aggregation",
					"externalReferenceCode": "TOTAL_AMOUNT",
					"indexed": false,
					"indexedAsKeyword": false,
					"label": {
						"en_US": "Total Amount"
					},
					"name": "totalAmount",
					"objectFieldSettings": [
						{
							"name": "objectRelationshipName",
							"value": "commerceReturnToCommerceReturnItems"
						},
						{
							"name": "function",
							"value": "SUM"
						},
						{
							"name": "objectFieldName",
							"value": "amount"
						}
					],
					"required": false,
					"state": false,
					"system": true,
					"type": "String"
				},
				{
					"DBType": "String",
					"businessType": "Aggregation",
					"externalReferenceCode": "TOTAL_AUTHORIZED",
					"indexed": false,
					"indexedAsKeyword": false,
					"label": {
						"en_US": "Total Authorized"
					},
					"name": "totalAuthorized",
					"objectFieldSettings": [
						{
							"name": "objectRelationshipName",
							"value": "commerceReturnToCommerceReturnItems"
						},
						{
							"name": "function",
							"value": "SUM"
						},
						{
							"name": "objectFieldName",
							"value": "authorized"
						}
					],
					"required": false,
					"state": false,
					"system": true,
					"type": "String"
				},
				{
					"DBType": "String",
					"businessType": "Aggregation",
					"externalReferenceCode": "TOTAL_RECEIVED",
					"indexed": false,
					"indexedAsKeyword": false,
					"label": {
						"en_US": "Total Received"
					},
					"name": "totalReceived",
					"objectFieldSettings": [
						{
							"name": "objectRelationshipName",
							"value": "commerceReturnToCommerceReturnItems"
						},
						{
							"name": "function",
							"value": "SUM"
						},
						{
							"name": "objectFieldName",
							"value": "received"
						}
					],
					"required": false,
					"state": false,
					"system": true,
					"type": "String"
				}
			],
			"objectValidationRules": [
				{
					"active": true,
					"engine": "javaDelegate#CommerceReturn#accountEntryId",
					"engineLabel": "Commerce Return Account Entry ID",
					"errorLabel": {
						"en_US": "The account entry ID is invalid."
					},
					"externalReferenceCode": "COMMERCE_RETURN_ACCOUNT_ENTRY_ID",
					"name": {
						"en_US": "Account Entry ID"
					},
					"objectDefinitionExternalReferenceCode": "L_COMMERCE_RETURN",
					"outputType": "fullValidation",
					"system": true
				},
				{
					"active": true,
					"engine": "javaDelegate#CommerceReturn#commerceOrderId",
					"engineLabel": "Commerce Return Commerce Order ID",
					"errorLabel": {
						"en_US": "The commerce order ID is invalid."
					},
					"externalReferenceCode": "COMMERCE_RETURN_COMMERCE_ORDER_ID",
					"name": {
						"en_US": "Commerce Order ID"
					},
					"objectDefinitionExternalReferenceCode": "L_COMMERCE_RETURN",
					"outputType": "fullValidation",
					"system": true
				},
				{
					"active": true,
					"engine": "javaDelegate#CommerceReturn#commerceOrderStatus",
					"engineLabel": "Commerce Return Commerce Order Status",
					"errorLabel": {
						"en_US": "The commerce order status is invalid."
					},
					"externalReferenceCode": "COMMERCE_RETURN_COMMERCE_ORDER_STATUS",
					"name": {
						"en_US": "Commerce Order Status"
					},
					"objectDefinitionExternalReferenceCode": "L_COMMERCE_RETURN",
					"outputType": "fullValidation",
					"system": true
				},
				{
					"active": true,
					"engine": "javaDelegate#CommerceReturn#permission",
					"engineLabel": "Commerce Return Permission",
					"errorLabel": {
						"en_US": "You do not have permission to edit this item."
					},
					"externalReferenceCode": "COMMERCE_RETURN_PERMISSION",
					"name": {
						"en_US": "Permission"
					},
					"objectDefinitionExternalReferenceCode": "L_COMMERCE_RETURN",
					"outputType": "fullValidation",
					"system": true
				},
				{
					"active": true,
					"engine": "javaDelegate#CommerceReturn#returnStatus",
					"engineLabel": "Commerce Return Return Status",
					"errorLabel": {
						"en_US": "The return status is invalid."
					},
					"externalReferenceCode": "COMMERCE_RETURN_RETURN_STATUS",
					"name": {
						"en_US": "Return Status"
					},
					"objectDefinitionExternalReferenceCode": "L_COMMERCE_RETURN",
					"outputType": "fullValidation",
					"system": true
				}
			],
			"pluralLabel": {
				"en_US": "Commerce Returns"
			},
			"scope": "company",
			"status": {
				"code": 0
			},
			"titleObjectFieldName": "id"
		}
	]
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy