Add Dimension Shortcut in GLE form.

dkonedkone Member Posts: 59
Hi all,

I have a simple thing to do : add a column with the "Shortcut Dim 3" in GLE form (don't need to filter on it).

So can u help me to know what is the best way to do this ?

1- Add a lookup field to the the GLE table and the GLE form.
2- In the GLE form, in the OnAfterGetRecord init a record with the dim 3 value and show it
3- Mimic the form 47 (or 55) where all dimensions can be showed. (I don't understant why there's not the same thing in GLE form).

Regards,

dkone.

Answers

  • ahed4ahed4 Member Posts: 21
    If you don' need to filter on it I would use code in the OnAfterGetRecord / OnAfterGetCurrRecord to just display it. Done that a million times already. Some even requested the possibility to modify them. So I took the "Sales Order Subform" approach. But that's the best way I guess..

    Well yes, the sales order subform has all of them, but if you check the code you will see that it's just a variable as well that reades / writes stuff into the document dimension once you validate them. Similar to your option 2. But with edit capabilities.

    cheers
    D
    The freaks come out at night.
  • dkonedkone Member Posts: 59
    Hi ahed4,

    Many Thanks for your smart response.

    I'll do this.

    Regards,

    dkone.
Sign In or Register to comment.