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

Notifications

Announcements

Community site session details

Community site session details

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

SOP Blank History Invoice Form - rw_SelectAddrLine

(0) ShareShare
ReportReport
Posted on by 22
Good Afternoon Everyone,
I’m a bit confused about how to correctly add Address 3 to the form.

Currently, the form uses calculated fields with the rw_SelectAddrLine function for the Bill To address lines:

Bill To Address Line 1
Bill To Address Line 2
Bill To Address Line 3
Bill To Address Line 4

Each line is using the same FUNCTION_SCRIPT(rw_SelectAddrLine1 …) logic pulling from:

Bill To Address Line 1 = FUNCTION_SCRIPT(rw_SelectAddrLine1""RM_Customer_MSTR_ADDR.Address 1RM_Customer_MSTR_ADDR.Address 2""""RM_Customer_MSTR_ADDR.CityRM_Customer_MSTR_ADDR.StateRM_Customer_MSTR_ADDR.ZipRM_Customer_MSTR.Country
Bill To Address Line 2 = FUNCTION_SCRIPT(rw_SelectAddrLine1""RM_Customer_MSTR_ADDR.Address 1RM_Customer_MSTR_ADDR.Address 2""""RM_Customer_MSTR_ADDR.CityRM_Customer_MSTR_ADDR.StateRM_Customer_MSTR_ADDR.ZipRM_Customer_MSTR.Country
Bill To Address Line 3 = FUNCTION_SCRIPT(rw_SelectAddrLine1""RM_Customer_MSTR_ADDR.Address 1RM_Customer_MSTR_ADDR.Address 2""""RM_Customer_MSTR_ADDR.CityRM_Customer_MSTR_ADDR.StateRM_Customer_MSTR_ADDR.ZipRM_Customer_MSTR.Country
Bill To Address Line 4 = FUNCTION_SCRIPT(rw_SelectAddrLine1""RM_Customer_MSTR_ADDR.Address 1RM_Customer_MSTR_ADDR.Address 2""""RM_Customer_MSTR_ADDR.CityRM_Customer_MSTR_ADDR.StateRM_Customer_MSTR_ADDR.ZipRM_Customer_MSTR.Country
 
Here’s what’s happening:

If the address card has a value in Address 1 and no value in Address 2, everything works correctly:
Address Line 1 = XXXXX
Address Line 2 = City, State, Zip
Address Line 3 = Country

However, if Address 2 has a value, the Country no longer prints:
Address Line 1 = XXXXX
Address Line 2 = YYYYYY
Address Line 3 = City, State, Zip

I’m not fully understanding how the rw_SelectAddrLine function determines which fields print on each line. I’ve searched online but am still unclear on the logic.
 
Our goal is for the form to display:
Address 1
Address 2 (if there is a value)
Address 3 (if there is a value)
City, State, Zip
Country
 
If anyone can help clarify how rw_SelectAddrLine works and how we can properly include Address 3, I would really appreciate it.
Thank you.
 
 
Categories:
I have the same question (0)

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…

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... 663 Super User 2026 Season 1

#2
Abhilash Warrier Profile Picture

Abhilash Warrier 289 Super User 2026 Season 1

#3
Martin Dráb Profile Picture

Martin Dráb 232 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans