FolioProduct

Structure

FieldTypeRequiredDescription
idIntegertrueUnique identifier for the FolioProduct.
folioFoliotrueFolio related to the FolioProduct.
productProducttrueProduct related to the FolioProduct.
productionDateLocalDatetrueDate when it enters in production
postingDateLocalDatetrueDate when is posted
quantityIntegertrueAmount
nameStringtrueName of the FolioProduct (usually name of the Product or ChainProduct)
priceBigDecimaltruePrice of the FolioProduct 
currencyCurrencytrueCurrency of the FolioProduct
foreignPriceBigDecimaltrueForeign price
foreignCurrencyCurrencytrueForeign Currency.
folioProductIdSourceIntegertrue
chainRebateReasonTypeChainRebateReasonTypetrue
folioProductTransactionTypeFolioProductTransactionTypetrue
folioProductTraceSetArray of FolioProductTracetrue
rebateReasonStringtrue
ticketTickettrue
paymentReceiptPaymentReceipttrue
depositDeposittrue
propertyChannelPropertyChanneltrue
propertySourcePropertySourcetrue
propertySegmentPropertySegmenttrue
folioProductTaxSetArray of FolioProductTaxtrue

JSON representation

{
	"name": "No Show",
	"postingDate": "2018-10-29",
	"price": 44,
	"productionDate": "2018-10-29",
	"quantity": 1,
	"product": {
		"id": 86,
		"property": null,
		"chainProduct": {
			"id": 15,
			"productType": {
				"id": 1,
				"code": "SER",
				"name": "Service",
				"nameI18n": "Service"
			},
			"chainProductSubGroup": {
				"id": 6,
				"chainProductGroup": {
					"id": 5,
					"code": "CPG5",
					"name": "ChainProductGroup 5",
					"chainProductSubGroupSet": null
				},
				"code": "CPSG6",
				"name": "ChainProductSubGroup 6",
				"chainProductSet": null
			},
			"code": "NS",
			"name": "No Show",
			"nameI18nId": 805,
			"nameI18n": "No Show",
			"productChargeQuantityType": null,
			"productChargeLengthType": null,
			"folioType": null,
			"productSet": null
		},
		"name": "No Show",
		"order": 3,
		"active": true
	},
	"folioProductTaxSet": [],
	"folioProductTraceSet": []
}