Hi all, I'm scripting the creation of inventory adjustments to help with a project where were are swapping existing Inventory items for Matrix items.
My plan is to feed the script a dictionary of all the items that need replacing and their replacement items. The script will then search for all the inventory that is available in bins and swap them around by adjusting the old ones out and the new ones into the same bin they came out of.
Currently however I'm having issue with building the Inventory Adjustment and am getting the error: You have entered an Invalid Field Value Orbit Line Markers : .21LMBK for the following field: item
This suggests to me that when trying to select the items, it's not able to select it based on the name I have given it. I have tried using this and just the name/number of the item to no available. Does anyone have suggestions?
Here are my two attempts using the different item naming types.
Here is the item as it appears when building an IA manually:
I have also attached my script for reference. Currently it is using the full parent + child name as these items I'm trying to move are setup as sub-items.
I'm going to try in the mean time
using the internal ID's of the items if that's possible.
Would appreciate your suggestions, thanks!