In our previous blog post, we have seen how to link two tables through coding . In this blog post, we will move a step further and describe how to limit the number of columns from one or two tables.
Function name: Columns
Description: Columns is used to limit the number of columns (or fields) from one or more tables.
New Stuff:New Data type – UUID in Sage ERP X3 version 7
- For same table.
Syntax: Columns class [(field, field2)
Refer below snippet of code for better clarification.
- For two tables.
Syntax: Columns class ([TABLE1]field,[ TABLE2]field)
Refer below snippet of code for better clarification.
Also Read:
1. How to get number of hits on a table
2. How to get the number of records modified by Update Command
3. Export transactions to MS Word from Sage X3
4. How to create Automatic order invoicing?
5. Revalidate database objects using activity code