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

com.liferay.commerce.internal.batch.03-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_accountToCommerceReturnItems_accountEntryId",
			"enableComments": true,
			"externalReferenceCode": "L_COMMERCE_RETURN_ITEM",
			"label": {
				"en_US": "Commerce Return Item"
			},
			"name": "CommerceReturnItem",
			"objectFields": [
				{
					"DBType": "BigDecimal",
					"businessType": "PrecisionDecimal",
					"externalReferenceCode": "AMOUNT",
					"indexed": true,
					"indexedAsKeyword": false,
					"label": {
						"en_US": "Amount"
					},
					"name": "amount",
					"required": false,
					"state": false,
					"system": true,
					"type": "BigDecimal"
				},
				{
					"DBType": "Boolean",
					"businessType": "Boolean",
					"externalReferenceCode": "AUTHORIZE_RETURN_WITHOUT_RETURNING_PRODUCTS",
					"indexed": true,
					"indexedAsKeyword": false,
					"label": {
						"en_US": "Authorize Return Without Returning Products"
					},
					"name": "authorizeReturnWithoutReturningProducts",
					"required": false,
					"state": false,
					"system": true,
					"type": "Boolean"
				},
				{
					"DBType": "BigDecimal",
					"businessType": "PrecisionDecimal",
					"externalReferenceCode": "AUTHORIZED",
					"indexed": true,
					"indexedAsKeyword": false,
					"label": {
						"en_US": "Authorized"
					},
					"name": "authorized",
					"required": false,
					"state": false,
					"system": true,
					"type": "BigDecimal"
				},
				{
					"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": "BigDecimal",
					"businessType": "PrecisionDecimal",
					"externalReferenceCode": "QUANTITY",
					"indexed": true,
					"indexedAsKeyword": false,
					"label": {
						"en_US": "Quantity"
					},
					"name": "quantity",
					"required": false,
					"state": false,
					"system": true,
					"type": "BigDecimal"
				},
				{
					"DBType": "BigDecimal",
					"businessType": "PrecisionDecimal",
					"externalReferenceCode": "RECEIVED",
					"indexed": true,
					"indexedAsKeyword": false,
					"label": {
						"en_US": "Received"
					},
					"name": "received",
					"required": false,
					"state": false,
					"system": true,
					"type": "BigDecimal"
				},
				{
					"DBType": "String",
					"businessType": "Picklist",
					"defaultValue": "awaitingAuthorization",
					"externalReferenceCode": "RETURN_ITEM_STATUS",
					"indexed": true,
					"indexedAsKeyword": false,
					"label": {
						"en_US": "Return Item Status"
					},
					"listTypeDefinitionExternalReferenceCode": "L_COMMERCE_RETURN_ITEM_STATUSES",
					"name": "returnItemStatus",
					"required": true,
					"state": true,
					"system": true,
					"type": "String"
				},
				{
					"DBType": "String",
					"businessType": "Picklist",
					"defaultValue": "changeOfMind",
					"externalReferenceCode": "RETURN_REASONS",
					"indexed": true,
					"indexedAsKeyword": false,
					"label": {
						"en_US": "Return Reason"
					},
					"listTypeDefinitionExternalReferenceCode": "L_COMMERCE_RETURN_REASONS",
					"name": "returnReason",
					"required": true,
					"state": true,
					"system": true,
					"type": "String"
				},
				{
					"DBType": "String",
					"businessType": "Picklist",
					"externalReferenceCode": "RETURN_RESOLUTION_METHODS",
					"indexed": true,
					"indexedAsKeyword": false,
					"label": {
						"en_US": "Return Resolution Method"
					},
					"listTypeDefinitionExternalReferenceCode": "L_COMMERCE_RETURN_RESOLUTION_METHODS",
					"name": "returnResolutionMethod",
					"required": false,
					"state": false,
					"system": true,
					"type": "String"
				}
			],
			"objectValidationRules": [
				{
					"active": true,
					"engine": "javaDelegate#CommerceReturnItem#accountEntryId",
					"engineLabel": "Commerce Return Item Account Entry ID",
					"errorLabel": {
						"en_US": "The account entry ID is invalid."
					},
					"externalReferenceCode": "COMMERCE_RETURN_ITEM_ACCOUNT_ENTRY_ID",
					"name": {
						"en_US": "Account Entry ID"
					},
					"objectDefinitionExternalReferenceCode": "L_COMMERCE_RETURN_ITEM",
					"outputType": "fullValidation",
					"system": true
				},
				{
					"active": true,
					"engine": "javaDelegate#CommerceReturnItem#authorized",
					"engineLabel": "Commerce Return Item Authorized",
					"errorLabel": {
						"en_US": "The authorized is invalid."
					},
					"externalReferenceCode": "COMMERCE_RETURN_ITEM_AUTHORIZED",
					"name": {
						"en_US": "Authorized"
					},
					"objectDefinitionExternalReferenceCode": "L_COMMERCE_RETURN_ITEM",
					"outputType": "fullValidation",
					"system": true
				},
				{
					"active": true,
					"engine": "javaDelegate#CommerceReturnItem#commerceOrderItemId",
					"engineLabel": "Commerce Return Item Commerce Order Item ID",
					"errorLabel": {
						"en_US": "The commerce order item ID is invalid."
					},
					"externalReferenceCode": "COMMERCE_RETURN_ITEM_COMMERCE_ORDER_ITEM_ID",
					"name": {
						"en_US": "Commerce Order Item ID"
					},
					"objectDefinitionExternalReferenceCode": "L_COMMERCE_RETURN_ITEM",
					"outputType": "fullValidation",
					"system": true
				},
				{
					"active": true,
					"engine": "javaDelegate#CommerceReturnItem#permission",
					"engineLabel": "Commerce Return Item Permission",
					"errorLabel": {
						"en_US": "You do not have permission to edit this item."
					},
					"externalReferenceCode": "COMMERCE_RETURN_ITEM_PERMISSION",
					"name": {
						"en_US": "Permission"
					},
					"objectDefinitionExternalReferenceCode": "L_COMMERCE_RETURN_ITEM",
					"outputType": "fullValidation",
					"system": true
				},
				{
					"active": true,
					"engine": "javaDelegate#CommerceReturnItem#quantity",
					"engineLabel": "Commerce Return Item Quantity",
					"errorLabel": {
						"en_US": "The quantity is invalid."
					},
					"externalReferenceCode": "COMMERCE_RETURN_ITEM_QUANTITY",
					"name": {
						"en_US": "Quantity"
					},
					"objectDefinitionExternalReferenceCode": "L_COMMERCE_RETURN_ITEM",
					"outputType": "fullValidation",
					"system": true
				},
				{
					"active": true,
					"engine": "javaDelegate#CommerceReturnItem#received",
					"engineLabel": "Commerce Return Item Received",
					"errorLabel": {
						"en_US": "The received is invalid."
					},
					"externalReferenceCode": "COMMERCE_RETURN_ITEM_RECEIVED",
					"name": {
						"en_US": "Received"
					},
					"objectDefinitionExternalReferenceCode": "L_COMMERCE_RETURN_ITEM",
					"outputType": "fullValidation",
					"system": true
				}
			],
			"pluralLabel": {
				"en_US": "Commerce Return Items"
			},
			"scope": "company",
			"status": {
				"code": 0
			},
			"titleObjectFieldName": "id"
		}
	]
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy