#Arctic

1 messages · Page 1 of 1 (latest)

heavy shoalBOT
hushed lagoon
north hawk
#

ok but its impossible to delete prices too, so its impossible to delete products with prices attached to them? O.o

hushed lagoon
#

pretty much yes, you can just ignore things you don't use really

#

the point of not allowing these to be deleted is because you might have historical payment and invoice objects that refer to those Prices/Products and you need to be able to access/report on them

north hawk
#

Oh okay i see

#

ok but im building a UI for my company to handle products and need to display products+prices and be able to delete old products for example

#

so i should be archiving old products and dont display archived products i suppose

#

or use a seperate database

hushed lagoon
#

sure, both those work(archive things or just have the list of products/prices you are actually using in your database)

north hawk
#

alright, thank you!

#

one more question

#

in the product object, which key+value pair is responsible for the producted being archived?

#

active?