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)

Free Text Invoice Workflow

(0) ShareShare
ReportReport
Posted on by 965

Hi,

I have setup a workflow to process Free Text invoices in a specific company, it's fine and working.

If I move to another company and create a Free Text Invoice the "post" button is greyed out for all new invoices. It seems because of the WorkFlow I've created in the other company. There's a field in the CustomerInvoicetable, Workflow Status, that it's being initialised with "draft" value by default (It didn't happen before).

Does it mean that if I create a workflow for a process in one company I have to do it as well in all other companies?

*This post is locked for comments

I have the same question (0)
  • Jonathan  Halland Profile Picture
    11,310 on at

    Hi Javier,

    I can't replicate your error precisely in our environment, but the code looks to supporting your theory even though it shouldn't be that way.

    I've found a related error when trying to import WF configurations into two different companies and the importer says the workflow already exists even though nothing displays in the form.

    Depending on your skillset, you can either create an automated workflow that just auto-approves the req, or possibly modifiy code in the CustFreeInvoice form around line 99.

  • Community Member Profile Picture
    on at

    Hi

    Did you find a solution to this problem? I have the same issue. We are on R3.

    Best regards

    Anja

     

  • Suggested answer
    Jonathan  Halland Profile Picture
    11,310 on at

    Hi.

    To fix this bug in R2 you need to modify the form "CustFreeInvoice", Datasource "CustInvoiceLine" in method "written". Line 92 has a select statement to find the active workflow configuration. Microsoft has added an additional condition to this statement to include the dataArea as a filter. So simply add "&& workflowTableFieldList.DataArea == curext()" to the select.

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