web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Assigning New Design for Sales Invoice

(0) ShareShare
ReportReport
Posted on by 8,223

Hi Friends ,

I've  created new design for existing sales invoice and now i wanted to make it default.I followed below article
http://blogs.msdn.com/b/axsupport/archive/2012/05/24/dynamics-ax-2012-reporting-how-to-specify-new-design-for-sales-order-confirmation.aspx

also i did changes in SalesInvoiceController Class , but result is still same , it is printing with old format.Can anyone share how to do this correctly ?, 

Thanks in advance,

Amith Prasanna

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Mallika Roy Profile Picture
    552 on at

     Please check exactly which report is being called, it can be localization specific.

  • A.Prasanna Profile Picture
    8,223 on at

    Thanks for your suggestion mallika.

    I'm Using AX2012R3 with Demo Data, in that there are several designs (localized) inside of SalesInvoice Report .By Default It's calling Default 'Report' design.Because I need new design I've Created new design using visual studio and renamed it as 'Report_XY'.now I want to call that design.

    at runtime.

  • Suggested answer
    Community Member Profile Picture
    on at

    Click Project management and accounting > Common > Project invoices > Project invoice proposals. In the Invoice proposals list, on the Action Pane, click Invoice proposal. If billing rules are assigned to the project, click Invoice proposal from billing rule.

    –or–

    Click Project management and accounting > Common > Projects > All projects. Select or open the project for which to create an invoice. On the Action Pane, on the Manage tab, in the New group, click Invoice proposal.

    –or–

    Click Project management and accounting > Common > Projects > Project contracts. Select or open the project contract for which to create an invoice. On the Action Pane, on the Maintain tab, in the New group, click Invoice proposal.

    In the Create invoice proposal form, enter a project contract and project for which to create an invoice proposal.

  • Suggested answer
    Guy Terry Profile Picture
    28,924 Moderator on at

    Hi Amith,

    Do you need to select the new report at A/R -> Setup -> Forms -> Form setup -> Print management -> Customer invoice -> Original -> Report format?

  • A.Prasanna Profile Picture
    8,223 on at

    Hi Guy,

    Actually it's not that i'm referring to , What i did was i opened SalesInvoice Model Project (from AOT) in Visual Studio, and Created New Design for it and Deployed .Now I want to use that design , So I did Some Changes on SalesInvoice Controller Class , and PrintMgmtDocType classes , but still it's printing default design which default AX has.

    I want to use that design which i've created when report runtime .

    thanks in Advance,

    Amith Prasanna

  • Guy Terry Profile Picture
    28,924 Moderator on at

    What happens if you open table PrintMgmtReportFormat from within the AOT and change the 'Name' of SalesInvoice.Report to SalesInvoice.Report_XY

  • Suggested answer
    Kumar Gaurav @ MS Profile Picture
    on at

    Check if Print management is playing role here, delete and re-deploy report to ensure the right design available on server, also if you haven't done it already then please recreate CIL because form letter runs in CIL.

  • Suggested answer
    A.Prasanna Profile Picture
    8,223 on at

    Yeah it is god Idea, But consider scenario like this , if I wanted to use different designs in different legal entities , then what will be the solution?.

    thanks,

    Amith Prasanna

  • Suggested answer
    Kumar Gaurav @ MS Profile Picture
    on at

    you need to code it in your logic to call conditional design, sales invoice controller already have such code for br localization.

  • Guy Terry Profile Picture
    28,924 Moderator on at

    Maybe you could add a record in the PrintMgmtReportFormat table for each design, and select a different design in each legal entity.

    The PrintMgmtReportFormat table has a method called 'populate'. If you can decipher it, you might be able to get your new reports to appear in that table 'automatically'.

    This blog may also be of interest.

    blogs.msdn.com/.../dynamics-ax-2012-reporting-how-to-specify-new-design-for-sales-order-confirmation.aspx

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans