Invoice Product Descriptions

Locked
COBS Tech Support
Site Admin
Posts: 126
Joined: Sat May 15, 2021 9:57 am

Invoice Product Descriptions

Post by COBS Tech Support »

In Version 15 and above, CAPITAL now shows the standard product description over the description found on the originating transaction. If the originating transaction description is required instead, a custom column can be used to extract it.

1. Open the stock control area.
2. Click on the Transactions vertical tab button.
3. Click on the Stock Sales tab.
4. Right click with your mouse and select Column Properties.
5. Click on the Custom button and select an empty custom column.
6. Paste the following script into the editor window:

Code: Select all

OpenTable("CONTENTS")
If CONTENTS->(Find((cTable)->InvoiceNo + (cTable)->LineRef + (cTable)->StockID, "TRANREF"))
   Return CONTENTS->Title
Endif
Return (cTable)->Title
7. Assign the column a heading such as 'Inv Description' and set the Width to 40.
8. Set the Type to 'Read Only'.
9. Press Save All and then add the new column to your grid, replacing it with the 'Description' column.
Locked