dear sir many thanks for your answer ...this cam from wrong condition bas value calculated in the REBATE AGREEMENT WEHER THE CONDITION BASE VALUE IN THE INVOICE IS X AND IN THE REBATE AGREENENT IS 3X
the problem is not if the goods returned or not... the problem is that i want use two different type of discount both are 100% according to item category and during posting invoice every one must be created in different gl accountregarding returning ...