How can we add data in all the user-defined fields present in Deposit module.
We already used the process of adding data for the Sales Order UDF Shipping. It's working for the Sales Order.
oDocuments.UserFields.Fields.Item("U_Shipping").Value = "UPS";
Our Code below returns error such as Unknown Field when it comes to Deposit
oDeposit.UserFields.Fields.Item("U_PreparedBy").Value = "Jack";
Thanks.