UnitReqIDBindingPreferences

The
UnitReqIDBindingPreferences
item returns the set of binding preferences configured on the specified unit requirement.
This table shows the input and output formats for this item.
Input Format
Request:
UnitReqIDBindingPreferences
UnitReqID
is
An ASCII - integer representing the unique ID of a unit requirement. Retrieve this value using the ProcedureIDUnitRequirements data item.
Output Format
The UnitReqIDBindingPreferences item returns in this format:
<BindingPreferences>
is
<NullList>
|
<BindingPrefList>
<BindingPrefList>
is
<BindingPref>
|
<BindingPref>
\crlf
<BindingPrefList>
<BindingPref>
is
<BindingPrefType>
/t
<AssociatedClassName>
/t
<UnitAttributeName>
/t
<ExpressionText>
/t
<ExpressionID>
where:
Field Name
Format
Description
<BindingPrefType>
ASCII - Integer
Binding preference type code:
  • 1 = Prefer units with this phase class
  • 2 = Avoid units with this phase class
  • 3 = Prefer units with this unit attribute
  • 4 = Avoid units with this unit attribute
  • 5 = Prefer units where this Boolean expression is true
  • 6 = Prefer units where this expression is maximized
  • 7 = Prefer units where this expression is minimized
  • 8 = Prefer units with this operation sequence class
  • 9 = Avoid units with this operation sequence class
<AssociatedClass
Name>
ASCII - String
If <BindingPrefType> is equal to:
  • 1 or 2, name of the phase class.
  • 8 or 9, name of the operation sequence class.
If not equal to 1, 2, 8, or 9, this field populates with a space.
<UnitAttribute
Name>
ASCII - String
If <BindingPrefType> is equal to 3 or 4, name of the unit attribute.
If not equal to 3 or 4, this field populates with a space.
<ExpressionText>
ASCII - String
If <BindingPrefType> is equal to 5, Boolean expression text.
If not equal to 5, this field populates with a space.
<ExpressionID>
ASCII - Integer
If <BindingPrefType> is equal to 6 or 7, unique ID of the expression.
If not equal to 6 or 7, this field populates with a space.
This table shows an example of the return on this request.
Example:
A request on
object
.
GetItem(13BindingPreferences)
could return:
1\tUNIQUE_TO_MIXER1\t \t \t \crlf
7\t \t \tCAPACITY\t36\r\n
4\t \tMAT_OF_CONSTRUCTION\t \t
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal