Scenario
When adding a new Customer Deposit via WebServices, users may receive the following error message:
"You do not have permissions to set a value for element account due to one of the following reasons: 1) The field is read-only; 2) An associated feature is disabled; 3) The field is available either when a record is created or updated, but not in both cases."
This error occurs because by default when the record is being created, the Undeposited Funds (undepFunds) field is selected which is a radio button and to enter account value the radio button needs to be toggled when accessing using user interface.
Solution
When using SuiteTalk/WebServices, the user needs to set undepFunds field to False.
Below is the sample Snippet of the XML code:
<account xsi:type='platformCore:RecordRef' internalId='**'/>
<undepFunds xsi:type='xsd:boolean'>false</undepFunds>