[minor] apply pricing rule / price list only if item_code
Merge pull request #1995 from anandpdoshi/anand-july-28

[minor] apply pricing rule / price list only if item_code