ManufOrdersProperty

(redirected from Fonctions.ManufOrdersState)

Qubes 5.4 Returns the value of a named property of a Qubes Manufacturing Order.

Syntax

ManufOrdersProperty(manufOrdersGPAOID, propName)
manufOrdersGPAOID = a Qubes MO's GPAOID
propName = name of the MO 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 MO or property does not exist.

Alias functions provide direct access to certain properties.
The following properties can be accessed:

NameRetrieved informationDirect alias
GPAOIDMO GPAOIDManufOrdersGPAOID(manufOrdersGPAOID)
STATEMO state*ManufOrdersState(manufOrdersGPAOID)
ITEMMO itemManufOrdersItem(manufOrdersGPAOID)
BATCHMO batch GPAOIDManufOrdersBatch(manufOrdersGPAOID)
MANUFACTURINGMO rangeManufOrdersManufacturing(manufOrdersGPAOID)

*: The state of the MO is returned in French and is not translated, so it can be compared to literal values. If you want to translate it, you can use TranslateApplicationString.

Example

If you have an MO with a provisional GPAOID of "OF123" for the item "NAIL", you will get:

ManufOrdersProperty("OF123", "STATE") = "Provisional"
ManufOrdersItem("OF123"") = "NAIL"

Classification

Qubes