Hi Edy,
Thank you for your sugesstion.
You are not wrong. That's my requirement.
I have tried to apply your suggestion but still failed. Would you please give me the example codes for no. 1-3 ?
If I use type field of production BOM (ITT1 table --> type) in my custom form --> row line, how to do that ?
I have tried using this code belows:
Dim Type As String
Type = oBOM.getBOMLine(i).ItemType
If Type = "I" Then
oProdTrees.Items.ItemType = SAPbobsCOM.ProductionItemType.pit_Item
ElseIf Type = "R" Then
oProdTrees.Items.ItemType = SAPbobsCOM.ProductionItemType.pit_Resource
ElseIf Type = "T" Then
oProdTrees.Items.ItemType = SAPbobsCOM.ProductionItemType.pit_Text
End If
but fail. The column is successfully created as udf but it does not appear in my work center routing form.
I also would like to send you my code if you don't mind to check it.
Pls let me know.
Rgds,
Steve