Skip to content
Snippets Groups Projects
Person_entity.aod 43.7 KiB
Newer Older
S.Listl's avatar
S.Listl committed
<?xml version="1.0" encoding="UTF-8"?>
<entity xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.3.6" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/entity/1.3.6">
  <name>Person_entity</name>
  <description>former Pers</description>
  <majorModelMode>DISTRIBUTED</majorModelMode>
  <documentation>%aditoprj%/entity/Person_entity/documentation.adoc</documentation>
  <title>Contact</title>
  <contentTitleProcess>%aditoprj%/entity/Person_entity/contentTitleProcess.js</contentTitleProcess>
  <afterUiInit>%aditoprj%/entity/Person_entity/afterUiInit.js</afterUiInit>
  <onValidation>%aditoprj%/entity/Person_entity/onValidation.js</onValidation>
  <iconId>VAADIN:USERS</iconId>
  <imageProcess>%aditoprj%/entity/Person_entity/imageProcess.js</imageProcess>
  <titlePlural>Contacts</titlePlural>
  <recordContainer>db</recordContainer>
  <entityFields>
    <entityField>
      <name>DATEOFBIRTH</name>
      <title>Date of birth</title>
      <contentType>DATE</contentType>
      <resolution>DAY</resolution>
      <outputFormat>dd.MM.yyyy</outputFormat>
      <inputFormat>dd.MM.yyyy</inputFormat>
      <onValidation>%aditoprj%/entity/Person_entity/entityfields/dateofbirth/onValidation.js</onValidation>
    </entityField>
    <entityField>
      <name>FIRSTNAME</name>
      <title>Firstname</title>
    </entityField>
    <entityField>
      <name>GENDER</name>
      <title>Gender</title>
      <consumer>KeywordGenders</consumer>
      <valueProcess>%aditoprj%/entity/Person_entity/entityfields/gender/valueProcess.js</valueProcess>
      <displayValueProcess>%aditoprj%/entity/Person_entity/entityfields/gender/displayValueProcess.js</displayValueProcess>
      <onValueChange>%aditoprj%/entity/Person_entity/entityfields/gender/onValueChange.js</onValueChange>
      <onValueChangeTypes>
        <element>MASK</element>
      </onValueChangeTypes>
    </entityField>
    <entityField>
      <name>LASTNAME</name>
      <title>Lastname</title>
      <mandatory v="true" />
      <valueProcess>%aditoprj%/entity/Person_entity/entityfields/lastname/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>MIDDLENAME</name>
      <title>Middlename</title>
    </entityField>
    <entityField>
      <name>PERSONID</name>
      <searchable v="false" />
      <valueProcess>%aditoprj%/entity/Person_entity/entityfields/personid/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>SALUTATION</name>
      <title>Salutation</title>
      <consumer>Salutations</consumer>
      <displayValueProcess>%aditoprj%/entity/Person_entity/entityfields/salutation/displayValueProcess.js</displayValueProcess>
    </entityField>
    <entityField>
      <name>TITLE</name>
      <title>Title</title>
      <consumer>SalutationTitles</consumer>
      <displayValueProcess>%aditoprj%/entity/Person_entity/entityfields/title/displayValueProcess.js</displayValueProcess>
    </entityField>
    <entityField>
      <name>TITLESUFFIX</name>
      <searchable v="false" />
    </entityField>
    <entityParameter>
      <name>OrgId_param</name>
      <expose v="true" />
      <triggerRecalculation v="true" />
      <mandatory v="false" />
      <description>PARAMETER</description>
    </entityParameter>
    <entityFieldGroup>
      <name>NAME_fieldGroup</name>
      <valueProcess>%aditoprj%/entity/Person_entity/entityfields/name_fieldgroup/valueProcess.js</valueProcess>
      <description>FIELDGROUP</description>
      <fields>
        <element>FIRSTNAME</element>
        <element>LASTNAME</element>
      </fields>
    </entityFieldGroup>
    <entityConsumer>
      <name>Activities</name>
      <dependency>
        <name>dependency</name>
        <entityName>Activity_entity</entityName>
        <fieldName>LinkedObjects</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>RowId_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/activities/children/rowid_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>ObjectId_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/activities/children/objectid_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>PresetLinks_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/activities/children/presetlinks_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityField>
      <name>CONTACTID</name>
      <searchable v="false" />
    </entityField>
    <entityProvider>
      <name>OrganisationRelated</name>
      <recordContainer>db</recordContainer>
      <dependencies>
        <entityDependency>
          <name>41952879-c2f0-411f-8ca1-36c38914a629</name>
          <entityName>Organisation_entity</entityName>
          <fieldName>Contact</fieldName>
          <isConsumer v="false" />
        </entityDependency>
      </dependencies>
      <children>
        <entityParameter>
          <name>ContactId_param</name>
          <expose v="true" />
        </entityParameter>
        <entityParameter>
          <name>OrgId_param</name>
          <expose v="true" />
        </entityParameter>
      </children>
    </entityProvider>
    <entityField>
      <name>PERSON_ID</name>
      <documentation>%aditoprj%/entity/Person_entity/entityfields/person_id/documentation.adoc</documentation>
      <searchable v="false" />
      <valueProcess>%aditoprj%/entity/Person_entity/entityfields/person_id/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>ORGANISATION_ID</name>
      <title>Company</title>
      <consumer>Organisations</consumer>
      <linkedContextProcess>%aditoprj%/entity/Person_entity/entityfields/organisation_id/linkedContextProcess.js</linkedContextProcess>
      <mandatory v="false" />
      <searchable v="true" />
      <valueProcess>%aditoprj%/entity/Person_entity/entityfields/organisation_id/valueProcess.js</valueProcess>
      <displayValueProcess>%aditoprj%/entity/Person_entity/entityfields/organisation_id/displayValueProcess.js</displayValueProcess>
      <onValueChange>%aditoprj%/entity/Person_entity/entityfields/organisation_id/onValueChange.js</onValueChange>
      <onValidation>%aditoprj%/entity/Person_entity/entityfields/organisation_id/onValidation.js</onValidation>
    </entityField>
    <entityConsumer>
      <name>PersAddresses</name>
      <dependency>
        <name>dependency</name>
        <entityName>Address_entity</entityName>
        <fieldName>ContactAddresses</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>DefaultAddressId_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/persaddresses/children/defaultaddressid_param/valueProcess.js</valueProcess>
          <triggerRecalculation v="true" />
        </entityParameter>
        <entityParameter>
          <name>ContactId_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/persaddresses/children/contactid_param/valueProcess.js</valueProcess>
          <expose v="false" />
          <triggerRecalculation v="true" />
        </entityParameter>
      </children>
    </entityConsumer>
    <entityConsumer>
      <name>Communications</name>
      <dependency>
        <name>dependency</name>
        <entityName>Communication_entity</entityName>
        <fieldName>AllCommunications</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ContactId_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/communications/children/contactid_param/valueProcess.js</valueProcess>
          <expose v="false" />
          <triggerRecalculation v="true" />
          <description>This parameter is used for specifing a related &amp;quot;CONTACTID&amp;quot; to a COMMUNICATION-entry. 
Usually this is used for filtering COMMUNICATION-entries by a specified contact or creating a new entry that is related to a contact.</description>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityConsumer>
      <name>Organisations</name>
      <selectionMode>SINGLE</selectionMode>
      <dependency>
        <name>dependency</name>
        <entityName>Organisation_entity</entityName>
        <fieldName>WithPersonIdFilter</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ExcludeOrganisationsByPersonId</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/organisations/children/excludeorganisationsbypersonid/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityConsumer>
      <name>Contracts</name>
      <dependency>
        <name>dependency</name>
        <entityName>Contract_entity</entityName>
        <fieldName>Contracts</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ContactId_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/contracts/children/contactid_param/valueProcess.js</valueProcess>
          <expose v="false" />
          <triggerRecalculation v="true" />
          <mandatory v="true" />
        </entityParameter>
      </children>
    </entityConsumer>
    <entityConsumer>
      <name>Pricelists</name>
      <state>AUTO</state>
      <stateProcess>%aditoprj%/entity/Person_entity/entityfields/pricelists/stateProcess.js</stateProcess>
      <dependency>
        <name>dependency</name>
        <entityName>Productprice_entity</entityName>
        <fieldName>Productprices</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ContactId_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/pricelists/children/contactid_param/valueProcess.js</valueProcess>
          <expose v="false" />
          <triggerRecalculation v="false" />
          <mandatory v="true" />
        </entityParameter>
      </children>
    </entityConsumer>
    <entityConsumer>
      <name>Genders</name>
      <dependency>
        <name>dependency</name>
        <entityName>Gender_keyword</entityName>
        <fieldName>#PROVIDER</fieldName>
      </dependency>
    </entityConsumer>
    <entityProvider>
      <name>#PROVIDER</name>
      <dependencies>
        <entityDependency>
          <name>ec66d6b0-a1fa-40a1-9612-34775d3e89a9</name>
          <entityName>Object_entity</entityName>
          <fieldName>Persons</fieldName>
          <isConsumer v="false" />
        </entityDependency>
      </dependencies>
    </entityProvider>
    <entityField>
      <name>LANGUAGE</name>
      <title>Language</title>
      <consumer>Languages</consumer>
      <mandatory v="true" />
      <valueProcess>%aditoprj%/entity/Person_entity/entityfields/language/valueProcess.js</valueProcess>
      <displayValueProcess>%aditoprj%/entity/Person_entity/entityfields/language/displayValueProcess.js</displayValueProcess>
      <onValueChange>%aditoprj%/entity/Person_entity/entityfields/language/onValueChange.js</onValueChange>
      <onValueChangeTypes>
        <element>MASK</element>
      </onValueChangeTypes>
    </entityField>
    <entityConsumer>
      <name>Documents</name>
      <selectionMode>MULTI</selectionMode>
S.Listl's avatar
S.Listl committed
277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000
      <dependency>
        <name>dependency</name>
        <entityName>Document_entity</entityName>
        <fieldName>Documents</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>AssignmentRowId_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/documents/children/assignmentrowid_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>AssignmentTable_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/documents/children/assignmenttable_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityParameter>
      <name>ContactId_param</name>
      <expose v="true" />
      <triggerRecalculation v="true" />
      <mandatory v="false" />
      <description>PARAMETER</description>
    </entityParameter>
    <entityFieldGroup>
      <name>FULL_NAME_fieldGroup</name>
      <valueProcess>%aditoprj%/entity/Person_entity/entityfields/full_name_fieldgroup/valueProcess.js</valueProcess>
      <title>Name</title>
      <description>FIELDGROUP</description>
      <fields>
        <element>SALUTATION</element>
        <element>TITLE</element>
        <element>FIRSTNAME</element>
        <element>MIDDLENAME</element>
        <element>LASTNAME</element>
      </fields>
    </entityFieldGroup>
    <entityProvider>
      <name>Contact</name>
      <recordContainer>db</recordContainer>
      <dependencies>
        <entityDependency>
          <name>12c5350a-3159-449b-a94e-d57658b4c124</name>
          <entityName>Member_entity</entityName>
          <fieldName>CurrentContact</fieldName>
          <isConsumer v="false" />
        </entityDependency>
      </dependencies>
      <children>
        <entityParameter>
          <name>OrgId_param</name>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>ContactId_param</name>
          <expose v="true" />
          <mandatory v="true" />
        </entityParameter>
        <entityParameter>
          <name>ExcludedContactIds_param</name>
          <expose v="false" />
        </entityParameter>
      </children>
    </entityProvider>
    <entityConsumer>
      <name>OrgAddresses</name>
      <state>READONLY</state>
      <stateProcess>%aditoprj%/entity/Person_entity/entityfields/orgaddresses/stateProcess.js</stateProcess>
      <dependency>
        <name>dependency</name>
        <entityName>Address_entity</entityName>
        <fieldName>OrganisationAddressesByContact</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ContactId_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/orgaddresses/children/contactid_param/valueProcess.js</valueProcess>
          <expose v="false" />
          <triggerRecalculation v="true" />
        </entityParameter>
        <entityParameter>
          <name>DefaultAddressId_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/orgaddresses/children/defaultaddressid_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityField>
      <name>REL_RELATIONSHIP</name>
      <title>Relationship</title>
      <description>TODO: Beziehung zu der Relation 1024846 (z.B. per Ampelsystem)</description>
      <contentType>NUMBER</contentType>
      <mandatory v="false" />
      <searchable v="false" />
      <valueProcess>%aditoprj%/entity/Person_entity/entityfields/rel_relationship/valueProcess.js</valueProcess>
    </entityField>
    <entityActionField>
      <name>openEditDefaultsView</name>
      <title>Edit defaults</title>
      <onActionProcess>%aditoprj%/entity/Person_entity/entityfields/openeditdefaultsview/onActionProcess.js</onActionProcess>
      <iconId>VAADIN:WRENCH</iconId>
    </entityActionField>
    <entityActionField>
      <name>newOffer</name>
      <title>New offer</title>
      <onActionProcess>%aditoprj%/entity/Person_entity/entityfields/newoffer/onActionProcess.js</onActionProcess>
      <iconId>VAADIN:CART</iconId>
    </entityActionField>
    <entityField>
      <name>STANDARD_EMAIL_COMMUNICATION</name>
      <title>E-Mail</title>
      <consumer>EmailCommunications</consumer>
      <searchable v="false" />
      <onValueChange>%aditoprj%/entity/Person_entity/entityfields/standard_email_communication/onValueChange.js</onValueChange>
      <onValueChangeTypes>
        <element>MASK</element>
        <element>PROCESS</element>
        <element>PROCESS_SETVALUE</element>
      </onValueChangeTypes>
    </entityField>
    <entityField>
      <name>STANDARD_PHONE_COMMUNICATION</name>
      <title>Phone</title>
      <consumer>PhoneCommunications</consumer>
      <searchable v="false" />
      <onValueChange>%aditoprj%/entity/Person_entity/entityfields/standard_phone_communication/onValueChange.js</onValueChange>
    </entityField>
    <entityConsumer>
      <name>PhoneCommunications</name>
      <description>Used for standard communication</description>
      <dependency>
        <name>dependency</name>
        <entityName>Communication_entity</entityName>
        <fieldName>PhoneCommunications</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ContactId_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/phonecommunications/children/contactid_param/valueProcess.js</valueProcess>
          <expose v="false" />
          <description>This parameter is used for specifing a related &amp;quot;CONTACTID&amp;quot; to a COMMUNICATION-entry. 
Usually this is used for filtering COMMUNICATION-entries by a specified contact or creating a new entry that is related to a contact.</description>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityConsumer>
      <name>EmailCommunications</name>
      <description>Used for standard communication</description>
      <dependency>
        <name>dependency</name>
        <entityName>Communication_entity</entityName>
        <fieldName>EmailCommunications</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ContactId_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/emailcommunications/children/contactid_param/valueProcess.js</valueProcess>
          <expose v="false" />
          <description>This parameter is used for specifing a related &amp;quot;CONTACTID&amp;quot; to a COMMUNICATION-entry. 
Usually this is used for filtering COMMUNICATION-entries by a specified contact or creating a new entry that is related to a contact.</description>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityField>
      <name>ADDRESS_ID</name>
      <title>Address</title>
      <consumer>ContactAndOrganisationAddresses</consumer>
      <searchable v="false" />
      <valueProcess>%aditoprj%/entity/Person_entity/entityfields/address_id/valueProcess.js</valueProcess>
      <displayValueProcess>%aditoprj%/entity/Person_entity/entityfields/address_id/displayValueProcess.js</displayValueProcess>
    </entityField>
    <entityActionField>
      <name>newActivity</name>
      <title>New activity</title>
      <onActionProcess>%aditoprj%/entity/Person_entity/entityfields/newactivity/onActionProcess.js</onActionProcess>
      <iconId>VAADIN:HOURGLASS_END</iconId>
      <tooltip>New activity</tooltip>
      <tooltipProcess>%aditoprj%/entity/Person_entity/entityfields/newactivity/tooltipProcess.js</tooltipProcess>
    </entityActionField>
    <entityConsumer>
      <name>ObjectRelations</name>
      <dependency>
        <name>dependency</name>
      </dependency>
      <children>
        <entityParameter>
          <name>ObjectType_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/objectrelations/children/objecttype_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>ObjectRowid_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/objectrelations/children/objectrowid_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityConsumer>
      <name>KeywordGenders</name>
      <dependency>
        <name>dependency</name>
        <entityName>KeywordEntry_entity</entityName>
        <fieldName>SpecificContainerKeywords</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ContainerName_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/keywordgenders/children/containername_param/valueProcess.js</valueProcess>
          <expose v="false" />
        </entityParameter>
      </children>
    </entityConsumer>
    <entityConsumer>
      <name>Languages</name>
      <dependency>
        <name>dependency</name>
        <entityName>Language_entity</entityName>
        <fieldName>ISO3Name</fieldName>
      </dependency>
    </entityConsumer>
    <entityConsumer>
      <name>Offers</name>
      <dependency>
        <name>dependency</name>
        <entityName>Offer_entity</entityName>
        <fieldName>ContactOffers</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ContactId_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/offers/children/contactid_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityConsumer>
      <name>Salutations</name>
      <dependency>
        <name>dependency</name>
        <entityName>SalutationDistinct_entity</entityName>
        <fieldName>Salutations</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>Language_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/salutations/children/language_param/valueProcess.js</valueProcess>
          <triggerRecalculation v="true" />
        </entityParameter>
      </children>
    </entityConsumer>
    <entityConsumer>
      <name>Attributes</name>
      <onValidation>%aditoprj%/entity/Person_entity/entityfields/attributes/onValidation.js</onValidation>
      <dependency>
        <name>dependency</name>
        <entityName>AttributeRelation_entity</entityName>
        <fieldName>AttributeRelations</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ObjectRowId_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/attributes/children/objectrowid_param/valueProcess.js</valueProcess>
          <triggerRecalculation v="true" />
        </entityParameter>
        <entityParameter>
          <name>ObjectType_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/attributes/children/objecttype_param/valueProcess.js</valueProcess>
          <triggerRecalculation v="true" />
        </entityParameter>
      </children>
    </entityConsumer>
    <entityConsumer>
      <name>SalutationTitles</name>
      <dependency>
        <name>dependency</name>
        <entityName>SalutationTitleDistinct_entity</entityName>
        <fieldName>SalutationTitles</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>Salutation_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/salutationtitles/children/salutation_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>Language_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/salutationtitles/children/language_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityActionField>
      <name>newTask</name>
      <title>New task</title>
      <onActionProcess>%aditoprj%/entity/Person_entity/entityfields/newtask/onActionProcess.js</onActionProcess>
      <iconId>VAADIN:TASKS</iconId>
    </entityActionField>
    <entityConsumer>
      <name>Tasks</name>
      <stateProcess>%aditoprj%/entity/Person_entity/entityfields/tasks/stateProcess.js</stateProcess>
      <dependency>
        <name>dependency</name>
        <entityName>Task_entity</entityName>
        <fieldName>Tasks</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>RowId_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/tasks/children/rowid_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>ObjectId_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/tasks/children/objectid_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>PresetLinks_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/tasks/children/presetlinks_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityConsumer>
      <name>ObjectTrees</name>
      <dependency>
        <name>dependency</name>
        <entityName>ObjectTree_entity</entityName>
        <fieldName>TreeProvider</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ObjectId_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/objecttrees/children/objectid_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>ObjectType_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/objecttrees/children/objecttype_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityField>
      <name>STATUS</name>
      <title>Status</title>
      <consumer>KeywordContactStates</consumer>
      <valueProcess>%aditoprj%/entity/Person_entity/entityfields/status/valueProcess.js</valueProcess>
      <displayValueProcess>%aditoprj%/entity/Person_entity/entityfields/status/displayValueProcess.js</displayValueProcess>
    </entityField>
    <entityConsumer>
      <name>KeywordContactStates</name>
      <dependency>
        <name>dependency</name>
        <entityName>KeywordEntry_entity</entityName>
        <fieldName>SpecificContainerKeywords</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ContainerName_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/keywordcontactstates/children/containername_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityConsumer>
      <name>ContactAndOrganisationAddresses</name>
      <dependency>
        <name>dependency</name>
        <entityName>Address_entity</entityName>
        <fieldName>OrganisationAndContactAddresses</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ContactId_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/contactandorganisationaddresses/children/contactid_param/valueProcess.js</valueProcess>
          <triggerRecalculation v="true" />
        </entityParameter>
        <entityParameter>
          <name>OrganisationId_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/contactandorganisationaddresses/children/organisationid_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityField>
      <name>DEPARTMENT</name>
      <title>Department</title>
      <dropDownProcess>%aditoprj%/entity/Person_entity/entityfields/department/dropDownProcess.js</dropDownProcess>
      <textInputAllowed v="true" />
    </entityField>
    <entityField>
      <name>POSITION</name>
      <title>Position</title>
      <dropDownProcess>%aditoprj%/entity/Person_entity/entityfields/position/dropDownProcess.js</dropDownProcess>
      <textInputAllowed v="true" />
    </entityField>
    <entityField>
      <name>CONTACTROLE</name>
      <title>Contactrole</title>
      <dropDownProcess>%aditoprj%/entity/Person_entity/entityfields/contactrole/dropDownProcess.js</dropDownProcess>
      <textInputAllowed v="true" />
    </entityField>
    <entityConsumer>
      <name>LogHistoryConsumer</name>
      <dependency>
        <name>dependency</name>
        <entityName>LogHistory_entity</entityName>
        <fieldName>LogHistoryProvider</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>tablenames_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/loghistoryconsumer/children/tablenames_param/valueProcess.js</valueProcess>
          <expose v="true" />
          <triggerRecalculation v="true" />
          <mandatory v="true" />
        </entityParameter>
      </children>
    </entityConsumer>
    <entityConsumer>
      <name>OtherContacts</name>
      <dependency>
        <name>dependency</name>
        <entityName>Contact_entity</entityName>
        <fieldName>PersonsContactsExceptOwn</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>OwnContactId_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/othercontacts/children/owncontactid_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>LanguageKey_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/othercontacts/children/languagekey_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityField>
      <name>ORGANISATION_NAME</name>
      <searchable v="false" />
    </entityField>
    <entityParameter>
      <name>ExcludedContactIds_param</name>
      <expose v="true" />
      <description>PARAMETER</description>
    </entityParameter>
    <entityProvider>
      <name>Contacts</name>
      <dependencies>
        <entityDependency>
          <name>e46dcd73-64a8-4b3e-b976-1b4643c54ebb</name>
          <entityName>CampaignStep_entity</entityName>
          <fieldName>ContactsConsumer</fieldName>
          <isConsumer v="false" />
        </entityDependency>
        <entityDependency>
          <name>4d317eb3-6a4e-40c6-946e-d54289dcd99b</name>
          <entityName>Member_entity</entityName>
          <fieldName>Contacts</fieldName>
          <isConsumer v="false" />
        </entityDependency>
      </dependencies>
      <children>
        <entityParameter>
          <name>ContactId_param</name>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>ExcludedContactIds_param</name>
          <expose v="true" />
        </entityParameter>
        <entityParameter>
          <name>OrgId_param</name>
          <expose v="false" />
        </entityParameter>
      </children>
    </entityProvider>
    <entityConsumer>
      <name>360DegreeObjects</name>
      <dependency>
        <name>dependency</name>
        <entityName>360Degree_entity</entityName>
        <fieldName>PersonObjects</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ObjectRowId_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/360degreeobjects/children/objectrowid_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityActionField>
      <name>addToCampaign</name>
      <title>Add to Campaign</title>
      <onActionProcess>%aditoprj%/entity/Person_entity/entityfields/addtocampaign/onActionProcess.js</onActionProcess>
      <actionOrder v="1" />
      <iconId>NEON:GROUP_APPOINTMENT</iconId>
      <tooltip>Choose a campaign and a step to add the contact to a  campaign</tooltip>
    </entityActionField>
    <entityConsumer>
      <name>AttributeTree</name>
      <dependency>
        <name>dependency</name>
        <entityName>AttributeRelation_entity</entityName>
        <fieldName>TreeProvider</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ObjectRowId_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/attributetree/children/objectrowid_param/valueProcess.js</valueProcess>
          <triggerRecalculation v="true" />
        </entityParameter>
        <entityParameter>
          <name>ObjectType_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/attributetree/children/objecttype_param/valueProcess.js</valueProcess>
          <triggerRecalculation v="true" />
        </entityParameter>
      </children>
    </entityConsumer>
    <entityField>
      <name>DATE_NEW</name>
      <searchable v="false" />
      <valueProcess>%aditoprj%/entity/Person_entity/entityfields/date_new/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>USER_NEW</name>
      <searchable v="false" />
      <valueProcess>%aditoprj%/entity/Person_entity/entityfields/user_new/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>USER_EDIT</name>
      <searchable v="false" />
      <valueProcess>%aditoprj%/entity/Person_entity/entityfields/user_edit/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>DATE_EDIT</name>
      <searchable v="false" />
      <valueProcess>%aditoprj%/entity/Person_entity/entityfields/date_edit/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>DATE_NEW_CONTACT</name>
      <searchable v="false" />
      <valueProcess>%aditoprj%/entity/Person_entity/entityfields/date_new_contact/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>USER_NEW_CONTACT</name>
      <searchable v="false" />
      <valueProcess>%aditoprj%/entity/Person_entity/entityfields/user_new_contact/valueProcess.js</valueProcess>
    </entityField>
    <entityParameter>
      <name>AdditionalActivityTaskLinks_param</name>
      <title></title>
      <valueProcess>%aditoprj%/entity/Person_entity/entityfields/additionalactivitytasklinks_param/valueProcess.js</valueProcess>
      <description>PARAMETER</description>
    </entityParameter>
    <entityField>
      <name>PICTURE</name>
      <title>Picture</title>
      <contentType>IMAGE</contentType>
      <searchable v="false" />
      <displayValueProcess>%aditoprj%/entity/Person_entity/entityfields/picture/displayValueProcess.js</displayValueProcess>
    </entityField>
    <entityParameter>
      <name>AvatarText_param</name>
      <valueProcess>%aditoprj%/entity/Person_entity/entityfields/avatartext_param/valueProcess.js</valueProcess>
      <description>PARAMETER</description>
    </entityParameter>
    <entityActionGroup>
      <name>campaignActionGroup</name>
      <title>Campaign</title>
      <children>
        <entityActionField>
          <name>addToCampaignFromTable</name>
          <title>Add to Campaign</title>
          <onActionProcess>%aditoprj%/entity/Person_entity/entityfields/campaignactiongroup/children/addtocampaignfromtable/onActionProcess.js</onActionProcess>
          <isMenuAction v="true" />
          <isObjectAction v="false" />
          <isSelectionAction v="true" />
          <iconId>NEON:GROUP_APPOINTMENT</iconId>
          <tooltip>Add the selection to a campaign</tooltip>
          <tooltipProcess>%aditoprj%/entity/Person_entity/entityfields/campaignactiongroup/children/addtocampaignfromtable/tooltipProcess.js</tooltipProcess>
        </entityActionField>
      </children>
    </entityActionGroup>
    <entityActionField>
      <name>newEmail</name>
      <title>Write email</title>
      <onActionProcess>%aditoprj%/entity/Person_entity/entityfields/newemail/onActionProcess.js</onActionProcess>
      <iconId>VAADIN:AT</iconId>
    </entityActionField>
    <entityActionField>
      <name>newAppointment</name>
      <title>New appointment</title>
      <onActionProcess>%aditoprj%/entity/Person_entity/entityfields/newappointment/onActionProcess.js</onActionProcess>
      <iconId>VAADIN:CALENDAR</iconId>
      <tooltip>New Appointment</tooltip>
    </entityActionField>
    <entityConsumer>
      <name>CommRestrictions</name>
      <dependency>
        <name>dependency</name>
        <entityName>CommRestriction_Entity</entityName>
        <fieldName>PersonsCommRestriction</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>PersonId_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/commrestrictions/children/personid_param/valueProcess.js</valueProcess>
          <expose v="true" />
          <triggerRecalculation v="true" />
          <mandatory v="true" />
        </entityParameter>
      </children>
    </entityConsumer>
    <entityActionField>
      <name>newLetter</name>
      <title>New letter</title>
      <onActionProcess>%aditoprj%/entity/Person_entity/entityfields/newletter/onActionProcess.js</onActionProcess>
      <iconId>VAADIN:ENVELOPE</iconId>
    </entityActionField>
  </entityFields>
  <recordContainers>
    <dbRecordContainer>
      <name>db</name>
      <alias>Data_alias</alias>
      <fromClauseProcess>%aditoprj%/entity/Person_entity/recordcontainers/db/fromClauseProcess.js</fromClauseProcess>
      <conditionProcess>%aditoprj%/entity/Person_entity/recordcontainers/db/conditionProcess.js</conditionProcess>
      <orderClauseProcess>%aditoprj%/entity/Person_entity/recordcontainers/db/orderClauseProcess.js</orderClauseProcess>
      <onDBUpdate>%aditoprj%/entity/Person_entity/recordcontainers/db/onDBUpdate.js</onDBUpdate>
      <linkInformation>
        <linkInformation>
          <name>3afdecb0-515e-43d2-872f-04c82ecca9ae</name>
          <tableName>PERSON</tableName>
          <primaryKey>PERSONID</primaryKey>
          <isUIDTable v="false" />
          <readonly v="false" />
        </linkInformation>
        <linkInformation>
          <name>217d431f-018c-4573-b786-d1b6b88f4b64</name>
          <tableName>CONTACT</tableName>
          <primaryKey>CONTACTID</primaryKey>
          <isUIDTable v="true" />
          <readonly v="false" />
        </linkInformation>
        <linkInformation>
          <name>19877118-eb80-4672-bd73-cf10dbbb052a</name>
          <tableName>ORGANISATION</tableName>
          <primaryKey>ORGANISATIONID</primaryKey>
          <isUIDTable v="false" />
          <readonly v="true" />
        </linkInformation>
        <linkInformation>
          <name>64f188c2-e53d-44b5-9980-c867282eff7e</name>
          <tableName>ADDRESS</tableName>
          <primaryKey>ADDRESSID</primaryKey>
          <isUIDTable v="false" />
          <readonly v="true" />
        </linkInformation>
      </linkInformation>
      <recordFieldMappings>
        <dbRecordFieldMapping>
          <name>PERSONID.value</name>
          <recordfield>PERSON.PERSONID</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>DATEOFBIRTH.value</name>
          <recordfield>PERSON.DATEOFBIRTH</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>FIRSTNAME.value</name>
          <recordfield>PERSON.FIRSTNAME</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>GENDER.value</name>
          <recordfield>PERSON.GENDER</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>LANGUAGE.value</name>
          <recordfield>CONTACT.LANGUAGE</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>PERSON_ID.value</name>
          <recordfield>CONTACT.PERSON_ID</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>LASTNAME.value</name>
          <recordfield>PERSON.LASTNAME</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>MIDDLENAME.value</name>
          <recordfield>PERSON.MIDDLENAME</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>CONTACTID.value</name>
          <recordfield>CONTACT.CONTACTID</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>SALUTATION.value</name>
          <recordfield>PERSON.SALUTATION</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>TITLE.value</name>
          <recordfield>PERSON.TITLE</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>TITLESUFFIX.value</name>
          <recordfield>PERSON.TITLESUFFIX</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>ORGANISATION_ID.value</name>
          <recordfield>CONTACT.ORGANISATION_ID</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>REL_RELATIONSHIP.value</name>
          <recordfield>CONTACT.RELATIONSHIP</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>STANDARD_EMAIL_COMMUNICATION.displayValue</name>
          <expression>%aditoprj%/entity/Person_entity/recordcontainers/db/recordfieldmappings/standard_email_communication.displayvalue/expression.js</expression>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>STANDARD_PHONE_COMMUNICATION.displayValue</name>
          <expression>%aditoprj%/entity/Person_entity/recordcontainers/db/recordfieldmappings/standard_phone_communication.displayvalue/expression.js</expression>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>ADDRESS_ID.value</name>
          <recordfield>CONTACT.ADDRESS_ID</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>ORGANISATION_ID.displayValue</name>
          <recordfield>ORGANISATION.NAME</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>GENDER.displayValue</name>
          <expression>%aditoprj%/entity/Person_entity/recordcontainers/db/recordfieldmappings/gender.displayvalue/expression.js</expression>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>