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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

LogisticsPostalAddress table connection form without Valid Time State control.

(4) ShareShare
ReportReport
Posted on by 58
Hi,
 
The VendPackingSlipJour form has a DAX_DeliveryAddress field available, which is connected to the LogisticsPostalAddress table with the following relation.
Display on form grid
The address to be displayed has expired, and despite the RecId reference, the LogisticsPostalAddress connection does not return any results.
 
The LogisticsPostalAddress table is controlled by Valid Time State.
How can I specify that the following should be valid for the ReferenceGroup field here?
validTimeStateAutoQuery(ValidTimeStateAutoQuery::DateRange);
validTimeStateDateTimeRange(utcMinDate, utcMaxDate);
 
Thanks in advance
 
Categories:
I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    303,105 Super User 2026 Season 1 on at
    Hi,
     
    Do you have the LogisticsPostalAddress table also as a data source on this form? If so, you can manage the Valid Time State setting via the data source properties or via X++ coding.
  • LH-16011234-0 Profile Picture
    58 on at
    Hi,
     
    It is not added as a data source in the form, and I wanted to avoid this solution.
     
    Regards,
  • Verified answer
    Diego Mancassola Profile Picture
    628 on at
    Hello, as suggested by André, the first solution is of add a Data Source on the form, and control the valid time state using the standard property, and also from x++. This is the best in my opinion.
     
    But, another solution can be a display method, witch can do the same thing by a little piece of code.
    In this case a simple query can return you the address.
     
    Hope these suggestion can be a solution for you.
     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 590 Super User 2026 Season 1

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 309

#3
Diego Mancassola Profile Picture

Diego Mancassola 263

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans