Skip to main content

Notifications

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

  • Community Member Profile Picture
    on at
    RE: AX 2012 - how to make invoice date required for a new vendor invoice

    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.

  • SteveF Profile Picture
    210 on at
    RE: AX 2012 - how to make invoice date required for a new vendor invoice

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

  • SteveF Profile Picture
    210 on at
    RE: AX 2012 - how to make invoice date required for a new vendor invoice

    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.

  • Verified answer
    Sachin Ahuja Profile Picture
    360 on at
    RE: AX 2012 - how to make invoice date required for a new vendor invoice

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

  • Verified answer
    dolee Profile Picture
    11,279 on at
    RE: AX 2012 - how to make invoice date required for a new vendor invoice

    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

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >

Featured topics

Product updates

Dynamics 365 release plans