when the order record is created like go to order object, then click new , then when order page comes, status field should have default status Submitted there. I tried but I dont see any default section to make this value default. Could anybody help me . Thanks in advance. enter image description here

  • hi edit the particular picklist value which you want to make it as default. there you get that option. – Safiya PV Mar 31 '17 at 17:33
  • yea for Order Status that option is not there :) – Safiya PV Mar 31 '17 at 17:37
  • Yes, you are correct. – SFlast Mar 31 '17 at 17:46

Default values are not available for some picklists. You would have to resort to one of the standard workarounds, including URL hacks, Visualforce page overrides, etc.

  • Thanks . Can I do URL hacking in NEW standard button of order object ?If I want to URL hacking , then I am not getting Id of the status field, once I go to inspect, it is giving Id=status. – SFlast Mar 31 '17 at 17:49
  • one question, what is the purpose of Status Category in this pick list ? Could you please help me to understand . Thanks – SFlast Mar 31 '17 at 17:54
  • 1
    Make the following Visualforce page in your org: <apex:page standardController="Order" action="{!URLFOR($Action.Order.New, null, [status='Draft'], true)}"> </apex:page> then override the New button in Setup > Customize > Orders > Buttons and Links. This hack does not work in Lightning, so users will need to be in Classic until some sort of support is added. – sfdcfox Mar 31 '17 at 17:55
  • @SFlast The category type is like a built-in record type setting. You can only select a draft status while it's a draft, and an activated status upon activating the order (which limits the ability to edit the record or its line items). – sfdcfox Mar 31 '17 at 17:57

You must click in the Edit Action link (one by line). Into that, there is a check box called Make this value the default for the master picklist

  • Thanks, but there is no column of option for making it default. – SFlast Mar 31 '17 at 17:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.