Dear Ricardo If i were you I will do this : 1. Duplicate the report then rename it to "SalesInvoice_XXX" 2. Duplicate SalesInvoice menu item and then rename it to "SalesInvoice_XXX" and then changed the property Object to "SalesInvoice_XXX" 3. Then you can call the menu item anywhere with any condition.
Regards Rando http://axaptadeveloper.blogspot.com ricardodegouveia <[EMAIL PROTECTED]> wrote: Hi all, I'm trying to create multiple designs for the salesinvoice report as i want a different layout of the report for different customer groups. I hae copied the "standard" design and named it "copyofstandard" and changed the layout.Now how do i get it to call my new design for the specific customer group? I have tried the "element.desgin (copyofstandard);" command in the init method but i just goes into an endless loop or something. Can anyone tell me whats wrong? Thanking you in advance. Ricardo