Report

How do I add quote service's print layout? thanks!

Best Answer

Answers

  • sharon95sharon95 Member Posts: 183
    are you sure? I don't have to write some code?
  • KishormKishorm Member Posts: 921
    If you just want to select an alternive service quote report to use for service quotes then that's all you need to do. If you are trying to do something different then you need to explain in more detail.
  • sharon95sharon95 Member Posts: 183
    @Kishorm thanks!
  • sharon95sharon95 Member Posts: 183
    @Kishorm I have to add an action to print the service quote layout... What do I have to do? thanks!
  • KishormKishorm Member Posts: 921
    There is already a "Print" action on the Service Quote card. If you need to add it somewhere else then just copy that action.
  • sharon95sharon95 Member Posts: 183
    edited 2016-11-28
    this?

    PrintServDocG.PrintServHeader(Rec);
  • KishormKishorm Member Posts: 921
    CurrPage.UPDATE(TRUE);
    DocPrint.PrintServiceHeader(Rec);
    
  • sharon95sharon95 Member Posts: 183
    I've got this error
  • KishormKishorm Member Posts: 921
    It looks like you are trying to print a different type of document - not a Service Quote. The 5025624 tells me that this is an ISV modification. You need to use a report that uses the same table.

    Also, the original code I sent doesn't apply - this only applies to printing standard NAV Service Quotes.
Sign In or Register to comment.