Batch posting invoices

djswimdjswim Member Posts: 277
Does anyone know of any documentation on this functionality? I've looked in Finance and Trade and haven't found it... don't know where else it may be.
"OMG ALL MY DATA IS GONE"
"Show All..."
"Oh..."

Answers

  • ara3nara3n Member Posts: 9,256
    You mean on sales Invoice. Post-Batch Post?
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • garakgarak Member Posts: 3,263
    Take a look into the sales documents if you mean "Post-Batch Post Sales Invoice".
    Also you can click on the HELP Button on this report to read the online help.
    Do you make it right, it works too!
  • djswimdjswim Member Posts: 277
    This is solved, amazingly, the F1 Help provides a good explanation.... usually the last place I look :)
    "OMG ALL MY DATA IS GONE"
    "Show All..."
    "Oh..."
  • ara3nara3n Member Posts: 9,256
    I usually disable that report.

    If it is run with wrong filter the customer will be in a world of pain.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • garakgarak Member Posts: 3,263
    we have it still activated. Our customers, ok not all, use their brain before. ;-)
    Do you make it right, it works too!
  • garakgarak Member Posts: 3,263
    @ djswim: the online help includes a big documentation about all modules. There are also examples in it....
    Do you make it right, it works too!
  • David_SingletonDavid_Singleton Member Posts: 5,479
    ara3n wrote:
    I usually disable that report.

    If it is run with wrong filter the customer will be in a world of pain.

    I agree, though I normally just add code like if getfilters = '' then error....

    The danger is that many clients never use this, and one day someone runs it to see what it does.
    David Singleton
  • garakgarak Member Posts: 3,263
    The danger is that many clients never use this, and one day someone runs it to see what it does.

    And why not setting permissions?

    The "if getfilters = ''" solution we use also in some cases ....
    Do you make it right, it works too!
  • ara3nara3n Member Posts: 9,256
    because permission are done in 99 percent of implementation at tabledata level.
    Doing this at report/form/codeunit is not practical.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • LibertyMountainLibertyMountain Member Posts: 94
    is it possible to do batch posting of invoicing using the job queue? (I guess anything's possible :) ... but is this a common request of customers?) we would like to figure this out, but are running into the roadblock that CU80 has output windows which make it unusable by the job queue.
  • Alex_ChowAlex_Chow Member Posts: 5,063
    No, it's not common to post invoices using job queue. I wouldn't recommend it to any end user.
  • ara3nara3n Member Posts: 9,256
    is it possible to do batch posting of invoicing using the job queue? (I guess anything's possible :) ... but is this a common request of customers?) we would like to figure this out, but are running into the roadblock that CU80 has output windows which make it unusable by the job queue.
    you can use job queue with webservice and webservice ignores windows.

    I had to modify cu 80 for a client who does invoicing at night but nav webservice wasn't available.. They are high volume transaction customer
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • alwaysgunaalwaysguna Member Posts: 45
    Hi Rashed ,
    you can use job queue with webservice and webservice ignores windows.

    I had to modify cu 80 for a client who does invoicing at night but nav webservice wasn't available.. They are high volume transaction customer

    Thanks for throwing us light on the above topic, I have a similar requirement where I need to post Invoices without user intervention. I know its possible through NAS , but I am wondering how it is possible through web service using CU80 since it uses recordsets which are not supported by webservices.

    Regards ,
    Guna
    Guna
  • ara3nara3n Member Posts: 9,256
    You create a new Codeunit in 50 K range and you pass to it the document type and document no.

    In the function you do a get sales header and call CU 80
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • alwaysgunaalwaysguna Member Posts: 45
    Hi Rashed ,

    Thanks for your response. I tried the same and it worked perfectly, pleased to know that lot of things are possible in NAV now.

    Appreciate your contribution in exposing all those features to us.

    Guna
    Guna
  • alwaysgunaalwaysguna Member Posts: 45
    Hi Rashed ,

    Thanks for your response. I tried the same and it worked perfectly, pleased to know that lot of things are possible in NAV now.

    Appreciate your contribution in exposing all those features to us.

    Guna
    Guna
  • ara3nara3n Member Posts: 9,256
    you are welcome and good luck.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
Sign In or Register to comment.