Format | Description |
Average | Calculates the average value of all the numbers in the array. |
Minimum | Calculates the smallest number in the array. |
Maximum | Calculates the largest number in the array. |
Sum | Calculates the sum of all the numbers in the array. |
No format | Stores the first value of the array as the value of the attribute. |
Note: | When Trading Networks extracts a NUMBER or NUMBER LIST from a document, it uses the number parsing behavior of java.lang.Number. For example, if the NUMBER or NUMBER LIST contains the value 100zzz, Trading Networks interprets the value as 100, instead of throwing an error as it would if the value were zzz100. If you want to redefine this parsing behavior, you can write a custom transformation service. |
TN_parms Attributes | Document Type |
/TN_parms/itemNumber | itemNumber NUMBER |
/TN_parms/quantity | quantity NUMBER |
/TN_parms/totalQuantity | totalQuantity NUMBER summedValue NUMBER LIST |