Hi Guys, I need some advice from you on one of my projects. So, this is a cataloging app being developed using frappe framework.
Concept:
There are few masters: Item Type Master, Item Master, Attribute Master and Serial Number.
Item Type Master: This tells the type of item say, gold or silver etc.
Attribute Master: defines all possible attributes such as weight, width, height, length, volume etc. These is a exhaustive list of all the attributes and all of them may not be assigned to the items.
Item Master: defines and item with item name, say, plate or idol. Here plate may have diameter and weight as attributes and idol may have volume, weight and dimensions as an attribute.
Serial Number: this is a singular unit of the item as every instance of item will be unique.
Everything should be configurable for end user. Such as adding new attributes and assigning to one of the records of item doctype.
Now, I have a two part question:
-
How can I create new database for every record in item doctype? Is it even possible? I am afraid as I will have around 1 million serial numbers and having it in the same table ta serial Number will not be a good idea.
-
If not possible, how can I utilise attributes assigned to each item?
Any suggestions will be of much help.