tford wroteEach BO automatically has an ID attribute included that uniquely identified each instance.
I'm sure as I'm reading user guide (I'm in page 111 now), I will eventually get answer to the following question. But here is my question:
Note: All of the items in the item table belong to many companies and each item as an attribute of CompanyID that identifies it which company it belongs to.
Do we have access to this ID?
Let's say an Employee belongs to a company. They are linked as (Parent being company, and child being employee).
When Employee logs in, at the Login event, can I get Employee.ComapanyID so I can store in a Global variable?
And after the EmployeeID is stored and employee does a Query on the items with Red Color I can say:
Find all the items that it's color is Red and it's companyID is equal to GlobalCompanyID. And it will only find items for this company that are red.