Skip to Content
0

How do i access InventoryPostingLine.UserFields?

Jan 25, 2017 at 12:28 PM

28

avatar image

Hi. I have created an UDF called U_SI7_DutyPaidJrnl in Inventory Posting line level.

When I was trying to access my UDF, it gave an error saying "Invalid field name".

Then I checked UserFields.Count and it returned 0.

What's the problem? Please help.

Below is my code:

string value=((SAPbobsCOM.InventoryPostingLine)oInventoryPosting.InventoryPostingLines.Item(0)).UserFields.Item("U_SI7_DutyPaidJrnl").Value;

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

0 Answers