I cant use the discount in pricing rule and apply to all item groups because in the doctype of pricing rule the item code is mandatory and if i moved the mandatory for the item code in the sales order when i choose the item code non of the items can be shown in this sales order can anyone help