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)

AX 2012 - how to make invoice date required for a new vendor invoice

(0) ShareShare
ReportReport
Posted on by 210

Under <legal entity>/Accounts Payable/Common/Vendors/All Vendors, Invoice tab, select New Vendor Invoice.  I would like to make the Invoice date field required.  I've tried to personalize it, and see that it's using the VendInvoiceInfoTable.DocumentDate field.  I tried going directly to that field in the Data Dictionary and selecting Yes under Mandatory in the properties, but when I do that, when I try to create a new vendor invoice, it no longer auto-populates the Invoice Account for the selected vendor and it shows an Infolog message warning with the contents "Field 'Document date' must be filled in."  Any ideas on how to make this a required field would be appreciated.

--Steve

*This post is locked for comments

I have the same question (0)
  • Verified answer
    dolee Profile Picture
    11,279 on at

    Hi Steve,

    You can add code to validate that the DocumentDate field is filled in before invoice posting. One possible location to add such checking would be the VendEditInvoice form. Check that invoice date is filled in when user try to open the "Post" drop down dialog.

    Dom

  • Verified answer
    Sachin Ahuja Profile Picture
    360 on at

    Did you activated the paramter at AP Parameters > Invoice Tab. It will force the user to provide Document date while posting Invoice.

  • SteveF Profile Picture
    210 on at

    More info that I wasn't aware of until today - they are wanting this to be required on save, not on post.  Sounds like adding code on the button click event handler might be the way to handle this.

  • SteveF Profile Picture
    210 on at

    Thanks, that helped - our consultants did activate it and said it should have already been done.

  • Community Member Profile Picture
    on at

    The Help documentation indicates that this field is only available if the company legal entity has a country/region = Italy.  surprisingly, this field shows on the AP Parameters form even if my legal entity countryregion = USA.

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