HI,
I am trying to change value for "TrackNo" item on the sales invoice form just before create a sales invoice,
I have the following code:
Dim oForm As SAPbouiCOM.Form
Dim oItem As SAPbouiCOM.Item
Dim oEdit As SAPbouiCOM.EditText
Dim periodo As String
Dim sf As String
Try
oForm = Nothing
oForm = entorno.Forms.Item(FormUID)
oItem = oForm.Items.Item("251")
oEdit = oItem.Specific
oEdit.String = "Y"
Catch
End Try
It seems to work only If i have selected the logistics folder ( the folder where the "TrackNo" Item is located)
If I have selected another folder as "contents" or "Accouting" when I create the document it fails.
Can you help me with this problem?
Many Thanks