Batch Posting Purchase Invoices

Jonathan2708Jonathan2708 Member Posts: 552
Hi,

I'm having problems using the 'Post Batch...' option on the purchase invoice screen. I keep getting the message '0 of 4 invoices were posted', even though when I F11 to post them individually it posts fine.

I think I've narrowed the problem down to the fact that if you try and post an invoice with a posting date different to the current working date then you get a popup Yes/No warning message asking you to confirm this is ok. I guess when batch posting rather than popping this message up every time it just skips posting the invoice altogether. I set the posting date of 1 of the invoices to todays date and I then got '1 of 4 invoices were posted'.

Is there a way of telling Navision to post the invoice anyway when batch posting?

Any help appreciated,

Jonathan

Answers

  • ara3nara3n Member Posts: 9,256
    I'm guessing this is a mod. I wouldn't ask a question during posting routine. I would rather move the question to a different codeunit CU81.

    The other option is to create a new function called setbachmode in CU 80. In the function you'll set the a bolean variable to true.

    don't ask the question if batchmode = true.


    In batch post report call the function on cu 80 variable.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • Jonathan2708Jonathan2708 Member Posts: 552
    Hi thanks for the reply,

    No there are no mods, the warning message is part of standard Navision whenever you try to invoice/ship/receive a document with a posting date different to the current working date.

    I would not have thought I would have to make a mod to resolve this.

    Jonathan
  • Nav117Nav117 Member Posts: 15
    Hi Jonathan,
    Did you try adjusting your work date to be (<=)earlier or equal to the posting date? In NAV American payroll, this is always an issue when posting journals.
  • SavatageSavatage Member Posts: 7,142
    Hi thanks for the reply,

    No there are no mods, the warning message is part of standard Navision whenever you try to invoice/ship/receive a document with a posting date different to the current working date.

    I would not have thought I would have to make a mod to resolve this.

    Jonathan

    Really? - it's not standard in mine.
  • ara3nara3n Member Posts: 9,256
    It could be standard in UK version.
    But yeah, I definitely think it's a mod. UK deverloper wouldn't put a confirm in Posting routine.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • Jonathan2708Jonathan2708 Member Posts: 552
    It's definitely a standard message, maybe it is only in the GB version but it's been in every version I've used since 3.6

    Jonathan
  • Jonathan2708Jonathan2708 Member Posts: 552
    Solved it!

    The warning message I've been referring to is what is causing the batch post to fail for invoices with a different posting date to the work date. I have found this warning can be turned off in Sales & Receivables Setup by un-ticking the 'Posting Date Check on Posting' option.

    Jonathan
Sign In or Register to comment.