-1

I am able to set String value to UDF using JCO like below.

invoice.getLines().getUserFields().getFields().item(java.lang.Object aIndex).setValue(java.lang.Object aValue)

But it is not working for date type UDF like (Purchase date, Payment Date).

Is there any way to do it?

Sandra Rossi
  • 11,934
  • 5
  • 22
  • 48
Anup Ganatra
  • 366
  • 1
  • 6
  • 23

1 Answers1

0

You have to use this format yyyyMMdd.

Beqa Latsabidze
  • 212
  • 4
  • 12