Formulations_Info

The
Formulations_Info
execute retrieves the set of formulations and their descriptions configured within a specified recipe.
This table shows the input and output formats for this item.
Execute Format
A FactoryTalk Batch Server supports an execute with this format:
[
FORMULATIONS_INFO
(<Item>,<UserID>,<RecipeID>)]
where:
<Item>
Item name as specified by the client.
<UserID>
User identification associated with this execute.
<RecipeID>
Filename, including the extension, for the recipe for which formulation data is retrieved.
Action
A successful
FORMULATIONS_INFO
execute returns the string "SUCCESS:" followed by a variable number of records, one per formulation defined in the specified recipe. Each record contains the name and description of a formulation defined within the recipe.
Return Format
Populates the response item with this data:
SUCCESS:<FormDataList> | FAIL:<message>
where:
<FormDataList>
is
<NullList> |
<FormData> |
<FormData> \crlf
<FormDataList>
<FormData>
is
<FormName> /t
<FormDesc> /t
<FormValid>
<FormName>
is
Formulation name
<FormDesc>
is
Formulation description
<FormValid
is
<Valid> |
<Invalid>
<Valid>
is
"1"
<Invalid>
is
"0"
The following table shows an example of the return on this execute.
Example:
Given the following execute:
[FORMULATIONS_INFO(Item,STATION5/operator2,cls_frenchvanilla.bpc)]
The batch server could return:
SUCCESS:PREMIUM/tTOP GRADE/t1/crlfSTANDARD/tOEM BRAND/t1
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal