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:
| Name | Retrieved information | Direct alias |
| GPAOID | Batch GPAOID | BatchGPAOID(batchGPAOID) |
| ITEM | Batch item GPAOID | BatchItem(batchGPAOID) |
| STATE | Batch state | BatchState(batchGPAOID) |
| PROVIDER | Batch provider GPAOID, if any | BatchProvider(batchGPAOID) |
| PROVIDER_BATCH | Batch provider's batch GPAOID, if any | BatchProviderBatch(batchGPAOID) |
| PROVIDER_CERTIFICATE | Batch provider certificate | BatchProviderCertificate(batchGPAOID) |
| PEREMPTION_DATE | Batch expiration date (as ISO string), if any | BatchPeremptionDate(batchGPAOID) |
| RECEPTION_DATE | Batch receipt date (as ISO string), if any | BatchReceptionDate(batchGPAOID) |
| RECEIVED_QUANTITY | Batch quantity received | BatchReceivedQuantity(batchGPAOID) |
| PARAMS.xxx | Value 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"