Hi all,
I have read various sites, but I do not understand the structure well...There is a customer company entity, and I create a structure that refer to the customer company entity."Structure 1"'s Id is "CustomerCompany Identifier"
Is it correct to think that the attributes of the CustomerCompany entity and the attributes of the Structure are linked?For example, there is a input widget to put employee name , and set DataAction to variable of input widget. Then set "Structure1" to DataType of Output parameter of this DataAction.When an employee name is entered here, is the data reflected in the customer company entity?
Regards,Zamiemon
Hi @Zamiemon U,No, it will not.
Structure is a custom object that can contain variables of type entity identifier and it's not directly linked to the entity fields.
If you want to reflect changes on a database from a input parameter you'll need to send the Customer Entity record to the CreateOrUpdate_CustomerEntity Server Action.Thank you.
Hello Zamiemon U
You can go through this link for more understanding regarding structure https://success.outsystems.com/documentation/11/developing_an_application/use_data/use_structures_and_records_to_create_compound_data_types/
https://www.outsystems.com/forums/discussion/78279/structure/
Regards
Nikhil kumar vijay