cancel
Showing results for 
Search instead for 
Did you mean: 

How do i access InventoryPostingLine.UserFields?

sg2707
Participant
0 Kudos

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;

Accepted Solutions (0)

Answers (0)