Skip to main content

Notifications

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

Setup default value in parameter field "Quantity" (posting invoice)

(1) ShareShare
ReportReport
Posted on by 5
Hi everyone,
 
Is there a possibility to setup that the field "Quantity" in Parameters has the value "All" by default? Right now when I enter this posting invoice window, the field "Quantity" is empty and I have to choose "All" myself.
 
Thank you & kind regards
 
  • Adis Profile Picture
    Adis 2,428 on at
    Setup default value in parameter field "Quantity" (posting invoice)
    Hey,
     
    As the other contributes said, the last selection is usually remembered. Can you confirm that?
     
    If not, could you try it with the standard view? I see you are using a saved view. Either the saved view saved the entry or it may be messed up when you update on a newer version and not save under a new view.
     
    Kind regards, Adis
  • Layan Jwei Profile Picture
    Layan Jwei 7,347 Super User 2024 Season 2 on at
    Setup default value in parameter field "Quantity" (posting invoice)
    Hi,

    Is your question answered? if yes, then please verify the answers that helped
  • Layan Jwei Profile Picture
    Layan Jwei 7,347 Super User 2024 Season 2 on at
    Setup default value in parameter field "Quantity" (posting invoice)
    Hi,

    I don't think it should be empty by default.

    But in general if you want to default a certain value for one of the fields, then you can do customizations in the "initValue" method of the formDatasource where this field exist. But are u sure u want to change that? because as it was mentioned, it already should have the last value you used.

    Thanks,
    Layan Jweihan
    Please mark this answer as "Verified" if it solved your issue. In order to help others who will face a similar issue in the future
  • Raj Borad Profile Picture
    Raj Borad 494 on at
    Setup default value in parameter field "Quantity" (posting invoice)
    Hi,
    By default it selects the last user selected value in the Quantity parameter at the time of Posting the invoice.
     
    You can do the customization in the SalesEditLines Form for set the value to "ALL" at the time of initialization of the Form.
     
     
  • Suggested answer
    Setup default value in parameter field "Quantity" (posting invoice)
    The normal behavior is for the "Quantity" field value to be stored as the last value entered by the user, which is then used for subsequent runs.
    You should only need to select it once, and then F&O will remember it—unless a customization has been made to the field.
     
    I'm not sure what you mean by the Quantity being empty. Normally, it's not possible to have an empty value.

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

News and Announcements

Announcing Category Subscriptions!

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,359 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,370 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans