Skip to main content
Post a question

Notifications

Community site session details

Community site session details

Session Id : eCeyTnLFdd2e3RW+m4fSvN
Finance | Project Operations, Human Resources, ...
Suggested answer

Defaulting One-time address toggle to Yes

Like (1) ShareShare
ReportReport
Posted on 14 Sep 2023 05:08:25 by 31
Hi all,
 
My organisation has a Customer account for which a large number of Sales orders are created with single use addresses. We don't want any new addresses saved against the Customer account, but are finding that a very large number are because users are forgetting to toggle it to Yes.
 
Is it possible to set the One-time address toggle to default to Yes rather than No? This is found in the New address screen, accessed from Create sales order. 
 
 

 
  • Martin Dráb Profile Picture
    232,552 Most Valuable Professional on 18 Sep 2023 at 05:28:57
    Defaulting One-time address toggle to Yes
    I don't believe it can be done without a customization. In theory, record templates (not saved views) could be an option, but there is already code changing the value of this field, which you'd need to deal with in some way.
  • Edmund Fearon Profile Picture
    31 on 18 Sep 2023 at 05:00:16
    Defaulting One-time address toggle to Yes
    Thanks guys,
     
    I am looking for a way of achieving this without custom development at this stage. Saving a View did not do the trick.
     
    If there is no option to configure this, I will look at customisation.
  • Suggested answer
    Kevin Xia Profile Picture
    Microsoft Employee on 15 Sep 2023 at 07:01:57
    Defaulting One-time address toggle to Yes
    Hi,
    In addition to the method described by Paul, you can also use custom development to set the default value of this one-time address to Yes.
    Best regards,
    Kevin
  • Suggested answer
    Ramit Paul Profile Picture
    22,446 Most Valuable Professional on 14 Sep 2023 at 09:59:27
    Defaulting One-time address toggle to Yes
    Hi,
     
    Have you tried with the saved view option?
     
    Means, save to "Yes" and save the view as my view, if required you can publish the view to the required people.
     
  • Suggested answer
    Layan Jwei Profile Picture
    7,766 Super User 2025 Season 1 on 14 Sep 2023 at 07:14:45
    Defaulting One-time address toggle to Yes
    Yeah, apologies I mean the Init method of logisticsPostalAddres. I thought it's the "one-Time" customer flag.

    Thanks,
    Layan Jweihan
  • Martin Dráb Profile Picture
    232,552 Most Valuable Professional on 14 Sep 2023 at 06:52:20
    Defaulting One-time address toggle to Yes
    This isn't SalesCreateOrder form. It's LogisticsPostalAddress.
  • Layan Jwei Profile Picture
    7,766 Super User 2025 Season 1 on 14 Sep 2023 at 06:34:24
    Defaulting One-time address toggle to Yes
    Hi Edmund,

    Can you tell us what did you try?

    For example, did you try to create an extension of the "SalesCreateOrder" form, then Add your logic in Init method?



    Thanks,
    Layan Jweihan

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,406 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,552 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans
Loading complete