| templatelinelist |
| This command allows a different approach to the listing of items. It loops 'itemcount' times and uses 'template' to create the HTML to list.
'template' contains HTML and can contain a series of special macros that will be replaced with specific info about the item. The item list also
stops if no more items are available. |
| |
| Here are the macros that can be included in the template: |
| |
| ##COUNT## - Replaced with a counter starting at 0 |
| ##NAME## - Replaced with Name of line item |
| ##DESC## - Replaced with Description of line item |
| ##SHDSEC## - Replaced with Short Description of line item |
| ##LINE_ID## - Replaced with line item ID |
| ##ITEM_ID## - Replaced with item ID |
| ##OWNER_ID## - Replaced with owner ID |
| ##CLI_ID## - Replaced with client ID |
| ##ORD_ID## - Replaced with order ID |
| ##ORD_REFID## - Replaced with order ref ID |
| ##REL_ORD_ID## - Replaced with release order ID |
| ##PRICE## - Replaced with line item price |
| ##EXTPRICE## - Replaced with line item extended price |
| ##ORDERED## - Replaced with line item ordered quantity |
| ##STARTTIME## - Replaced with line item start time |
| ##STOPTIME## - Replaced with line item stop time |
| ##LINE_NO## - Replaced with line item number as it appears in the order |
| ##AUTH_LINE## - Replaced with line item authorization line item id |
| ##LINE_RELAUTH## - Replaced with number of releases authorized for the line item |
| ##LAST_REL_TIME## - Replaced with the date of the most recent release |
| ##ORD_TYPE## - Replaced with the order type |
| ##REL_ORD_TYPE## - Replaced with the release order type |
| ##CLINAME## - Replaced with the client name |
| |
| Arguments: |
| itemcount - Number of items to display (default=10) |
| template - The main HTML template as described above (required) |
| jsescape -Wheather to jsEscape the results (default=no) |
| useasciitable - (true/false) - whether to output results in an ascii table default = false |
| tablespec - ColumnType/Prefix/Postfix/Width/Attr see AsciiTable spec |
| pagewidth - number of characters wide the AsciiTable should be |
| |
| Returns how many line items were actually printed or "error:..." if an error occurred. |