Creating purchase receipt with batch/expiry date failed if the last line in receipt does not require batch/tracking info

API Version 10.10

Earlier, POST purchasereceipt-endpoints with batch/expiry date was failing if the last line in receipt did not require batch/tracking info. This has now been fixed.