AX 2012 or 2009 change price groups and discounts before invoice

Hi All,

is it possible to change the price groups and discounts groups after making packing slip and before Purchase invoice?

What happens when you try?