Assign a number to an entity instance
Summary
In an entity, create an attribute that assigns a count/number based on the value of another attributeContent
Hello,
I have an entity Bank Accounts with type which can either be Payroll or Non-Payroll. What I want to do is assign a Sequence number attribute to each instance. For example, if the user added a Payroll account, the Sequence for this instance will have a value of 1. If he adds a Non-Payroll account, the Sequence for the new instance will have a value of 1 also since it is the first non-payroll account. The resulting table should look something like this, assuming it only has 3 attributes (acct no, type, sequence):
0