Client field on Order section

Hi,

On Order section there is a OOB lookups field called "Client". On click we can select either Account or Contact because both list are appearing for selection.

By default the field "Client" is a mandatory field. From section wizard > Edit Page, This field is not removing and we cannot make it non-mandatory. I need to avoid this field.

 

Any help will be highly appreciable

 

Regards

Like 0

Like

2 comments

Dear Muhammad,

There is a part of code in OrderPageV2 in Order package that looks like:

                    "Client": {

                        "caption": {"bindTo": "Resources.Strings.Client"},

                        "dataValueType": this.Terrasoft.DataValueType.LOOKUP,

                        "multiLookupColumns": ["Contact", "Account"],

                        "isRequired": true

                    },

isRequired attribute makes this field required and to make it non-mandatory you need to create a replacing schema and add your logic that will make this field non-mandatory.

Best regards,

Oscar

Hi,

Yes I already found it however thanks

 

Regards

Show all comments