BatchProperty

 Returns the value of a named property of a Qubes batch.

Syntax

BatchProperty(batchGPAOID, propName)
batchGPAOID = a Qubest batch's GPAOID
propName = name of the batch property whose value you want to retrieve

Remarks

(Qubes 9.0) Returns "" if the requested GPAOID is an empty string.

Returns #VAL! if the requested batch or property does not exist.

Alias functions provide direct access to certain properties.
Note that the Dates are returned as ISO8601 strings.
The following properties can be accessed:

NameRetrieved informationDirect alias
GPAOIDBatch GPAOIDBatchGPAOID(batchGPAOID)
ITEMBatch item GPAOIDBatchItem(batchGPAOID)
STATEBatch stateBatchState(batchGPAOID)
PROVIDERBatch provider GPAOID, if anyBatchProvider(batchGPAOID)
PROVIDER_BATCHBatch provider's batch GPAOID, if anyBatchProviderBatch(batchGPAOID)
PROVIDER_CERTIFICATEBatch provider certificateBatchProviderCertificate(batchGPAOID)
PEREMPTION_DATEBatch expiration date (as ISO string), if anyBatchPeremptionDate(batchGPAOID)
RECEPTION_DATEBatch receipt date (as ISO string), if anyBatchReceptionDate(batchGPAOID)
RECEIVED_QUANTITYBatch quantity receivedBatchReceivedQuantity(batchGPAOID)
PARAMS.xxxValue of parameter "xxx"BatchParameter(batchGPAOID, paramName[, defaultValue])

Example

The following will be retrieved if you have an item "AT4" in a batch with a GPAOID of "L012":

BatchProperty("L012", "ITEM") = "AT4"
BatchItem("L012") = "AT4"
BatchGPAOID("L012") = "L012"

Classification

Qubes