when Tools>options>development>execute business operations in CIL is checked,product receipt posting is not happening at all , when I post product receipt in a PO
But, when unchecked product receipt works fine
Also tried generating full CIL,still it is not working
Keeping it unchecked in a production environment is not suggested. The batch jobs run on CIL and you are not using the benefit of IL code. You need to check why executing your code in IL generates the error and fix it rather than unmarking it.