Skip to main content
Question

Scenario to move an item from one discount sequence to another

  • February 24, 2026
  • 2 replies
  • 30 views

plambert
Semi-Pro II
Forum|alt.badge.img+3

I would like to do two things with one scenario, but I cannot get it to work for multiple records. The first record works fine, but all the others error with the message “The system failed to commit the Items Row”. 

We have multiple discount sequences “5” and “10” within a code “SALE”, which mark items as 5% or 10% off; nothing complicated. Some items got put into the 5 sequence that should have gone into the 10 and I would like to use an import scenario to remove them from one and add them to the other. Yes, I can do this as two different scenarios, but it seems like something that should be manageable all at once.
 


It seems straightforward enough: go to one sequence, lookup the item with @@InventoryID and remove it, then go to the second sequence (same discount code) and add it. Oddly, it wasn’t working when I had a ‘<Line Number> = -1’ action to add the item to the second sequence. I can’t reset the InventoryID key in the second sequence; it just merges with the first key line.
Thank you for any insight you can provide,​​

2 replies

KrunalDoshi
Jr Varsity II
Forum|alt.badge.img
  • Jr Varsity II
  • March 5, 2026

Hi ​@plambert,

I do not think you can achieve adding and deleting the Items for different Discount Sequence Items in the same Import Scenario. Your scenario looks perfect, but technically it will delete the data and add it again. In my opinion you need to create a separate Import Scenario for separate actions, unless you write some custom data provider to take care of this.

Hope this is helpful!


MissyMain41
Jr Varsity I
Forum|alt.badge.img
  • Jr Varsity I
  • March 5, 2026

I also agree this should be done with 2 imports, 1 to remove and 1 to add, for each record. 
However, as a side note I also wanted to mention that there is a misconfiguration on this import config as well, just in case it makes any kind of difference for what you are trying to accomplish 
Image: