Sage X3 Show a dialog Window

If you need to open a X3 window dialog, not full size windows with left browsers, from a program please follow these instructions.

Our example open a window named ‘OYA6SORD2’.
Into Sage X3 there are:

  • an action named ‘AYA6SORD2’
  • a custom program named ‘SPEYS2’
  • a standard program named: SUBYS2
Local Decimal BASPAG
Local Char PARMSK(250)(1..20) , SAVACT(20)
SAVACT = GACTION : GACTION = "AYA6SORD2"
PARMSK(1) = "SOH4"
PARMSK(2) = [M:SOH0]BPCORD
PARMSK(3) = [M:SOH1]BPAADD
Call SAISIE_NUM(BASPAG,PARMSK,"OYA6SORD2","SUBYS2","SPEYS2") From GSAISIE
GACTION = SAVACT

If you want to immediately close the dialog window, in the action object DEBUT
just put FIN = 1.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s