Scenario: User wants to create a Dropdown list/ Combo Box / Selection column pre-define with ‘Type of Delivery’ in Sales Invoice.
Solution:
- Go to Tools > Customization Centre
- Double click on ‘QNE Optimum’
- Expand BOModel > expand QNEBS.BO.Sales > expand SalesInvoices
- Right click on ‘OwnMembers’ > select ‘Add…’ > Select ‘Persistent’
- Key in as below
- Type = System.String
- Caption = Delivery Type (Optional name to be shown)
- Id = DeliveryType (Optional id in system without space)
- Save and re-login QNE Optimum
- Go back to newly created field
- Set PropertyEditorType = Xpand.ExpressApp.Win.PropertyEditors.StringPropertyEditors.StringLookupPropertyEditor
- Scroll down to Data category, you will notice there are additional setting of ‘PredefinedValues’
- Key in your selection and end with a semi-colon (;)
- Save and re-login QNE Optimum
- Go to Sales > Sales Invoice and drag out newly created Field from Customize layout
- Click on the selection button will be able to view pre-define selection instead of manually key in.
Refer attachment for details