Batch posting invoices

djswim
djswim 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

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


    blog: https://dynamicsuser.net/nav/b/ara3n
  • garak
    garak 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!
  • djswim
    djswim 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..."
  • ara3n
    ara3n Member Posts: 9,258
    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
  • garak
    garak 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!
  • garak
    garak 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_Singleton
    David_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
  • garak
    garak 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!
  • ara3n
    ara3n Member Posts: 9,258
    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
  • LibertyMountain
    LibertyMountain 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_Chow
    Alex_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.
  • ara3n
    ara3n Member Posts: 9,258
    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
  • alwaysguna
    alwaysguna 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
  • ara3n
    ara3n Member Posts: 9,258
    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
  • alwaysguna
    alwaysguna 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
  • alwaysguna
    alwaysguna 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
  • ara3n
    ara3n Member Posts: 9,258
    you are welcome and good luck.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n