In Sage X3, we recently had a requirement to generate custom product code based on the product category, specifications selected by the user, and to generate product description based on the product code.
Screen path:
Miscellaneous tables:
Development – > Miscellaneous tables – > Definition
Development – > Miscellaneous tables – > Data
Window:
Development -> Script Dictionary-> Windows ->OITM
Based on the product categories we had several specifications for each product which users capture in other details tab on Product master. Using these specification we need to generate Product code and descriptions. For which we first created Miscellaneous table definition and in the Miscellaneous Data of each table we created the category code and the specifications related to that category.
New Stuff: How to repeat group header on each page in Crystal Reports


Once we created miscellaneous tables for all the specifications, we created a custom screen “Other details” which has all the fields of the specifications with the type as ADI.
Once all the specification is selected from the “Other Details” tab in the Product screen, on creation, the Product code and description gets generated. To get the code we will use the “Short description” column and for the description we will use the “Description” column present in the Miscellaneous table for each of that specification.
Once the code and description are fetched, we programmatically concatenate the code and description. For example, in the “Other Details” tab we have selected the specifications as per the below image.

Based on the specification selected we will get the Product Code and the Product Description

This way we generated Product code and description using Miscellaneous tables.
About Us
Greytrix – a globally recognized and one of the oldest Sage Development Partners is a one-stop solution provider for Sage ERP and Sage CRM organizational needs. Being acknowledged and rewarded for multi-man years of experience and expertise, we bring complete end-to-end assistance for your technical consultations, product customizations, data migration, system integrations, third-party add-on development, and implementation competence.
Greytrix has some unique integration solutions developed for Sage CRM with Sage ERPs namely Sage X3, Sage Intacct, Sage 100, Sage 500, and Sage 300. We also offer best-in-class Sage ERP and Sage CRM customization and development services to Business Partners, End Users, and Sage PSG worldwide. Greytrix helps in the migration of Sage CRM from Salesforce | ACT! | SalesLogix | Goldmine | Sugar CRM | Maximizer. Our Sage CRM Product Suite includes addons like Greytrix Business Manager, Sage CRM Project Manager, Sage CRM Resource Planner, Sage CRM Contract Manager, Sage CRM Event Manager, Sage CRM Budget Planner, Gmail Integration, Sage CRM Mobile Service Signature, Sage CRM CTI Framework.
Greytrix is a recognized Sage Champion Partner for GUMU™ Sage X3 – Sage CRM integration listed on Sage Marketplace and Sage CRM – Sage Intacct integration listed on Sage Intacct Marketplace. The GUMU™ Cloud framework by Greytrix forms the backbone of cloud integrations that are managed in real-time for the processing and execution of application programs at the click of a button.
For more information on our integration solutions, please contact us at sage@greytrix.com. We will be glad to assist you.