I am writing the warehouse interface there are tables:
CREATE TABLE "sklad" ( "Name" character varying NOT NULL, "Uint" character varying NOT NULL, "Count" numeric, "Changed" boolean, "OneCID" character varying, UNIQUE ("Name") ) In my architecture there is the possibility of adding new warehouses to the organization, at the moment it is implemented like this: That when registering a warehouse, a new table is created with a new warehouse name. Imagine that at 1 warehouse there are more than 10,000 positions and the number of warehouses is about 2,000. The question arises how best to organize the filling? 1 Warehouse = 1 table. Or 1 The table with the goods and in the rows indicates the name of the warehouse.
CREATE TABLE "sklad" ( "NameSklad" varchar NOT NULL, "Name" character varying NOT NULL, "Uint" character varying NOT NULL, "Count" numeric, "Changed" boolean, "OneCID" character varying, UNIQUE ("Name") ) How is this implemented in 1C? And how to do it right?