this is something that not well documented in SBO, it took me several hours to look at Google and can't find anything about it. Thank God friend of mine got answer for this one.So the Sympton is something like this, u need to make Inventory Transfer for Batch Item and Serial Item in one single Transaction so the Transaction is the combination of it. ex in detail lines:
see u
1. Serial Item. When u reach this code
2. Batch Item
3. Batch Item
4. Batch Item
5. Serial Item
6. Serial Item
oStockTransfer.Addit will return an error "Internal Error (-5002) Occured". This is because ur details is not in order, meaning u need to order the line with combination of Batch first then Serial or Serial first then Batch so be careful with this thing :D
see u
Comments