<partsFromTable> Element
This element specifies parts for a component type from an Acuit Pinpoint table.
Parent Elements
Attributes
| Name | Type | Description | Required |
|---|---|---|---|
| table | string | The name of the Acuit Pinpoint table from which to read the parts. | Yes |
| componentAlternateColumn | string | The name of the table column that contains componentAlternate part values. See the remarks for details. |
No |
| componentModelNumColumn | string | The name of the table column that contains componentModelNum part values. See the remarks for details. |
No |
| componentSerialNumColumn | string | The name of the table column that contains componentSerialNum part values. See the remarks for details. |
No |
| descriptionColumn | string | The name of the table column that contains description part values. See the remarks for details. |
No |
| ignoreBlankComponentRows | boolean | Whether blank component rows should be ignored. Component rows are considered blank if both the component model number and component serial number are blank. | No (defaults to false) |
| unitModelNumColumn | string | The name of the table column that contains unitModelNum part values. See the remarks for details. |
No |
| unitSerialNumColumn | string | The name of the table column that contains unitSerialNum part values. See the remarks for details. |
No |
Child Elements
| Name | Description | Required |
|---|---|---|
| otherComponents | Other components against which part entries must match. This feature is available in Acuit Pinpoint Workstation version 7.13 or later. |
No |
Remarks
The source table will be used to build a parts list. Each data row from the table will produce a parts list entry, effectively creating a part as defined by a <part> element (see that element for more details about part entry values).
For each of the column attributes, if the column name is not specified or is blank, or if the column's field value in a table row does not exist or is blank, then the corresponding part value will not be set (i.e., it will be as if the corresponding part attribute were not specified).
The componentAlternateColumn data value is parsed as follows:
- If
componentAlternateColumnwas not specified,falseis used. - Otherwise:
- All leading and trailing whitespace is removed from the value.
- If the resulting string value is "True", "Yes", "Alternate", "Alt", or "A" (case-insensitive),
then
trueis used. - Otherwise, if the value is "False" or "No" (case-insensitive), then
falseis used. - Otherwise, if the value can be parsed as an integer, then
trueis used if the integer value is non-zero;falseis used if the integer value is zero. - Otherwise,
trueis used if the trimmed string value is not empty;falseis used if it is empty.