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

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

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

(1) ShareShare
ReportReport
Posted on by 9
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
 
I have the same question (0)
  • Suggested answer
    Jonas "Jones" Melgaard Profile Picture
    4,894 Most Valuable Professional on at
    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.
  • Raj Borad Profile Picture
    1,413 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.
     
     
  • Layan Jwei Profile Picture
    8,097 Super User 2025 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
  • Layan Jwei Profile Picture
    8,097 Super User 2025 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
  • Adis Profile Picture
    6,027 Super User 2025 Season 2 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

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Martin Dráb Profile Picture

Martin Dráb 683 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 563 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 398 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans