Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Suggested answer

Defaulting One-time address toggle to Yes

(1) ShareShare
ReportReport
Posted on 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
    Martin Dráb 230,900 Most Valuable Professional on at
    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
    Edmund Fearon 31 on at
    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
    Kevin Xia Microsoft Employee on at
    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
    Ramit Paul 22,313 Most Valuable Professional on at
    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
    Layan Jwei 7,673 Super User 2025 Season 1 on at
    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
    Martin Dráb 230,900 Most Valuable Professional on at
    Defaulting One-time address toggle to Yes
    This isn't SalesCreateOrder form. It's LogisticsPostalAddress.
  • Layan Jwei Profile Picture
    Layan Jwei 7,673 Super User 2025 Season 1 on at
    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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,074 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,900 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans