Sales Invoice creation based on Delivery Type in Sage X3

By | July 26, 2022

In Sage X3, “Document type” is a mandatory field in every transaction screen. So we need to select document type while creating any transaction. Also, “Invoice” button is available in Sales Delivery screen to create Invoice entry of that Delivery from the delivery screen. And when Invoice is created by clicking on that Invoice button from delivery screen, default document type of Invoice will be selected automatically.

We recently had a requirement to link the Delivery Document Type to Invoice Document Type upon clicking the Invoice button in the Delivery screen. They were having no. of Delivery types and Invoice types saved in their respective document type masters. And they wanted to flow specific invoice type instead of default invoice type in invoice entry which will be created directly from the delivery screen. To do so we have created a Miscellaneous Table and linked the Delivery Document Type to the related Invoice Document Type.

New Stuff: Sage X3 Integration with Weighing Scales

Fig 1. Miscellaneous Table
Fig 1. Miscellaneous Table

As you can see, in the above screen shot we have mentioned all the Delivery Document Types in the Column “Code” and its corresponding Invoice Types in “Short description” Column of the Miscellaneous Table.

Now to link the invoice types, we have written a script to fetch the corresponding Invoice Type (Short description column) based on the Delivery Type Document (Code column) selected in the Delivery Screen and assigned the same Invoice Document Type which we have already saved in the Miscellaneous table for that specific Delivery type to the Invoice Type field in the Sales Invoice screen.

Below is an example of DFDI document type in the Delivery Screen.

Fig 2. Delivery Screen
Fig 2. Delivery Screen

After creating and validating Delivery entry with DFDI Delivery type, we will try to create Invoice of the same delivery by clicking on “Invoice” button.

Fig 3. Invoice Screen
Fig 3. Invoice Screen

As you can observe in the above screenshot, IFDI Invoice type is getting displayed which is saved against DFDI delivery type in the miscellaneous table. So it is mandatory to save invoice types against delivery types in the table to work this customization in a correct manner.

This way we have linked the Delivery document type to the Invoice document type in SageX3.

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 X3Sage IntacctSage 100Sage 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.