Auto Fill SupannType for supann Composite Attribute
Requirements
Supann Plugin installed
Descriptive title for this enhancement
When adding information in fdSupannRelationEntite ( supann extension) or supannRoleEntite( user's supann tab) the type and supannCodeEntite of one entity is mandatory
Actual behavior
Type and label has been set manually and separatly. In my mind supannCodeEntite and type MUST be coherent and corresponding of the type stored in the structure selected Have to confirm with the Supann guide.
Expected behavior
Type of structure on "role" in user screen and "Relation" in Supann-ext tab should be set up automatically by choosing the structure)
Step by step description of new behaviour
supann structure contain an entity with
- supannCodeEntite = COMPANY
- supannTypeEntite = {ACME}C001
Ex for user supann Role
- choose a role ( ex RESP of supann referential)
- choose the entity COMPANY
- save
The supannRoleEntity field should contains : [role={SUPANN}RESP][type={ACME}C001][code=COMPANY]
Benefits
Supann information more coherent on user screen and supann-ext
Possible Drawbacks
no drawbacks in my mind