Attaching a Report to the Entity pointing to the Document

To create a document successfully, the user needs to create a report type ''document'' where a report item will be added.

  1. Open FintechOS Studio.
  2. Click the Main Menu icon at the top left corner.
  3. Click Evolutive Data Core > Data Model Explorer. The Business Entities List page appears.
  4. Search for the entity the user wishes to attach the document to. Double-click the entity to open its configurations.
  5. Navigate to the Data Model where the attributes are.
  6. At the top of the grid, click Insert.
  7. Fill in the fields for the attribute where the documents will be stored.
    FieldData typeDescription
    NameTextInsert a suggestive name.
    Attribute typeOption setSelect from the from-down list, the File type.
    Display nameTextInsert a suggestive name.
    DescriptionText AreaInsert a suggestive description.
    TooltipText AreaInsert a message to be rendered on the field when hovering over it.
    Table column nameTextThis field is automatically filled in.
    Restrict files numberBooleanIf true, then the number of files to be stored here is restricted to a specific number, e.g. 10578 documents.
    Maximum number of filesWhole numberIf the boolean from above is true, insert the number here. If false, ignore this field.
    Required LevelOption set

    Select where this attribute is required in a data form:

    • none
    • recommended
    • required.
    Is readonlyBooleanIf true the field cannot be modified.
    Is securableBooleanIf true, only the specific security roles are allowed to see it. For details, see Creating Security Roles.

  8. Click Save and Close.
  9. Navigate to Analytics.
  10. Select Reports. The Reports List page appears.
  11. Click Insert. The Add Report page appears.
    FieldData typeDescription
    NameTextInsert a suggestive name.
    Display nameTextInsert a suggestive name.
    ScopeOption setSelect Entity.
    TypeOption setSelect Document.
    EntityLookupSelect the entity where the user inserted the attribute - type file.
    Output methodOption setSelect attach to entity.
    Destination fieldTextInsert the name of the attribute- type file- created earlier.
    Destination File NameTextIt is the name of the folder in the server where the document will be downloaded.
    Report Document TypeOption setSelect PDF.
  12. Click Save and reload. The Edit report page displays.
  13. To match the documents processor with the report, navigate to the Report items grid. Click Insert to add an item.
  14. The page Add Report item is displayed. Fill in the following fields:
    FieldData typeDescription
    Name

    Text

    Insert a suggestive name.
    Start dateDateSelect the date when the report item will start.
    End dateDateSelect the date when the report item will end.
    Report documentLookupSelect from the list the document template created in this automation processor.
    Is defaultBooleanIf the boolean is true, then the document template will be the default one for this report.
    ReportLookupIt is automatically filled in with the name from the report.
  15. Click Save and close.