FIX: createSale.js abides by new parser API

This PR fixes a critical bug that blocks the createSale module from creating new sales.