Check the ItemType

Roberto Marra

Hello there,

Im trying to figure it out how to determine the type of an Item, to be more clear I'm in the entry goods and I want to check the Item Type of the DocCur field, because in some cases is a TextEdit Item Type and in someother is a ComboBox Type due to the BP Currency set up.



I tried this code but I got back and error telling me that the Item with the unique ID 63 dosn't exist



[CODE]if (Item.GetFromUID(globalFormEntryGoods, "63").Type.Equals(TextEdit.ItemType.TextEdit))[/CODE]



Any idea how to achive that?



THank you in advance



Saluti

Roberto

Roberto Marra

Sorry to everybody, it works, I was referring to a wrong form, has been a mismatch in my code...



Apologize
0

Comments

0 comments

Please sign in to leave a comment.

Didn't find what you were looking for?

New post