Skip to Content

How do i access InventoryPostingLine.UserFields?

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;

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers