New features in 5.0

jan_jansenjan_jansen Member Posts: 12
Apart from the block indent, which is wonderful, there seems to be also the possibility to map forms to a temporary table.
However you could use also in 2.6 a temporary table in a form by creating a temp table first, and then run that form with
Form.RUNMODAL(50000,TempTable).
So what do they mean with this new feature?
Best regards,
Jan Jansen

Comments

  • krikikriki Member, Moderator Posts: 9,110
    You make a normal form, and in the form, you can work on the table like in a real table (so with rec) but this will work on the temptable and NOT on the real table.
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • David_SingletonDavid_Singleton Member Posts: 5,479
    jan jansen wrote:
    Apart from the block indent, which is wonderful, there seems to be also the possibility to map forms to a temporary table.
    However you could use also in 2.6 a temporary table in a form by creating a temp table first, and then run that form with
    Form.RUNMODAL(50000,TempTable).
    So what do they mean with this new feature?
    Best regards,
    Jan Jansen

    Basically this feature is nothing new, the only difference in 5.0 it is now easier to implement.

    To implement this on other versions, you had to put code in say a CodeUnit that populated a Temporary table, and then you call the form with RunModal and pass the Temp table to it. Now you can put that code inside the form. The main advantage this has is that you can call a form directly from the MenuSuite a lot easier.

    If you look at the Planning function on Sales orders, you can see a good example of how this can be implemented in earlier versions.
    David Singleton
Sign In or Register to comment.