Hi all, I have problems making a Draft document of a Stock Transfer using the DIAPI,
The problem is that I can't find the property "FromWarehouse", into the Draft Object.
Code like this
oTransfer = oCompany.GetBusinessObject(BoObjectTypes.oDrafts)
oTransfer.DocObjectCode = BoObjectTypes.oStockTransfer
fromwhscode = "01"
'The following property can't find
oTransfer.FromWarehouse = fromwhscode
Thanks for help.