Batch Post Puchase Invoices and Workflow

zeonzeon Member Posts: 130
edited 2018-07-02 in NAV Three Tier
When you have an approval workflow for Purchase Invoices set up, it is impossible to Batch Post Purchase Invoices.
When I check Report 496 the report will skip if the Purchase Approval Workflow is enabled.

Can that really be true? If so, is there any workaround or process to make it possible?

2qh8u6pd47ls.png

Answers

  • Slawek_GuzekSlawek_Guzek Member Posts: 1,690
    edited 2018-07-03
    <Deleted>
    Slawek Guzek
    Dynamics NAV, MS SQL Server, Wherescape RED;
    PRINCE2 Practitioner - License GR657010572SG
    GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-03
  • KishormKishorm Member Posts: 921
    The IsPurchaseApprovalsWorkflowEnabled function will only return true if there is an Enabled approval workflow for the document type which would only be true for open documents (the approval workflows have a filter on the Status field). Once the document Status changes to Pending Approval or Released the function returns false.

    Therefore, the batch job will only post documents if they have been released or if you are not using an approval workflow for the document type - which makes perfect sense!
  • zeonzeon Member Posts: 130
    Thanks for your answer!!
  • KishormKishorm Member Posts: 921
    zeon wrote: »
    Thanks for your answer!!

    Great, in that case please mark my earlier post as having answered your question :)
Sign In or Register to comment.