Hi guys - I want to do some stocktaking and reconcilation automatically using the DI API.
I can do the stocktaking - but is there any way of doing the reconcilation without having to ask the user to do it in the SAP Business One userinterface.
--- STOCK TAKING
SAPbobsCOM.StockTaking stockTaking = (SAPbobsCOM.StockTaking)SapConnection.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oStockTakings);
stockTaking.ItemCode = ITEMCODE;
stockTaking.WarehouseCode = WAREHOUSECODE;
stockTaking.Counted = COUNTED;
int retVal = stockTaking.Add();
--- NOW - HOW TO MAKE IT HIT THE GL!?
Regards,
Allan