Changing Form 42 - Sales Order

dohertyk
dohertyk Member Posts: 94
Hello,

I am modifying Form 42 - Sales Order.

When it comes time to choose Order Processing, Sales Orders and then Print. (I get 2 copies, I only want one, the second copy puts "COPY" in the sales header.)

Another issue is At the bottom I can choose the drop down Posting, and select Post & Print. and I choose Sales Invoice. I only get one copy, but I need 2 copies.

I know it uses Code Unit 82 Sales - Post + Print, but as most of you know, I am still new to navision, so any direction you can help me out with, would be much appreciated.

Thanks in advance,

Kevin

Answers

  • zeninoleg
    zeninoleg Member Posts: 236
    How about setting 1 on the customer card -> Invoice Copies on the Invoicing Tab :whistle:
    Best Regards,
    Oleg
  • dohertyk
    dohertyk Member Posts: 94
    zeninoleg wrote:
    How about setting 1 on the customer card -> Invoice Copies on the Invoicing Tab :whistle:

    That only takes care of part of the first part of the problem. The one that prints twice when I only want it to print once.

    The second part of the problem is that I want it to print 2 copies of the Sales Invoice.

    I've been looking in Code Unit 82: Sales - Post & Print. But I am unsure if I should change anything in there, because I am unaware if other forms might use this code unit.

    Thanks for your suggestion. I will put it to work for me.

    Sincerely,

    Kevin
  • zeninoleg
    zeninoleg Member Posts: 236
    Kevin,
    You can change this Invoice Copies value for each customer. If you want 1 copy for particular customer then put 1 in this field, if you want 2 for another customer - put 2.
    Also when you are on the Invoice Card and press Print button, you can select how many copies you want on the Options tab of the Request form
    Hope this helps
    Best Regards,
    Oleg
  • dohertyk
    dohertyk Member Posts: 94
    zeninoleg wrote:
    Kevin,
    You can change this Invoice Copies value for each customer. If you want 1 copy for particular customer then put 1 in this field, if you want 2 for another customer - put 2.
    Also when you are on the Invoice Card and press Print button, you can select how many copies you want on the Options tab of the Request form
    Hope this helps

    Invoice copies on the Customer Card is 0. But it still does it.

    Are you sure it's just an option that I am looking for? And that I won't have to do any re-programming?
  • Savatage
    Savatage Member Posts: 7,142
    When you click print on Posted Invoices it shows you a box where you can select a printer and it has a box that says # of Copies

    Unless you have set that report to go to a specific printer using properties
  • dohertyk
    dohertyk Member Posts: 94
    Savatage wrote:
    When you click print on Posted Invoices it shows you a box where you can select a printer and it has a box that says # of Copies

    Unless you have set that report to go to a specific printer using properties

    There is no prompt unfortunately. Anyone know where I would find the code that is supposed to prompt for a printer, because I would prefer it if the windows dialog for a printer came up. It would make things much easier for all people.

    The way it works right now is it litterally posts & then prints. (no prompt) Then she has to photocopy the piece of paper that just printed and then she has her 2 copies.
  • zeninoleg
    zeninoleg Member Posts: 236
    Are you sure it's just an option that I am looking for? And that I won't have to do any re-programming?
    Well, it all depends on waht has been "customized" in this posting routine. Somebody might as well have hardcoded the number of copies. Usually, there is 3 places where you can change number of copies.
    1) Customer Card
    2) Posted Invoice Card-> Print
    3) Like Harry said, on the printer dialog box
    That should be it.....
    Best Regards,
    Oleg
  • dohertyk
    dohertyk Member Posts: 94
    zeninoleg wrote:
    Are you sure it's just an option that I am looking for? And that I won't have to do any re-programming?
    Well, it all depends on waht has been "customized" in this posting routine. Somebody might as well have hardcoded the number of copies. Usually, there is 3 places where you can change number of copies.
    1) Customer Card
    2) Posted Invoice Card-> Print
    3) Like Harry said, on the printer dialog box
    That should be it.....

    Thanks Oleg,

    That's some very useful information. I have checked the Customer Card, and I know it's not there. The printer dialog box doesn't come up at all. So I know it's not there. And I don't know the Posted Invoice Card, but I will be looking there now.

    The biggest problem with Navision is that there are so many places that you can hide things and it does so much for you without you having to write any real code.

    Thanks again all of you for your help.

    If you think of anything else, just keep adding to this thread.

    Sincerely,

    Kevin

    PS: I'll let you know where I find the solution. When I find the solution. :)
  • dohertyk
    dohertyk Member Posts: 94
    zeninoleg wrote:
    Well, it all depends on waht has been "customized" in this posting routine. Somebody might as well have hardcoded the number of copies. Usually, there is 3 places where you can change number of copies.
    1) Customer Card
    2) Posted Invoice Card-> Print
    3) Like Harry said, on the printer dialog box
    That should be it.....

    I must be doing something wrong, I can't find a Posted Invoice Card, is there any place it could be hiding?
  • zeninoleg
    zeninoleg Member Posts: 236
    Sales And Receivables -> Posted Invoices
    :D
    Best Regards,
    Oleg
  • dohertyk
    dohertyk Member Posts: 94
    zeninoleg wrote:
    Sales And Receivables -> Posted Invoices
    :D

    I think it's using the Customer Card, and there must not be a Posted Invoices Card.

    Grr... this is frustrating me... It's probably right infront of my face too.

    Thanks though,

    Kevin
  • Savatage
    Savatage Member Posts: 7,142
    edited 2007-02-02
    what's your form numbered 132?

    Go to Sales & Receivables menu - there should be a choice for Posted Invoices.

    there is a property on each report called
    UseSystemPrinter

    Use this property to decide which printer will be suggested when the report is run.

    Applies to Reports

    Settings

    The system default printer Yes
    The printer that is set for this User/Report combination in the system setup No (the default)

    Comments
    The user will be able to select another printer at runtime (if UseReqForm is Yes.)

    If the UseSystemPrinter is set to No, but there is no specific printer defined for the User/Report combination, the system default printer will be suggested.
  • David_Singleton
    David_Singleton Member Posts: 5,479
    zeninoleg wrote:
    Are you sure it's just an option that I am looking for? And that I won't have to do any re-programming?
    Well, it all depends on waht has been "customized" in this posting routine. Somebody might as well have hardcoded the number of copies. Usually, there is 3 places where you can change number of copies.
    1) Customer Card
    2) Posted Invoice Card-> Print
    3) Like Harry said, on the printer dialog box
    That should be it.....

    Also ...

    4) in reports setup, you could have the report record twice.
    David Singleton
  • dohertyk
    dohertyk Member Posts: 94
    Also ...

    4) in reports setup, you could have the report record twice.

    Thanks David, I'll check it out.
  • dohertyk
    dohertyk Member Posts: 94
    Savatage wrote:
    1) Customer Card
    2) Posted Invoice Card-> Print
    3) Like Harry said, on the printer dialog box
    4) in reports setup, you could have the report record twice.

    Between David & Savatage, you guys have been a great help especially on this topic.

    If you have any other suggestions, just let me know, The first part of the problem has since been solved. But the second part still eludes me.

    Here it is, restated.

    “Order” as accessed through: Sales & Marketing – Order Processing – Orders:

    Change print quantities, as noted:

    When we print the completed sales order, Navision prints only one copy and we require 2 – one for our records and one to go with the shipment for customs.

    After the items have been picked it is time to post and print the sales order. At this point I use the post and print function in the sales order screen. We require 2 copies of the posted invoice – 1 for our records and 1 for shipping to the branch/customer. Unfortunately there is no option for us to select the number of copies to be printed for this function. As there is no prompt for the printer and it just prints one copy right away.

    This was a suggested solution but it didn't work:

    Go to Sales & Marketing - History - Posted Invoices - Print Button. This opens up the Request form for the Sales Invoice report, Report 10074. Go to the Options Tab and set the Number of Copies to ‘1’. This report will save the values on the options tab for use every time the report is run. Cancel the report. Now, if you go back and do Post & Print, when it calls the Sales Invoice report it will see the number of copies set to 1 and print you an extra copy.

    This is the solution to something, just not this particular problem.

    Thanks again to all who have helped.

    Sincerely,

    Kevin
  • dohertyk
    dohertyk Member Posts: 94
    dohertyk wrote:
    2) Posted Invoice Card-> Print
    Thanks again to all who have helped.

    Woo Hoo... Good News..

    After reviewing everything in this thread, I just wanted to let you all know. That I found the solution, that I was looking for it was in the Posted Invoice Card.

    Sales & Marketing, History, Posted Invoices.

    I'm so sorry.. You guys have all been great. Harry, David & Oleg.

    Thank you again,

    Kevin
  • zeninoleg
    zeninoleg Member Posts: 236
    Great Kevin,
    that is why we are here...... :lol:
    Let us know if you will get stuck somewhere
    Best Regards,
    Oleg
  • dohertyk
    dohertyk Member Posts: 94
    zeninoleg wrote:
    Great Kevin,
    that is why we are here...... :lol:
    Let us know if you will get stuck somewhere

    Oh don't worry.. My next post is just a couple of hours, days, weeks away. :)

    Thanks again,

    Kevin