Hello,
I have a file which helps me re-allocate quantities received to a warehouse from shops, in order to calculate the reimbursement of shops.
The way it works is that I look at the qty received vs qty declared by shops for each products, this will give me usually an excess, and then reallocate this excess 1 by 1 starting with shop with minimum reimbursement and adding 1qty each time in order in increase the % of reimbursement by shop. I can have more than 100% reimbursement.
The file works well but I want to add a condition: if, for a product, the type=E and difference = 0, then I don't want to add qty to this shop, and continue to allocate qty to other shops.
I don't really see how to do, if someone can help, it be quite appreciated
I have a file which helps me re-allocate quantities received to a warehouse from shops, in order to calculate the reimbursement of shops.
The way it works is that I look at the qty received vs qty declared by shops for each products, this will give me usually an excess, and then reallocate this excess 1 by 1 starting with shop with minimum reimbursement and adding 1qty each time in order in increase the % of reimbursement by shop. I can have more than 100% reimbursement.
The file works well but I want to add a condition: if, for a product, the type=E and difference = 0, then I don't want to add qty to this shop, and continue to allocate qty to other shops.
I don't really see how to do, if someone can help, it be quite appreciated