In fact, I have to completely customize GetRelationGrid(Prod) in TabContentProds.
My problem is that I need 2 DataSet:
- Btch (Relation = BTCH_OPPO) which will be totally displayed so I could use it in HTML with GetRelationGrid (Btch)
- Prod (Relation = PROD_OPPO) which will be partially displayed for each Btch.
By "partially", I mean that the Prod dataset must be filtered on "F_BATCH = K_BATCH".
To be clearer with the exact customizations, it's like I have to display the PROD_OPPO relations in OppoEdit, but split into several tables (where Btch will be "headers")
How does Request.getMacro work?
I can use it as Request.getMacro ('MyMacro', 'Oppo', 'Prod', ???)
Does Request.getMacro allow to filter? And what can I put as 'values'.
I have never used the TEnhStringList, how to use it in a macro? I can not find an example in the standard code
I have already tried this customization article but it does not work (I edited it)
I wrote the script server skeleton if it can help you understand what kind of display I want