Skip to Content
0
Former Member
Nov 27, 2009 at 08:13 AM

Create draft for Stock Trasfer

97 Views

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.