I have 36 entries in my database “RouteCard”, and they all have the same “Item Number” but different “Process” where the “Process” is repeated.
It started with the original 6 entries of:
- Item Number: 952x028x190-IGT118 | Process: Spin
- Item Number: 952x028x190-IGT118 | Process: ILA
- Item Number: 952x028x190-IGT118 | Process: IGT
- Item Number: 952x028x190-IGT118 | Process: LWC
- Item Number: 952x028x190-IGT118 | Process: CAF
- Item Number: 952x028x190-IGT118 | Process: Packing
Then each of these were multiplied 6 times, as seen in the screenshot below:
I then have another database called “Spinner Blocks”, where the entries there contain the same “Item Number” as each other and in the database “RouteCard” (as seen above) but each have unique “Shell IDs”.
What I have been trying to do is assign a unique “Shell ID” to every 6 entries in “RouteCard” databases. The 6 entries being the list above. For example:
- Item Number: 952x028x190-IGT118 | Process: Spin | Shell ID: 250507-1-001
- Item Number: 952x028x190-IGT118 | Process: ILA | Shell ID: 250507-1-001
- Item Number: 952x028x190-IGT118 | Process: IGT | Shell ID: 250507-1-001
- Item Number: 952x028x190-IGT118 | Process: LWC | Shell ID: 250507-1-001
- Item Number: 952x028x190-IGT118 | Process: CAF | Shell ID: 250507-1-001
- Item Number: 952x028x190-IGT118 | Process: Packing | Shell ID: 250507-1-001
Then the next 6 entries:
- Item Number: 952x028x190-IGT118 | Process: Spin | Shell ID: 250507-1-002
- Item Number: 952x028x190-IGT118 | Process: ILA | Shell ID: 250507-1-002
- Item Number: 952x028x190-IGT118 | Process: IGT | Shell ID: 250507-1-002
- Item Number: 952x028x190-IGT118 | Process: LWC | Shell ID: 250507-1-002
- Item Number: 952x028x190-IGT118 | Process: CAF | Shell ID: 250507-1-002
- Item Number: 952x028x190-IGT118 | Process: Packing | Shell ID: 250507-1-002
and so forth for each “Shell ID” in the “Spinner Block” database making changes to the “RouteCard” database. So far my API workflow only changes all 36 entries to one “Shell ID”.
How would I go about doing this?
Thanks!