I am doing configuration for a pesticide company. Product is sold in batches and credit check is required. One of the pricing components (VAT) is to be calculated from the batch characteristics stored during GRN. We have activated pricing in deliveries to capture the batch related information. Now a single line may have 4-5 batches which come under the delivery line item. The prices are captured for each batch at those batch-split lines and not at the delivery line item level. This is not letting the delivery go for a credit check. Only if the original delivery line item is given a qty (for delivery) and a price, then it goes for credit check. However all the qty is to be captured at the batch split level.
How can we ensure that all the batches having different prices, be summed up to get a total price which goes for credit check?
Any help will be appreciated