Home > X++ stuffs > Customize your Own sysPickListForm

Customize your Own sysPickListForm


Here is a small job which will explain how to add a map object to the sysPickList form. After executing the job you’ll observe something like this




static void SysPickList_Map(Args _args)


    Map     s = new Map(Types::Integer, Types::String);

    Object  formRun;



    //Add values to the set

    s.insert(1, ‘Santosh.R’);

    s.insert(2, ‘Chaitanya G.S.S’);

    s.insert(3, ‘Sampath.B’);

    s.insert(4, ‘Madan.T’);

    s.insert(5, ‘Chaitanya.P’);

    s.insert(6, ‘Veeresh.J’);

    s.insert(7, ‘Naveen’);


    _args = new Args(formstr(SysPick));



    formRun = classfactory.formRunClass(_args);



    // Returns the sysPick Caption.

    formRun.setCaption(‘Set PickList’);




For any further reference try to research the Global class & function in AX which explains how can the sysPick be used.



Categories: X++ stuffs
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Please log in using one of these methods to post your comment:

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

%d bloggers like this: