Hi everyone! I'm new here so don't know where to s...
# general
j
Hi everyone! I'm new here so don't know where to search this. I did a cursory search in your website without results. I'm trying to deploy (2) custom forms (using SDF in Webstorm and/or VSCODE) and getting the following errors:
Copy code
*** ERROR ***

Validation of account settings failed.

An error occured during validation of Custom Objects against the account (custform_pms_bill_payment)
Details: The mandatory value of the [scriptid=custbody_fam_lp_company] field object cannot be modified.
Details: The mandatory value of the [scriptid=custbody_fam_lp_startdate] field object cannot be modified.
Details: The mandatory value of the [scriptid=custbody_fam_lp_rentalfreq] field object cannot be modified.
Details: The mandatory value of the [scriptid=custbody_fam_lp_term] field object cannot be modified.
Details: The mandatory value of the [scriptid=custbody_fam_lp_annualrate] field object cannot be modified.
Details: The mandatory value of the [scriptid=custbody_fam_lp_enddate] field object cannot be modified.
Details: The mandatory value of the [scriptid=custbody_fam_lp_rightofuse] field object cannot be modified.
Details: The mandatory value of the [scriptid=custbody_fam_lp_leaseliability] field object cannot be modified.
Details: The mandatory value of the [scriptid=custbody_fam_lp_intexpense] field object cannot be modified.
File: ~/Objects/custform_pms_bill_payment.xml

An error occured during validation of Custom Objects against the account (custform_pms_project_bill)
Details: The mandatory value of the [scriptid=custbody_fam_lp_company] field object cannot be modified.
Details: The mandatory value of the [scriptid=custbody_fam_lp_startdate] field object cannot be modified.
Details: The mandatory value of the [scriptid=custbody_fam_lp_rentalfreq] field object cannot be modified.
Details: The mandatory value of the [scriptid=custbody_fam_lp_term] field object cannot be modified.
Details: The mandatory value of the [scriptid=custbody_fam_lp_annualrate] field object cannot be modified.
Details: The mandatory value of the [scriptid=custbody_fam_lp_enddate] field object cannot be modified.
Details: The mandatory value of the [scriptid=custbody_fam_lp_rightofuse] field object cannot be modified.
Details: The mandatory value of the [scriptid=custbody_fam_lp_leaseliability] field object cannot be modified.
Details: The mandatory value of the [scriptid=custbody_fam_lp_intexpense] field object cannot be modified.
File: ~/Objects/custform_pms_project_bill.xml
Not sure what to do here. If someone can point me in the right direction or to documentation I can read, that'd be great! Thanks!
g
You should Check the config field to make sure it is not set as mandatory. You may need to provide a value. Also in some cases certain fields in NetSuite are protected and cannot be modified directly. Could also be a permission issue, but prob not ( user account or role you are using may not have sufficient permissions to modify the field .
j
Hi @Gregory thanks for that. What do you mean by "check the config field"? Not sure I follow. When I look at the form config in NetSuite, I see this (check red boxes in snapshot below). I cannot check or check the columns in these fields so I think they're protected (not sure by what). I'm modifying the form as "Administrator" and doing all SDF operations as an "Administrator" so not sure what I'm missing. It's not like I'm missing a permission and I'm not modifying the MANDATORY value in config of any of these fields as they're blocked in UI to begin with. I cannot even copy the form using the "Copy to Account" facility.
Some of the fields for which the MANDATORY column is blocked from editing in the UI don't throw this error when deploying the project. All the errors thrown are tied to the FAM (Fixed Asset Module) fields. Does this help?