Below is the code which I’m using to reserve / un-reserve an item, but when I’m executing this code through a job I’m getting the info message as "The cursor is invalid for instantiating recordViewCache. "
inventMovement = InventMovement::constructNoThrow(_buffer,_inventMovSubType);
reservation = InventUpd_Reservation::newMovement(inventMovement,_reserveQty,true);
Is any one knows the reason? Please help me!!!