User bio
404 bio not found
Kyiv, Ukraine
Member since Feb 16, 2016
Replies:

In this case, create three classes as stated above. Compile them. Than change the superclass for tempPersistentClass to %Persistent and delete it from the other 2. This way you will still have the separate storage for the Customers and Suppliers, but you will also get the separate storage for temp class.

Or I think you can set up the storage for classes manually. but this will be harder.

If I understand your questions correctly, you want to store Customers and Suppliers separately. If you don't need to store tempPersistentClass as well, you can just do the following:

Class tempPersistentClass
{...}

Class Customers Extends (%Persistent, tempPersistentClass)
{...}

Class Suppliers Extends (%Persistent, tempPersistentClass)
{...}

In this case Customers and Suppliers will have their own globals (^CustomersD and ^SuppliersD) each and not use the storage from tempPersistentClass.

Open Exchange applications:
Certifications & Credly badges:
Followers:
Following:
Iryna has not followed anybody yet.