Hi all,
I need to compute some document total values and save them on UDFs defined on Sales Order Header document, when the user adds a new order line.
However I must not allow the user to change them (or see them). Also, there are other UDFs on the Sales Order Header that the user must be allowed to change...
Is there any way to control this? If I set a UDF as not 'Active', I cannot change its value with programming.
I'm using the following command to change a UDF value on the Sales Order form:
Form form = B1Connections.theAppl.Forms.GetForm("-139", pVal.FormTypeCount);
EditText et = (EditText)form2.Items.Item("U_TotalTax1").Specific;
et.Value = "10"; // this raises an exception "Form item is not editable"
Is there any other way to change this UDF contents (maybe with datasources? etc)
Thanks all,
Manuel Dias