indikad wrote:Hi Scott,
this works as it is.
I am however trying to figure out how to specify the warehouse that the stock needs to be transferred to - ( rather than the default ).
Can you show me how pls ?
also I need to specify the Transfer reason and this seems to be a read-only field ( hope you can show me a code sample there too )
The Stock Transfer business logic object has a property named LogicalWarehouseResidingIn - which is an entity of type JiwaApplication.Entities.LogicalWarehouse - you need to call the ReadRecord on that after creating the business logic object.
The transfer reason is read-only because - again - it is an entity, of type JiwaApplication.Entities.StockTransferReason - use the ReadRecord method of that class to set it.
Also, your question is really beyond the scope of the sample provided - you should really make your own threads next time to give the proper context - doing so would assist others in the future doing searches for that specific problem. E.g.: "How do I set the warehouse when creating a stock transfer?" and "How do I set the transfer reason for a stock transfer?".