cancel
Showing results for 
Search instead for 
Did you mean: 

Invoice line UDF

Former Member
0 Kudos

How can I insert value in Invoice line UDF?

Accepted Solutions (1)

Accepted Solutions (1)

Nussi
Active Contributor
0 Kudos

via DIAPI:

oInvoice.Lines.UserFields.Fields.Item("U_UDF").Value = "VALUE";

install the SDK and look in the help direcotry - there's the whole diapi documentation

Former Member
0 Kudos

Thanks

With ur help I've solved my problem

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Riya,

first you make that field Editable and Visible true (IN Form Settings)

Then you can assign the value like this

objMatrix.Columns.Item("U_FLDNAME").Cells.Item(0).Specific.Value="ASD"

If you are using DIAPI object

you can use some this like this

objInv.Lines.Setcurrentline(1)

objInv.Lines.userfields.Fields.Item("U_FLDNAME").Value="ASD"

Hope it helps you

Regards

Vishnu

Edited by: Vishnu Kumar Reddy on Jan 18, 2008 11:49 AM