In the "Raise Direct Invoice" page itself, GRN will be done automatically by the system base on 3 types of quantities, 1- Invoice QTY, 2- Accepted QTY and 3- Rejected QTY. which has to be filled. For GRN system will consider accepted QTY only and accordingly inventory register will be updated based on accepted QTY.