Fixed wrong allocation when purchase receipt allocation is added via API

Purchase To Pay: Purchase Order Version 9.36

Earlier, when purchase receipt allocation was added via API, the system created an extra allocation line causing wrong allocated quantity. This has now been fixed.