Inventory data in a google sheet is refreshed from an inventory extract of the company’s main system.
The app project records cannot find the relationship it had to the inventory from the previous refresh.
Same product codes and same product name – just a bulk refresh – same google sheet, but deletes all the rows below row1 header row - then imports the new data from the extract.
@Mary_Jane_Pender as Reza indicated, look at how you’ve set up the keys for the tables. When data is re-exported into the sheet, the keys for rows should not change. APpSheet doesn’t keep references to specific rows. It just computes them on the fly from the values of keys (which is why a Ref column holds key values)
You should be able to do that. Your app doesn’t create any hidden “ref rules” behind your tables. By any chance that you have the option “Delta Sync” ON?
Assuming the balance of inventory is in a separate sheet (AppSheet table) than the products table, you should not have any issues; the worst thing that would happen could be the inventory having a newer/older version than products table, therefore the balance exists in the inventory table, but the item still doesn’t exist on the list of products, or the other way around.
Reza, the app picks up the product name from the inventory table, so when they refresh the inventory table it is like the the app records can’t find the product record in the inventory any longer – and I guess that would be true.
Appsheet has
created a relationship with the inventory record that is now been deleted .
And that is the problem I find myself with.
The order/Project records now shows a number of related records to the order and the they all have the little orange/yellow triangle beside the product name in the order – can’t find the original record.
The yellow triangle indicates orphaned records that exist on many side of the relationship, but missing from the one side; if the app picks up product name from the inventory table, then you are currently also using that table as products table; it definitely has to contain a unique ID as Key that never changes, then the order/project tables should also refer to product via that Key value and Ref columns. This model should be safe. No need to grasp at straws! if you need more help, you have got my email; just send me the column structure, or share the app definition with me, and I will take a look.