web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Automatic Posting of Vendor Invoice Through Workflow

(0) ShareShare
ReportReport
Posted on by

Hello Everyone,

After setting up the approvals on the workflow, I dragged the auto post invoice node so that the invoice automatically posts once its approved.

But I keep getting a stopped error message on the workflow. What am I suppose 2 do to make the functionality work.

Thanks!

*This post is locked for comments

I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    300,911 Super User 2025 Season 2 on at

    Hi Dammy,

    Can you tell if the Stopped error provides some more information? This can be seen in the Workflow history form or probably the Windows event logs on the AOS server.

  • Community Member Profile Picture
    on at

    @Andre, sorry this is coming late, this is the error message I get when I configure the automatic posting

    9/1/2015 02:40:38 pm:

    "Stopped (error): session 147 (axAOS) UPDATE T1 SET TAXWRITECODE=T3.PRINTCODE,MODIFIEDDATETIME=?,RECVERSION=? FROM VENDINVOICETRANS T1 CROSS JOIN VENDINVOICEINFOLINE T2 CROSS JOIN tempdb."DBO".t102233_D3053059586F47ADB25933844430676A T3 WHERE ((T1.PARTITION=?) AND (T1.DATAA"

  • André Arnaud de Calavon Profile Picture
    300,911 Super User 2025 Season 2 on at

    Hi Dammy,

    This is probably not related to automated posting, but it is an SQL error stating that something is wrong.

    It can be related to a not synchronized database, a failover if you have configured always on.

    Also it can be caused by having eXtensible data security enabled. I currently have seen an issue at a customer.

    The SQL statement above is not complete, so probably it has be trimmed somewhere and then causes the error.

    First try to synchronize the database, do a CIL compilation and restart AOS instances.

  • Community Member Profile Picture
    on at

    @Andre, thanks. I will do dat den get back to u on the outcome. Thanks once again.

  • lally Profile Picture
    8 on at

    [quote user="DammyT"]I dragged the auto post invoice node so that the invoice automatically posts once its approved.[/quote]

    Sorry to step in to other post .

    Does it post automatically once it is approved or do i need to create any separate batch job to post these approved journals in Ax 2012 ?

  • Community Member Profile Picture
    on at

    @lally, d idea is 4 it 2 automatically post when d workflow is completed. So d node should be d last b4 d end node.

  • lally Profile Picture
    8 on at

    Thanks Dammy T ,

    I am clear about the Post node .

    The question is do i need to create any separate batch job to post these approved journals in Ax 2012 or system does it post automatically without any job involvement ?

  • Community Member Profile Picture
    on at

    @lally, no

  • vikram2060 Profile Picture
    on at

    Hi Dammy,

    Could you please share the error details.

    Thanks

    Vikram Konchada

  • Community Member Profile Picture
    on at

    @vikram, thanks this is it;

    9/1/2015 02:40:38 pm:

    "Stopped (error): session 147 (axAOS) UPDATE T1 SET TAXWRITECODE=T3.PRINTCODE,MODIFIEDDATETIME=?,RECVERSION=? FROM VENDINVOICETRANS T1 CROSS JOIN VENDINVOICEINFOLINE T2 CROSS JOIN tempdb."DBO".t102233_D3053059586F47ADB25933844430676A T3 WHERE ((T1.PARTITION=?) AND (T1.DATAA"

    I also got this one;

    09/03/15 08:49:02 am:
    Stopped (error): Cannot insert multiple records in Vendor invoices (VendInvoiceInfoTable). The record already exists.

    I don't know if what the cause is. I made the node b4 it an automatic approval.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans