on 11-04-2016 8:34 AM - last edited on 02-04-2024 6:59 AM by postmig_api_4
I am trying to create A/R invoice in SAP Business One via Jco.
https://answers.sap.com/questions/50050/item-number-is-missing-specify-an-item-number-inv1.html
But I can't find a way to set user defined field.
Is there any solution?
Hi Hao,
I usually work with SDK and C#, but I saw some sample codes with Jco. Did you try something like this:
invoice.getLines().getUserFields().getFields().item(java.lang.Object aIndex).setValue(java.lang.Object aValue)
At the parameter aIndex you can provide a string with the name of your udf field like "U_yourfield".
Hope it helps.
Kind Regards,
Diego Lother
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.