Skip to Content
0

How to set value in date UDF using SAP B1 JCO?

Jan 12 at 01:23 PM

51

avatar image

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?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Anup Ganatra Feb 08 at 07:33 AM
0

I got the solution by passing date in "yyyy-MM-dd" format.

Share
10 |10000 characters needed characters left characters exceeded