Ax 2012 - ssrs sales invoice report

Hi. I am new to AX 2012 and would like to customize the sales invoice reporrt. If I change something on the report it looks like it would impact the report for all the companies we have in the instance. How can I make this change company specific? Please advise.

Thanks

Hi. You can duplicate the current design of SalesInvoice in Visual Studio and do your further modifications on the duplicate version. You still have the same datasource, but the design becomes totally independent.

Of course, you also have to add conditional call of the report depending on the company for which the report is to be printed

if (custInvoiceJour.company() == "BLA-BLA ")

// print a report with this design…

Hi Janis. I did the changes on the duplicate version as you suggested. Can you tell me where I need to add the conditional call? Thanks

Hi Hagi,

Create a new design in VS for SalesInvoice report and follow below steps

There is one setup in AR—>Setup—>Form Setup—>Print management and under sales Invoice
here you have to specify new report name/design which you want to open
It will open the report name which you specify under Report Format

Report Format has to be specified under PrintMgmtReportFormat Table
Create a record directly in this table with new report name and you will get a new report

this setup is company specific.