Amith,
I agree with stone and glenn, please describe what you are selling and why you don't want to consider account keys in G/L account determination?
I had a similar requirement, in the process there was only price (no discounts, taxes, freights) because of was "booking process" (or advance payment process)
TW