Quantcast
Channel: Sage X3 – Tips, Tricks and Components
Viewing all articles
Browse latest Browse all 1524

Refreshing the Left-List data for misc. windows using 4GL scripting in Sage X3

$
0
0

In Sage X3, one of the client’s requirements was to get a left-list browser on a custom miscellaneous type window from where we were creating transactions in an unique way.
Since we know for left-lists an object needs to be linked in the browser tab of the window under development window, and the object requires a linked data table. However a miscellaneous type window doesn’t flow the standard screen actions that of an object type window so all the standard object actions for refreshing the left-list’s data don’t work automatically here.

New Stuff: https://www.greytrix.com/blogs/sagex3/2022/09/28/quality-variance-in-sage-x3/

We’ll be referencing the following screen from Sage X3 for this:

Script Editor: All > Development > Script Dictionary > Scripts > Script Editor (ADOTRT)

Refer the screenshots for reference:

Note: Below process is shown for an miscellaneous type window, for an object type window this is being automatically handled by Sage standard scripts.

Step 1: Make sure that the linked table in the browser object is open within the screen. If not, then you’ll have to open the table/file first using the following snippet under the given Action event.

Code snippet for Opening file (table)
Code snippet for Opening file (table)

Syntax: If !Clalev( [F:{Table abbreviation}] ) : Local File {Table name} [ {Table abbreviation} ] : Endif

Step 2: Next when the required table has been opened, we need to declare the below two label Action events. Refer the below code snippet for the reference:

Code snippet for Refreshing the Left-list browser
Code snippet for Refreshing the Left-list browser

Here change the following things as per requirement:
[ZMVK] = Object linked table abbreviation
[ZSTKM] = Mask/screen abbreviation
ZMVK0 = Table index

Step 3: Calling the $REMPBOX label from anywhere within the code will result in refreshing the left-list browser.

After following all the above steps, we’ll be able to get our left-list browser refreshing done whenever using 4GL scripting.

About Us

Greytrix – a globally recognized and one of the oldest Sage Development Partner is a one-stop solution provider for Sage ERP and Sage CRM organizational needs. Being acknowledged and rewarded for multi-man years of experience, 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 caters to a wide range of Sage X3, a Sage Business Cloud Solution, offerings. Our unique GUMU™ integrations include Sage X3 for Sage CRMSalesforce.com, Dynamics 365 CRM and Magento eCommerce along with Implementation and Technical Support worldwide for Sage X3. Currently we are Sage X3 Implementation Partner in East Africa, Middle East, Australia, Asia, US, UK. We also offer best-in-class Sage X3 customization and development services, integrated applications such as POS | WMS | Payment Gateway | Shipping System | Business Intelligence | eCommerce and have developed add-ons such as Catch – Weight  and Letter of Credit and India Legislation for Sage X3 to Sage business partners, end users and Sage PSG worldwide. Greytrix Sales Commission App for Sage X3 simplifies commission calculations and postings on sales transactions.

The GUMU™ Cloud framework by Greytrix forms the backbone of cloud integrations that are managed in real-time for processing and execution of application programs at the click of a button.

Greytrix is a recognized Sage champion ISV Partner for GUMU™ Sage X3 – Sage CRM integration also listed on Sage Marketplace; GUMU™ integration for Sage X3 – Salesforce is a 5-star rated app listed on Salesforce AppExchange and GUMU™ integration for Dynamics 365 CRM – Sage ERP listed on Microsoft AppSource.

For more information on Sage X3 Integration and Services, please contact us at x3@greytrix.com, We would like to hear from you.


Viewing all articles
Browse latest Browse all 1524

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>