I have a problem with the ATP. I have to load sales orders in the new system via a LSMW program. That program creates full sales orders (it doesn't add items in VA02). The loading data in the old system is:
Sales order Item Quantity Creation date Delivery date
1 10 10 m 1/06/10 1/7/10
2 10 5 m 1/06/10 1/7/10
1 20 5 m 2/06/10 1/7/10
There is 15 m in stock, so the third line has no availability.
But in the new system the order of the creation date of each item is different, so the way each item takes the availability is different also. In the example above, the program will create firstly sales order 1 (with both items), and then sales order 2, so the one without availability will be the line 2. Is it possible to stablish a way of modifiying the priority when assigning stock availability?