ApprovalRuleBase.mtd 51.1 KB
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 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 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387
{
  "$type": "Sungero.Metadata.EntityMetadata, Sungero.Metadata",
  "NameGuid": "42a6a084-6828-47d9-95bb-50b0538a6037",
  "Name": "ApprovalRuleBase",
  "Actions": [
    {
      "NameGuid": "81c99eb3-d82b-4625-ad2f-97b8ffa7a71f",
      "Name": "Save",
      "GenerateHandler": true,
      "IsAncestorMetadata": true,
      "Overridden": [
        "GenerateHandler"
      ]
    },
    {
      "NameGuid": "bca1ca04-dbf7-499f-bc3e-c5b4d5db7805",
      "Name": "SaveAndClose",
      "GenerateHandler": true,
      "IsAncestorMetadata": true,
      "Overridden": [
        "GenerateHandler"
      ]
    },
    {
      "NameGuid": "d0788b6b-b335-4f37-90c0-bf6c8c54bf72",
      "Name": "ShowActiveTasks",
      "ActionArea": "Card",
      "GenerateHandler": true,
      "LargeIconName": "Action_ShowActiveTasks_large_d0788b6bb3354f3790c0bf6c8c54bf72.png",
      "SmallIconName": "Action_ShowActiveTasks_small_d0788b6bb3354f3790c0bf6c8c54bf72.png"
    },
    {
      "NameGuid": "adc5439c-2189-45a7-a820-6a1d25011804",
      "Name": "ShowDuplicate",
      "ActionArea": "Card",
      "GenerateHandler": true,
      "LargeIconName": "Action_ShowDuplicate_large_adc5439c218945a7a8206a1d25011804.png",
      "SmallIconName": "Action_ShowDuplicate_small_adc5439c218945a7a8206a1d25011804.png"
    },
    {
      "NameGuid": "8e4ec6af-1aeb-40ec-ad4b-bacc61f832cf",
      "Name": "ChartAddSignStage",
      "ActionArea": "Card",
      "GenerateHandler": true,
      "LargeIconName": "Action_ChartAddSignStage_large_8e4ec6af1aeb40ecad4bbacc61f832cf.png",
      "SmallIconName": "Action_ChartAddSignStage_small_8e4ec6af1aeb40ecad4bbacc61f832cf.png"
    },
    {
      "NameGuid": "9ad2fef2-f881-4950-b844-2a72bd5bdc8f",
      "Name": "ChartAddManagerStage",
      "ActionArea": "Card",
      "GenerateHandler": true,
      "LargeIconName": "Action_ChartAddManagerStage_large_9ad2fef2f8814950b8442a72bd5bdc8f.png",
      "SmallIconName": "Action_ChartAddManagerStage_small_9ad2fef2f8814950b8442a72bd5bdc8f.png"
    },
    {
      "NameGuid": "7cc8370b-c22e-4af7-b400-4b01aed89a9c",
      "Name": "ChartAddApproversStage",
      "ActionArea": "Card",
      "GenerateHandler": true,
      "LargeIconName": "Action_ChartAddApproversStage_large_7cc8370bc22e4af7b4004b01aed89a9c.png",
      "SmallIconName": "Action_ChartAddApproversStage_small_7cc8370bc22e4af7b4004b01aed89a9c.png"
    },
    {
      "NameGuid": "a0bc9203-b996-4906-a915-1bd2d90c6efb",
      "Name": "ChartAddRegisterStage",
      "ActionArea": "Card",
      "GenerateHandler": true,
      "LargeIconName": "Action_ChartAddRegisterStage_large_a0bc9203b9964906a9151bd2d90c6efb.png",
      "SmallIconName": "Action_ChartAddRegisterStage_small_a0bc9203b9964906a9151bd2d90c6efb.png"
    },
    {
      "NameGuid": "e14cf597-fe45-456a-9745-68470047df4a",
      "Name": "ChartAddSendingStage",
      "ActionArea": "Card",
      "GenerateHandler": true,
      "LargeIconName": "Action_ChartAddSendingStage_large_e14cf597fe45456a974568470047df4a.png",
      "SmallIconName": "Action_ChartAddSendingStage_small_e14cf597fe45456a974568470047df4a.png"
    },
    {
      "NameGuid": "ae159ce6-96cd-4714-a8b5-babfa751031e",
      "Name": "ChartAddSimpleAgrStage",
      "ActionArea": "Card",
      "GenerateHandler": true,
      "LargeIconName": "Action_ChartAddSimpleAgrStage_large_ae159ce696cd4714a8b5babfa751031e.png",
      "SmallIconName": "Action_ChartAddSimpleAgrStage_small_ae159ce696cd4714a8b5babfa751031e.png"
    },
    {
      "NameGuid": "37e82f6f-57dc-41a7-a9be-c38a4cf61243",
      "Name": "ChartAddPrintStage",
      "ActionArea": "Card",
      "GenerateHandler": true,
      "LargeIconName": "Action_ChartAddPrintStage_large_37e82f6f57dc41a7a9bec38a4cf61243.png",
      "SmallIconName": "Action_ChartAddPrintStage_small_37e82f6f57dc41a7a9bec38a4cf61243.png"
    },
    {
      "NameGuid": "299939b4-6e4e-4e10-98a8-333fc471bee8",
      "Name": "ChartAddControlReturnStage",
      "ActionArea": "Card",
      "GenerateHandler": true,
      "LargeIconName": "Action_ChartAddControlReturnStage_large_299939b46e4e4e1098a8333fc471bee8.png",
      "SmallIconName": "Action_ChartAddControlReturnStage_small_299939b46e4e4e1098a8333fc471bee8.png"
    },
    {
      "NameGuid": "9b420273-975f-4a02-8f01-9a9e78aa8e7b",
      "Name": "ChartAddNoticeStage",
      "ActionArea": "Card",
      "GenerateHandler": true,
      "LargeIconName": "Action_ChartAddNoticeStage_large_9b420273975f4a028f019a9e78aa8e7b.png",
      "SmallIconName": "Action_ChartAddNoticeStage_small_9b420273975f4a028f019a9e78aa8e7b.png"
    },
    {
      "NameGuid": "31430351-06d0-4138-a00a-4794d9c93020",
      "Name": "ChartAddReviewStage",
      "ActionArea": "Card",
      "GenerateHandler": true,
      "LargeIconName": "Action_ChartAddReviewStage_large_3143035106d04138a00a4794d9c93020.png",
      "SmallIconName": "Action_ChartAddReviewStage_small_3143035106d04138a00a4794d9c93020.png"
    },
    {
      "NameGuid": "012cedf3-3a27-41aa-971e-e039daf971be",
      "Name": "ChartAddExecutionStage",
      "ActionArea": "Card",
      "GenerateHandler": true,
      "LargeIconName": "Action_ChartAddExecutionStage_large_012cedf33a2741aa971ee039daf971be.png",
      "SmallIconName": "Action_ChartAddExecutionStage_small_012cedf33a2741aa971ee039daf971be.png"
    },
    {
      "NameGuid": "9d6d0b9e-a625-4314-a04a-407fbf011f79",
      "Name": "ChartAddCondition",
      "ActionArea": "Card",
      "GenerateHandler": true,
      "LargeIconName": "Action_ChartAddCondition_large_9d6d0b9ea6254314a04a407fbf011f79.png",
      "SmallIconName": "Action_ChartAddCondition_small_9d6d0b9ea6254314a04a407fbf011f79.png"
    },
    {
      "NameGuid": "70f95c87-9ec4-4988-acc8-f8929693f508",
      "Name": "ChartDeleteStage",
      "ActionArea": "ChildCollection",
      "CollectionPropertyGuid": "6775d26a-f091-4ee8-ba55-c37efc783d03",
      "GenerateHandler": true,
      "KeyGesture": "Delete",
      "LargeIconName": "Action_ChartDeleteStage_large_70f95c879ec44988acc8f8929693f508.png",
      "SmallIconName": "Action_ChartDeleteStage_small_70f95c879ec44988acc8f8929693f508.png"
    },
    {
      "NameGuid": "7fcaac92-8b80-40d8-ad73-8872d713498a",
      "Name": "ChartSelectStage",
      "ActionArea": "ChildCollection",
      "CollectionPropertyGuid": "6775d26a-f091-4ee8-ba55-c37efc783d03",
      "GenerateHandler": true,
      "LargeIconName": "Action_ChartSelectStage_large_7fcaac928b8040d8ad738872d713498a.png",
      "SmallIconName": "Action_ChartSelectStage_small_7fcaac928b8040d8ad738872d713498a.png"
    },
    {
      "NameGuid": "81da0235-c35d-49a8-b1db-32976d2dabba",
      "Name": "ChartConfigStage",
      "ActionArea": "ChildCollection",
      "CollectionPropertyGuid": "6775d26a-f091-4ee8-ba55-c37efc783d03",
      "GenerateHandler": true,
      "KeyGesture": "F7",
      "LargeIconName": "Action_ChartConfigStage_large_81da0235c35d49a8b1db32976d2dabba.png",
      "SmallIconName": "Action_ChartConfigStage_small_81da0235c35d49a8b1db32976d2dabba.png"
    },
    {
      "NameGuid": "b02987c8-ab4d-4915-a3d1-6871745c1f03",
      "Name": "ChartConfigCondition",
      "ActionArea": "ChildCollection",
      "CollectionPropertyGuid": "264e56a8-f5b2-4f22-aa5f-c20f54c4ab99",
      "GenerateHandler": true,
      "KeyGesture": "F7",
      "LargeIconName": "Action_ChartConfigCondition_large_b02987c8ab4d4915a3d16871745c1f03.png",
      "SmallIconName": "Action_ChartConfigCondition_small_b02987c8ab4d4915a3d16871745c1f03.png"
    },
    {
      "NameGuid": "706aa515-0d5c-4b62-912b-911265291d65",
      "Name": "ChartDeleteCondition",
      "ActionArea": "ChildCollection",
      "CollectionPropertyGuid": "264e56a8-f5b2-4f22-aa5f-c20f54c4ab99",
      "GenerateHandler": true,
      "KeyGesture": "Delete",
      "LargeIconName": "Action_ChartDeleteCondition_large_706aa5150d5c4b62912b911265291d65.png",
      "SmallIconName": "Action_ChartDeleteCondition_small_706aa5150d5c4b62912b911265291d65.png"
    },
    {
      "NameGuid": "cddbfefb-f51e-41cc-aa1f-751491307c9d",
      "Name": "TakeScreenshot",
      "ActionArea": "Card",
      "GenerateHandler": true,
      "LargeIconName": "Action_TakeScreenshot_large_cddbfefbf51e41ccaa1f751491307c9d.png",
      "SmallIconName": "Action_TakeScreenshot_small_cddbfefbf51e41ccaa1f751491307c9d.png"
    },
    {
      "NameGuid": "c2f699e1-cecf-458b-bfe0-0b2efea4b94c",
      "Name": "CreateVersion",
      "ActionArea": "Card",
      "GenerateHandler": true,
      "LargeIconName": "Action_CreateVersion_large_c2f699e1cecf458bbfe00b2efea4b94c.png",
      "SmallIconName": "Action_CreateVersion_small_c2f699e1cecf458bbfe00b2efea4b94c.png"
    },
    {
      "NameGuid": "693f88ef-728a-4f8b-8ea4-1a9be059feb3",
      "Name": "DoActive",
      "ActionArea": "Card",
      "GenerateHandler": true,
      "LargeIconName": "Action_DoActive_large_693f88ef728a4f8b8ea41a9be059feb3.png",
      "SmallIconName": "Action_DoActive_small_693f88ef728a4f8b8ea41a9be059feb3.png"
    },
    {
      "NameGuid": "cfdb7544-51e6-4eb2-9eff-75ec8a25a76a",
      "Name": "DoClose",
      "ActionArea": "Card",
      "GenerateHandler": true,
      "LargeIconName": "Action_DoClose_large_cfdb754451e64eb29eff75ec8a25a76a.png",
      "SmallIconName": "Action_DoClose_small_cfdb754451e64eb29eff75ec8a25a76a.png"
    },
    {
      "NameGuid": "dce5758d-7a3c-414d-8815-ea5e76c95fd7",
      "Name": "ShowAllVersions",
      "ActionArea": "Card",
      "GenerateHandler": true,
      "LargeIconName": "Action_ShowAllVersions_large_dce5758d7a3c414d8815ea5e76c95fd7.png",
      "SmallIconName": "Action_ShowAllVersions_small_dce5758d7a3c414d8815ea5e76c95fd7.png"
    },
    {
      "NameGuid": "b7dfcec6-a10e-40ab-9d20-dbf2b4a661cd",
      "Name": "ShowApprovalRulesConsolidatedReport",
      "ActionArea": "Collection",
      "GenerateHandler": true,
      "IsEmptySelectionAllowed": true,
      "LargeIconName": "Action_ShowApprovalRulesConsolidatedReport_large_b7dfcec6a10e40ab9d20dbf2b4a661cd.png",
      "SmallIconName": "Action_ShowApprovalRulesConsolidatedReport_small_b7dfcec6a10e40ab9d20dbf2b4a661cd.png"
    },
    {
      "NameGuid": "e83c7b24-2407-4ecb-8927-62d7db5f4d32",
      "Name": "PrintApprovalRule",
      "ActionArea": "CardAndCollection",
      "GenerateHandler": true,
      "LargeIconName": "Action_PrintApprovalRule_large_e83c7b2424074ecb892762d7db5f4d32.png",
      "SmallIconName": "Action_PrintApprovalRule_small_e83c7b2424074ecb892762d7db5f4d32.png"
    }
  ],
  "BaseGuid": "04581d26-0780-4cfd-b3cd-c2cafc5798b0",
  "CanBeNavigationPropertyType": true,
  "Code": "ApprovalRule",
  "CreationAreaMetadata": {
    "NameGuid": "7246d81b-a69f-42be-853d-0a540757c65d",
    "Name": "CreationArea",
    "Buttons": [],
    "IsAncestorMetadata": true
  },
  "ExtraSearchProperties": [],
  "FilterPanel": {
    "NameGuid": "b0125fbd-3b91-4dbb-914a-689276216404",
    "Name": "FilterPanel",
    "Controls": [],
    "IsAncestorMetadata": true,
    "IsEnabled": false,
    "Overridden": [
      "IsEnabled",
      "Controls"
    ]
  },
  "Forms": [
    {
      "$type": "Sungero.Metadata.StandaloneFormMetadata, Sungero.Metadata",
      "NameGuid": "a3b162ca-da28-4395-8d9c-52fa75815e87",
      "Name": "Card",
      "Controls": [
        {
          "$type": "Sungero.Metadata.ControlMetadata, Sungero.Metadata",
          "NameGuid": "8218ab6e-7642-4f53-a4af-b806a59d8ded",
          "Name": "Name",
          "ColumnNumber": 0,
          "ColumnSpan": 3,
          "DataBinderTypeName": "Sungero.Presentation.CommonDataBinders.StringEditorToStringBinder",
          "ParentGuid": "3d80013a-e426-483d-be77-50ef1e6b0710",
          "PropertyGuid": "82bd99e6-a06b-490c-9e83-bb7af976b0f2",
          "RowNumber": 0,
          "RowSpan": 1,
          "Settings": []
        },
        {
          "$type": "Sungero.Metadata.ControlGroupMetadata, Sungero.Metadata",
          "NameGuid": "3d80013a-e426-483d-be77-50ef1e6b0710",
          "Name": "Main",
          "ColumnDefinitions": [
            {
              "Percentage": 33.33
            },
            {
              "Percentage": 33.33
            },
            {
              "Percentage": 33.33
            }
          ],
          "ColumnNumber": 0,
          "ColumnSpan": 1,
          "ParentGuid": "ab1f1ac5-2825-40fa-9639-ce9bc18ec02f",
          "RowNumber": 0,
          "RowSpan": 1
        },
        {
          "$type": "Sungero.Metadata.ControlMetadata, Sungero.Metadata",
          "NameGuid": "c218d5bd-e49a-49ae-adbf-c9adc005cd46",
          "Name": "OurCompany",
          "ColumnNumber": 0,
          "ColumnSpan": 1,
          "DataBinderTypeName": "Sungero.Presentation.CommonDataBinders.MultiSelectEditorToCollectionBinder",
          "ParentGuid": "f3590c80-82b0-4821-8ed9-4b7ba0e72b53",
          "PropertyGuid": "5a7ccc63-ac0a-41c6-b197-1a1534973ba2",
          "RowNumber": 0,
          "RowSpan": 1,
          "Settings": [
            {
              "Name": "NavigationPropertyGuid",
              "Value": "b35a572f-7c4c-432c-af62-6abb1124e19d"
            }
          ]
        },
        {
          "$type": "Sungero.Metadata.ControlMetadata, Sungero.Metadata",
          "NameGuid": "b4ca019a-a909-40fe-b5a6-30694526f80c",
          "Name": "DocumentKinds",
          "ColumnNumber": 0,
          "ColumnSpan": 1,
          "DataBinderTypeName": "Sungero.Presentation.CommonDataBinders.MultiSelectEditorToCollectionBinder",
          "ParentGuid": "f3590c80-82b0-4821-8ed9-4b7ba0e72b53",
          "PropertyGuid": "5e924248-ded1-4303-93b3-9b820a4cfde2",
          "RowNumber": 1,
          "RowSpan": 1,
          "Settings": [
            {
              "Name": "NavigationPropertyGuid",
              "Value": "00cbfe17-d6fe-4eaa-9404-07e7782e0330"
            }
          ]
        },
        {
          "$type": "Sungero.Metadata.ControlMetadata, Sungero.Metadata",
          "NameGuid": "e9edbf40-e078-430b-ad99-57b6b98b6106",
          "Name": "Departments",
          "ColumnNumber": 0,
          "ColumnSpan": 1,
          "DataBinderTypeName": "Sungero.Presentation.CommonDataBinders.MultiSelectEditorToCollectionBinder",
          "ParentGuid": "f3590c80-82b0-4821-8ed9-4b7ba0e72b53",
          "PropertyGuid": "cf771fd1-2bbf-4b96-9571-354fbe011132",
          "RowNumber": 2,
          "RowSpan": 1,
          "Settings": [
            {
              "Name": "NavigationPropertyGuid",
              "Value": "34ac0783-193f-40b1-bf99-92c3fd586504"
            }
          ]
        },
        {
          "$type": "Sungero.Metadata.ControlGroupMetadata, Sungero.Metadata",
          "NameGuid": "f3590c80-82b0-4821-8ed9-4b7ba0e72b53",
          "Name": "Criteria",
          "ColumnNumber": 0,
          "ColumnSpan": 1,
          "GroupType": "WithTitleNoBorder",
          "ParentGuid": "ab1f1ac5-2825-40fa-9639-ce9bc18ec02f",
          "RowNumber": 1,
          "RowSpan": 1
        },
        {
          "$type": "Sungero.Metadata.ControlGroupMetadata, Sungero.Metadata",
          "NameGuid": "ab1f1ac5-2825-40fa-9639-ce9bc18ec02f",
          "Name": "ControlGroup",
          "SharedNestedGroupsAlignment": true
        },
        {
          "$type": "Sungero.Metadata.ControlMetadata, Sungero.Metadata",
          "NameGuid": "ec7f0895-be66-4781-8273-29002bcb6004",
          "Name": "DocumentGroups",
          "ColumnNumber": 0,
          "ColumnSpan": 1,
          "DataBinderTypeName": "Sungero.Presentation.CommonDataBinders.MultiSelectEditorToCollectionBinder",
          "ParentGuid": "f3590c80-82b0-4821-8ed9-4b7ba0e72b53",
          "PropertyGuid": "d106c52e-0f28-4c96-9191-c34aea9f9795",
          "RowNumber": 3,
          "RowSpan": 1,
          "Settings": [
            {
              "Name": "NavigationPropertyGuid",
              "Value": "d93385c2-06bb-425f-97fb-e4d8a83276c8"
            }
          ]
        },
        {
          "$type": "Sungero.Metadata.ControlMetadata, Sungero.Metadata",
          "NameGuid": "5f749857-8576-459a-a120-8cffeacba928",
          "Name": "DocumentFlow",
          "ColumnNumber": 0,
          "ColumnSpan": 1,
          "DataBinderTypeName": "Sungero.Presentation.CommonDataBinders.DropDownEditorToEnumerationBinder",
          "ParentGuid": "3d80013a-e426-483d-be77-50ef1e6b0710",
          "PropertyGuid": "c74fe5c1-b21e-49c9-a550-7dfe5fb2e75c",
          "RowNumber": 1,
          "RowSpan": 1,
          "Settings": []
        },
        {
          "$type": "Sungero.Metadata.ControlGroupMetadata, Sungero.Metadata",
          "NameGuid": "e3e0198f-bf84-4301-890b-f6df3a35c616",
          "Name": "Note",
          "ColumnNumber": 0,
          "ColumnSpan": 1,
          "GroupType": "WithTitleNoBorder",
          "ParentGuid": "ab1f1ac5-2825-40fa-9639-ce9bc18ec02f",
          "RowNumber": 2,
          "RowSpan": 1
        },
        {
          "$type": "Sungero.Metadata.ControlMetadata, Sungero.Metadata",
          "NameGuid": "44de09ab-87e7-452f-bc87-b3a12319d102",
          "Name": "Note",
          "ColumnNumber": 0,
          "ColumnSpan": 1,
          "DataBinderTypeName": "Sungero.Presentation.CommonDataBinders.TextEditorToTextBinder",
          "HeaderLocation": "None",
          "ParentGuid": "e3e0198f-bf84-4301-890b-f6df3a35c616",
          "PropertyGuid": "0fdc1d26-132b-43be-9975-b86d54b4cd33",
          "RowNumber": 0,
          "RowSpan": 1,
          "Settings": [
            {
              "Name": "Height",
              "Value": 100
            },
            {
              "Name": "NeedExpand",
              "Value": true
            }
          ]
        },
        {
          "$type": "Sungero.Metadata.ControlMetadata, Sungero.Metadata",
          "NameGuid": "37cafcda-00d7-4291-a305-acbac919a9a1",
          "Name": "Status",
          "ColumnNumber": 2,
          "ColumnSpan": 1,
          "DataBinderTypeName": "Sungero.Presentation.CommonDataBinders.DropDownEditorToEnumerationBinder",
          "ParentGuid": "3d80013a-e426-483d-be77-50ef1e6b0710",
          "PropertyGuid": "1dcedc29-5140-4770-ac92-eabc212326a1",
          "RowNumber": 1,
          "RowSpan": 1,
          "Settings": []
        },
        {
          "$type": "Sungero.Metadata.ControlMetadata, Sungero.Metadata",
          "NameGuid": "2aa05984-1258-4e8b-bc3c-545e2c009f52",
          "Name": "Priority",
          "ColumnNumber": 1,
          "ColumnSpan": 1,
          "DataBinderTypeName": "Sungero.Presentation.CommonDataBinders.NumericEditorToIntAndDoubleBinder",
          "ParentGuid": "3d80013a-e426-483d-be77-50ef1e6b0710",
          "PropertyGuid": "437e9e19-e61d-412d-904b-ef39d8c4fa9f",
          "RowNumber": 1,
          "RowSpan": 1,
          "Settings": []
        },
        {
          "$type": "Sungero.Metadata.ControlMetadata, Sungero.Metadata",
          "NameGuid": "f90e670f-22dc-4b4e-a25b-1543abcc6ab7",
          "Name": "ParentRule",
          "ColumnNumber": 0,
          "ColumnSpan": 2,
          "DataBinderTypeName": "Sungero.Presentation.CommonDataBinders.DropDownEditorToNavigationBinder",
          "ParentGuid": "3d80013a-e426-483d-be77-50ef1e6b0710",
          "PropertyGuid": "56516769-89ef-4024-8061-600c72a6a18d",
          "RowNumber": 2,
          "RowSpan": 1,
          "Settings": []
        },
        {
          "$type": "Sungero.Metadata.ControlMetadata, Sungero.Metadata",
          "NameGuid": "c161ad0b-0318-4563-9622-64df5814760e",
          "Name": "VersionNumber",
          "ColumnNumber": 2,
          "ColumnSpan": 1,
          "DataBinderTypeName": "Sungero.Presentation.CommonDataBinders.NumericEditorToIntAndDoubleBinder",
          "ParentGuid": "3d80013a-e426-483d-be77-50ef1e6b0710",
          "PropertyGuid": "d814276f-f262-4c38-8f34-6325bb316626",
          "RowNumber": 2,
          "RowSpan": 1,
          "Settings": []
        },
        {
          "$type": "Sungero.Metadata.ControlMetadata, Sungero.Metadata",
          "NameGuid": "8cd6d6e0-4a1f-46fd-a082-ef425bba737f",
          "Name": "Control",
          "ColumnNumber": 0,
          "ColumnSpan": 3,
          "DataBinderTypeName": "Sungero.Presentation.CommonDataBinders.BooleanEditorToBooleanBinder",
          "ParentGuid": "3d80013a-e426-483d-be77-50ef1e6b0710",
          "PropertyGuid": "7322c241-7bd7-4434-97ff-a87704860cc7",
          "RowNumber": 3,
          "RowSpan": 1,
          "Settings": []
        }
      ],
      "Overridden": [
        "Controls"
      ]
    },
    {
      "$type": "Sungero.Metadata.InplaceFormMetadata, Sungero.Metadata",
      "NameGuid": "6efafdcb-df40-4bbd-9f84-f1897d5f2659",
      "Name": "Schema",
      "Controls": [
        {
          "$type": "Sungero.Metadata.ControlGroupMetadata, Sungero.Metadata",
          "NameGuid": "d151a059-977f-4ad5-b7f1-0de34600dec7",
          "Name": "Schema"
        },
        {
          "$type": "Sungero.Metadata.FlowchartControlMetadata, Sungero.Metadata",
          "NameGuid": "45877bbb-2d94-4f55-bf00-466c0d49148d",
          "Name": "FlowChart",
          "ColumnNumber": 0,
          "ColumnSpan": 1,
          "DataBinderTypeName": "Sungero.Presentation.CommonDataBinders.FlowchartToChildCollectionBinder",
          "HeaderLocation": "None",
          "ParentGuid": "d151a059-977f-4ad5-b7f1-0de34600dec7",
          "RowNumber": 0,
          "RowSpan": 1,
          "Settings": []
        }
      ],
      "ParentFormGuid": "a3b162ca-da28-4395-8d9c-52fa75815e87"
    }
  ],
  "HandledEvents": [
    "BeforeSaveServer",
    "RefreshClient",
    "CreatedServer",
    "CreatingFromServer",
    "SavingServer",
    "SavedServer"
  ],
  "HideFromNavigationEditorCreationArea": true,
  "IconName": "ApprovalRuleBase.ico",
  "IconResourcesKeys": [
    "Assignment",
    "ControlReturn",
    "Notice",
    "Sending",
    "ActionItemTask",
    "Review"
  ],
  "IsAbstract": true,
  "IsStatusEnabled": true,
  "IsVisible": false,
  "LookupMode": "Standalone",
  "OperationsClass": "",
  "Overridden": [
    "LookupMode",
    "IconName",
    "IsCacheable",
    "OpenCardByDefaultInCollection",
    "IsStatusEnabled",
    "HideFromNavigationEditorCreationArea",
    "IsVisible"
  ],
  "Properties": [
    {
      "$type": "Sungero.Metadata.IntegerPropertyMetadata, Sungero.Metadata",
      "NameGuid": "d7319199-3333-49cc-a7b9-8467617ccf20",
      "Name": "Id",
      "IsAncestorMetadata": true,
      "IsIdentifier": true,
      "IsUnique": true,
      "Overridden": [
        "IsVisibleInFolderByDefault",
        "IsVisibleInCollectionByDefault"
      ]
    },
    {
      "$type": "Sungero.Metadata.EnumPropertyMetadata, Sungero.Metadata",
      "NameGuid": "1dcedc29-5140-4770-ac92-eabc212326a1",
      "Name": "Status",
      "DirectValues": [
        {
          "NameGuid": "d9f653a4-6536-43af-a27a-664de77b2262",
          "Name": "Draft",
          "Code": "Draft"
        }
      ],
      "IsAncestorMetadata": true,
      "IsEnabled": false,
      "Overridden": [
        "IsShowedInList",
        "IsVisibility",
        "CanBeSearch",
        "Values",
        "IsEnabled"
      ]
    },
    {
      "$type": "Sungero.Metadata.StringPropertyMetadata, Sungero.Metadata",
      "NameGuid": "82bd99e6-a06b-490c-9e83-bb7af976b0f2",
      "Name": "Name",
      "Code": "Name",
      "IsDisplayValue": true,
      "IsQuickSearchAllowed": true,
      "IsRequired": true,
      "ListDataBinderTypeName": "Sungero.Presentation.CommonDataBinders.StringEditorToStringBinder",
      "PreviousPropertyGuid": "d7319199-3333-49cc-a7b9-8467617ccf20"
    },
    {
      "$type": "Sungero.Metadata.CollectionPropertyMetadata, Sungero.Metadata",
      "NameGuid": "5e924248-ded1-4303-93b3-9b820a4cfde2",
      "Name": "DocumentKinds",
      "Code": "RuleKinds",
      "EntityGuid": "7da25d95-e362-41c0-b37a-4eb4b415da24",
      "HandledEvents": [
        "ChangedShared"
      ],
      "IsShowedInList": false,
      "ListDataBinderTypeName": "Sungero.Presentation.CommonDataBinders.StringEditorToChildCollectionBinder"
    },
    {
      "$type": "Sungero.Metadata.CollectionPropertyMetadata, Sungero.Metadata",
      "NameGuid": "cf771fd1-2bbf-4b96-9571-354fbe011132",
      "Name": "Departments",
      "Code": "RuleDeparts",
      "EntityGuid": "8fcbbaeb-8261-489e-9c66-69ca4ccdc101",
      "IsShowedInList": false,
      "ListDataBinderTypeName": "Sungero.Presentation.CommonDataBinders.StringEditorToChildCollectionBinder"
    },
    {
      "$type": "Sungero.Metadata.CollectionPropertyMetadata, Sungero.Metadata",
      "NameGuid": "6775d26a-f091-4ee8-ba55-c37efc783d03",
      "Name": "Stages",
      "Code": "RuleStages",
      "EntityGuid": "3314a57a-07b7-4131-bfc3-413b38507ed1",
      "HandledEvents": [
        "AddedShared"
      ],
      "IsShowedInList": false,
      "ListDataBinderTypeName": "Sungero.Presentation.CommonDataBinders.StringEditorToChildCollectionBinder"
    },
    {
      "$type": "Sungero.Metadata.IntegerPropertyMetadata, Sungero.Metadata",
      "NameGuid": "437e9e19-e61d-412d-904b-ef39d8c4fa9f",
      "Name": "Priority",
      "Code": "Priority",
      "IsEnabled": false,
      "ListDataBinderTypeName": "Sungero.Presentation.CommonDataBinders.NumericEditorToIntAndDoubleBinder"
    },
    {
      "$type": "Sungero.Metadata.CollectionPropertyMetadata, Sungero.Metadata",
      "NameGuid": "5a7ccc63-ac0a-41c6-b197-1a1534973ba2",
      "Name": "BusinessUnits",
      "Code": "RuleBizUnits",
      "EntityGuid": "c52d30d2-0379-4259-8cc4-b800f9a23bc7",
      "IsShowedInList": false,
      "ListDataBinderTypeName": "Sungero.Presentation.CommonDataBinders.StringEditorToChildCollectionBinder"
    },
    {
      "$type": "Sungero.Metadata.CollectionPropertyMetadata, Sungero.Metadata",
      "NameGuid": "d106c52e-0f28-4c96-9191-c34aea9f9795",
      "Name": "DocumentGroups",
      "Code": "RuleDocGroups",
      "EntityGuid": "c09f7e32-8f67-4e7d-9a5b-b93c0d780892",
      "IsEnabled": false,
      "IsShowedInList": false,
      "IsVisibility": false,
      "ListDataBinderTypeName": "Sungero.Presentation.CommonDataBinders.StringEditorToChildCollectionBinder",
      "PreviousPropertyGuid": "1dcedc29-5140-4770-ac92-eabc212326a1"
    },
    {
      "$type": "Sungero.Metadata.EnumPropertyMetadata, Sungero.Metadata",
      "NameGuid": "c74fe5c1-b21e-49c9-a550-7dfe5fb2e75c",
      "Name": "DocumentFlow",
      "Code": "DocumentFlow",
      "DirectValues": [
        {
          "NameGuid": "85db3e7f-a25b-4461-93f4-aca59955a7a3",
          "Name": "Incoming",
          "Code": "Incoming"
        },
        {
          "NameGuid": "6084c9d0-8f0a-480b-b23a-3f03ab5e5de0",
          "Name": "Outgoing",
          "Code": "Outgoing"
        },
        {
          "NameGuid": "44523dc7-7b2d-492a-8aa1-9fe3401b9e8e",
          "Name": "Inner",
          "Code": "Inner"
        },
        {
          "NameGuid": "1e65a36b-6c4a-4f26-91f9-0a826a4661e6",
          "Name": "Contracts",
          "Code": "Contracts"
        }
      ],
      "HandledEvents": [
        "ChangedShared"
      ],
      "IsRequired": true,
      "ListDataBinderTypeName": "Sungero.Presentation.CommonDataBinders.DropDownEditorToEnumerationBinder",
      "PreviousPropertyGuid": "d106c52e-0f28-4c96-9191-c34aea9f9795"
    },
    {
      "$type": "Sungero.Metadata.BooleanPropertyMetadata, Sungero.Metadata",
      "NameGuid": "54306a7c-3daa-47ee-ab7e-8126bead5e9a",
      "Name": "IsDefaultRule",
      "CanBeSearch": false,
      "Code": "IsDefaultRule",
      "IsEnabled": false,
      "IsShowedInList": false,
      "IsVisibility": false,
      "ListDataBinderTypeName": "Sungero.Presentation.CommonDataBinders.BooleanEditorToBooleanBinder",
      "PreviousPropertyGuid": "c74fe5c1-b21e-49c9-a550-7dfe5fb2e75c"
    },
    {
      "$type": "Sungero.Metadata.CollectionPropertyMetadata, Sungero.Metadata",
      "NameGuid": "756ba0fb-c93c-41dd-a09b-470c7392bafb",
      "Name": "Transitions",
      "Code": "RuleTransits",
      "EntityGuid": "f61f8073-bd3f-4c4f-857d-da2c22cb94f3",
      "HandledEvents": [
        "AddedShared"
      ],
      "IsShowedInList": false,
      "ListDataBinderTypeName": "Sungero.Presentation.CommonDataBinders.StringEditorToChildCollectionBinder",
      "PreviousPropertyGuid": "54306a7c-3daa-47ee-ab7e-8126bead5e9a"
    },
    {
      "$type": "Sungero.Metadata.CollectionPropertyMetadata, Sungero.Metadata",
      "NameGuid": "264e56a8-f5b2-4f22-aa5f-c20f54c4ab99",
      "Name": "Conditions",
      "Code": "RuleConditions",
      "EntityGuid": "924782de-a0ae-4b4c-aabe-2447acc39598",
      "HandledEvents": [
        "AddedShared"
      ],
      "IsShowedInList": false,
      "ListDataBinderTypeName": "Sungero.Presentation.CommonDataBinders.StringEditorToChildCollectionBinder",
      "PreviousPropertyGuid": "756ba0fb-c93c-41dd-a09b-470c7392bafb"
    },
    {
      "$type": "Sungero.Metadata.StringPropertyMetadata, Sungero.Metadata",
      "NameGuid": "0fdc1d26-132b-43be-9975-b86d54b4cd33",
      "Name": "Note",
      "Code": "Note",
      "Length": 1000,
      "ListDataBinderTypeName": "Sungero.Presentation.CommonDataBinders.StringEditorToStringBinder",
      "PreviousPropertyGuid": "264e56a8-f5b2-4f22-aa5f-c20f54c4ab99"
    },
    {
      "$type": "Sungero.Metadata.NavigationPropertyMetadata, Sungero.Metadata",
      "NameGuid": "56516769-89ef-4024-8061-600c72a6a18d",
      "Name": "ParentRule",
      "CanBeSearch": false,
      "Code": "ParentRule",
      "EntityGuid": "42a6a084-6828-47d9-95bb-50b0538a6037",
      "FlatListInStandaloneLookup": true,
      "IsEnabled": false,
      "ListDataBinderTypeName": "Sungero.Presentation.CommonDataBinders.DropDownEditorToNavigationBinder",
      "PreviousPropertyGuid": "d814276f-f262-4c38-8f34-6325bb316626"
    },
    {
      "$type": "Sungero.Metadata.IntegerPropertyMetadata, Sungero.Metadata",
      "NameGuid": "d814276f-f262-4c38-8f34-6325bb316626",
      "Name": "VersionNumber",
      "CanBeSearch": false,
      "Code": "VersionNumber",
      "IsEnabled": false,
      "IsLoadEagerly": true,
      "IsRequired": true,
      "ListDataBinderTypeName": "Sungero.Presentation.CommonDataBinders.NumericEditorToIntAndDoubleBinder",
      "PreviousPropertyGuid": "0fdc1d26-132b-43be-9975-b86d54b4cd33"
    },
    {
      "$type": "Sungero.Metadata.BooleanPropertyMetadata, Sungero.Metadata",
      "NameGuid": "7322c241-7bd7-4434-97ff-a87704860cc7",
      "Name": "IsSmallApprovalAllowed",
      "Code": "IsSmallApprova",
      "ListDataBinderTypeName": "Sungero.Presentation.CommonDataBinders.BooleanEditorToBooleanBinder",
      "PreviousPropertyGuid": "56516769-89ef-4024-8061-600c72a6a18d"
    }
  ],
  "PublicFunctions": [
    {
      "Name": "AddDocumentKindToCondition",
      "Parameters": [
        {
          "Name": "approvalRuleBase",
          "ParameterType": "global::Sungero.Docflow.IApprovalRuleBase",
          "ParameterTypeFullName": "Sungero.Docflow.IApprovalRuleBase, Sungero.Domain.Interfaces"
        },
        {
          "Name": "condition",
          "ParameterType": "global::Sungero.Docflow.IConditionBase",
          "ParameterTypeFullName": "Sungero.Docflow.IConditionBase, Sungero.Domain.Interfaces"
        }
      ],
      "Placement": "Shared",
      "ReturnType": "void",
      "ReturnTypeFullName": "System.Void"
    },
    {
      "Name": "CreateAutoTransitions",
      "Parameters": [
        {
          "Name": "rule",
          "ParameterType": "global::Sungero.Docflow.IApprovalRuleBase",
          "ParameterTypeFullName": "Sungero.Docflow.IApprovalRuleBase, Sungero.Domain.Interfaces"
        }
      ],
      "Placement": "Shared",
      "ReturnType": "void",
      "ReturnTypeFullName": "System.Void"
    },
    {
      "Name": "FormatStageSubject",
      "Parameters": [
        {
          "Name": "stage",
          "ParameterType": "global::Sungero.Docflow.IApprovalStage",
          "ParameterTypeFullName": "Sungero.Docflow.IApprovalStage, Sungero.Domain.Interfaces"
        },
        {
          "Name": "document",
          "ParameterType": "global::Sungero.Content.IElectronicDocument",
          "ParameterTypeFullName": "Sungero.Content.IElectronicDocument, Sungero.Content.Shared"
        }
      ],
      "ReturnType": "global::System.String",
      "ReturnTypeFullName": "System.String"
    },
    {
      "Name": "GetApprovalRulesByDocumentKind",
      "Parameters": [
        {
          "Name": "documentKind",
          "ParameterType": "global::Sungero.Docflow.IDocumentKind",
          "ParameterTypeFullName": "Sungero.Docflow.IDocumentKind, Sungero.Domain.Interfaces"
        }
      ],
      "ReturnType": "global::System.Linq.IQueryable<global::Sungero.Docflow.IApprovalRuleBase>",
      "ReturnTypeFullName": "System.Linq.IQueryable"
    },
    {
      "Name": "GetApproversByRule",
      "Parameters": [
        {
          "Name": "rule",
          "ParameterType": "global::Sungero.Docflow.IApprovalRuleBase",
          "ParameterTypeFullName": "Sungero.Docflow.IApprovalRuleBase, Sungero.Domain.Interfaces"
        },
        {
          "Name": "transitions",
          "ParameterType": "global::System.Collections.Generic.List<global::System.Int32>",
          "ParameterTypeFullName": "System.Collections.Generic.List"
        }
      ],
      "ReturnType": "global::System.String",
      "ReturnTypeFullName": "System.String"
    },
    {
      "Name": "GetAvailableRulesByDocument",
      "IsRemote": true,
      "Parameters": [
        {
          "Name": "document",
          "ParameterType": "global::Sungero.Docflow.IOfficialDocument",
          "ParameterTypeFullName": "Sungero.Docflow.IOfficialDocument, Sungero.Domain.Interfaces"
        }
      ],
      "Placement": "Shared",
      "ReturnType": "global::System.Linq.IQueryable<global::Sungero.Docflow.IApprovalRuleBase>",
      "ReturnTypeFullName": "System.Linq.IQueryable"
    },
    {
      "Name": "GetAvailableRulesByParams",
      "Parameters": [
        {
          "Name": "documentFlow",
          "ParameterType": "global::System.Nullable<global::Sungero.Core.Enumeration>",
          "ParameterTypeFullName": "System.Nullable"
        },
        {
          "Name": "businessUnit",
          "ParameterType": "global::Sungero.Company.IBusinessUnit",
          "ParameterTypeFullName": "Sungero.Company.IBusinessUnit, Sungero.Domain.Interfaces"
        },
        {
          "Name": "documentKind",
          "ParameterType": "global::Sungero.Docflow.IDocumentKind",
          "ParameterTypeFullName": "Sungero.Docflow.IDocumentKind, Sungero.Domain.Interfaces"
        },
        {
          "Name": "department",
          "ParameterType": "global::Sungero.Company.IDepartment",
          "ParameterTypeFullName": "Sungero.Company.IDepartment, Sungero.Domain.Interfaces"
        },
        {
          "Name": "documentGroup",
          "ParameterType": "global::Sungero.Docflow.IDocumentGroupBase",
          "ParameterTypeFullName": "Sungero.Docflow.IDocumentGroupBase, Sungero.Domain.Interfaces"
        }
      ],
      "ReturnType": "global::System.Linq.IQueryable<global::Sungero.Docflow.IApprovalRuleBase>",
      "ReturnTypeFullName": "System.Linq.IQueryable"
    },
    {
      "Name": "GetDoubleRules",
      "IsRemote": true,
      "Parameters": [
        {
          "Name": "approvalRuleBase",
          "ParameterType": "global::Sungero.Docflow.IApprovalRuleBase",
          "ParameterTypeFullName": "Sungero.Docflow.IApprovalRuleBase, Sungero.Domain.Interfaces"
        }
      ],
      "Placement": "Shared",
      "ReturnType": "global::System.Collections.Generic.List<global::Sungero.Docflow.IApprovalRuleBase>",
      "ReturnTypeFullName": "System.Collections.Generic.List"
    },
    {
      "Name": "GetEmployeeByAssignee",
      "Parameters": [
        {
          "Name": "assignee",
          "ParameterType": "global::Sungero.CoreEntities.IRecipient",
          "ParameterTypeFullName": "Sungero.CoreEntities.IRecipient, Sungero.Domain.Shared"
        }
      ],
      "ReturnType": "global::Sungero.Company.IEmployee",
      "ReturnTypeFullName": "Sungero.Company.IEmployee, Sungero.Domain.Interfaces"
    },
    {
      "Name": "GetRuleByParamsIds",
      "Parameters": [
        {
          "Name": "activeRules",
          "ParameterType": "global::System.Collections.Generic.List<global::Sungero.Docflow.IApprovalRuleBase>",
          "ParameterTypeFullName": "System.Collections.Generic.List"
        },
        {
          "Name": "documentFlow",
          "ParameterType": "global::System.Nullable<global::Sungero.Core.Enumeration>",
          "ParameterTypeFullName": "System.Nullable"
        },
        {
          "Name": "businessUnitId",
          "ParameterType": "global::System.Int32",
          "ParameterTypeFullName": "System.Int32"
        },
        {
          "Name": "documentKindId",
          "ParameterType": "global::System.Int32",
          "ParameterTypeFullName": "System.Int32"
        },
        {
          "Name": "departmentId",
          "ParameterType": "global::System.Int32",
          "ParameterTypeFullName": "System.Int32"
        },
        {
          "Name": "documentGroupId",
          "ParameterType": "global::System.Int32",
          "ParameterTypeFullName": "System.Int32"
        }
      ],
      "ReturnType": "global::Sungero.Docflow.IApprovalRuleBase",
      "ReturnTypeFullName": "Sungero.Docflow.IApprovalRuleBase, Sungero.Domain.Interfaces"
    },
    {
      "Name": "GetRulesByParamsIds",
      "Parameters": [
        {
          "Name": "activeRules",
          "ParameterType": "global::System.Collections.Generic.List<global::Sungero.Docflow.IApprovalRuleBase>",
          "ParameterTypeFullName": "System.Collections.Generic.List"
        },
        {
          "Name": "documentFlow",
          "ParameterType": "global::System.Nullable<global::Sungero.Core.Enumeration>",
          "ParameterTypeFullName": "System.Nullable"
        },
        {
          "Name": "businessUnitId",
          "ParameterType": "global::System.Int32",
          "ParameterTypeFullName": "System.Int32"
        },
        {
          "Name": "documentKindId",
          "ParameterType": "global::System.Int32",
          "ParameterTypeFullName": "System.Int32"
        },
        {
          "Name": "departmentId",
          "ParameterType": "global::System.Int32",
          "ParameterTypeFullName": "System.Int32"
        },
        {
          "Name": "documentGroupId",
          "ParameterType": "global::System.Int32",
          "ParameterTypeFullName": "System.Int32"
        }
      ],
      "ReturnType": "global::System.Linq.IQueryable<global::Sungero.Docflow.IApprovalRuleBase>",
      "ReturnTypeFullName": "System.Linq.IQueryable"
    },
    {
      "Name": "GetSignatureSetting",
      "Parameters": [
        {
          "Name": "approvalRuleBase",
          "ParameterType": "global::Sungero.Docflow.IApprovalRuleBase",
          "ParameterTypeFullName": "Sungero.Docflow.IApprovalRuleBase, Sungero.Domain.Interfaces"
        },
        {
          "Name": "businessUnit",
          "ParameterType": "global::Sungero.Company.IBusinessUnit",
          "ParameterTypeFullName": "Sungero.Company.IBusinessUnit, Sungero.Domain.Interfaces"
        },
        {
          "Name": "kind",
          "ParameterType": "global::Sungero.Docflow.IDocumentKind",
          "ParameterTypeFullName": "Sungero.Docflow.IDocumentKind, Sungero.Domain.Interfaces"
        },
        {
          "Name": "minAmount",
          "ParameterType": "global::System.Nullable<global::System.Double>",
          "ParameterTypeFullName": "System.Nullable"
        },
        {
          "Name": "departments",
          "ParameterType": "global::System.Collections.Generic.List<global::Sungero.Company.IDepartment>",
          "ParameterTypeFullName": "System.Collections.Generic.List"
        }
      ],
      "ReturnType": "global::System.Linq.IQueryable<global::Sungero.Docflow.ISignatureSetting>",
      "ReturnTypeFullName": "System.Linq.IQueryable"
    },
    {
      "Name": "GetStagesStateView",
      "Parameters": [
        {
          "Name": "assignment",
          "ParameterType": "global::Sungero.Workflow.IAssignment",
          "ParameterTypeFullName": "Sungero.Workflow.IAssignment, Sungero.Workflow.Interfaces"
        }
      ],
      "ReturnType": "global::Sungero.Core.StateView",
      "ReturnTypeFullName": "Sungero.Core.StateView, Sungero.Domain.Shared"
    },
    {
      "Name": "GetStagesStateView",
      "Parameters": [
        {
          "Name": "assignment",
          "ParameterType": "global::Sungero.Workflow.INotice",
          "ParameterTypeFullName": "Sungero.Workflow.INotice, Sungero.Workflow.Interfaces"
        }
      ],
      "ReturnType": "global::Sungero.Core.StateView",
      "ReturnTypeFullName": "Sungero.Core.StateView, Sungero.Domain.Shared"
    },
    {
      "Name": "GetStagesStateView",
      "Parameters": [
        {
          "Name": "task",
          "ParameterType": "global::Sungero.Docflow.IApprovalTask",
          "ParameterTypeFullName": "Sungero.Docflow.IApprovalTask, Sungero.Domain.Interfaces"
        },
        {
          "Name": "additionalApprovers",
          "ParameterType": "global::System.Collections.Generic.List<global::Sungero.CoreEntities.IRecipient>",
          "ParameterTypeFullName": "System.Collections.Generic.List"
        },
        {
          "Name": "signatory",
          "ParameterType": "global::Sungero.Company.IEmployee",
          "ParameterTypeFullName": "Sungero.Company.IEmployee, Sungero.Domain.Interfaces"
        },
        {
          "Name": "addressee",
          "ParameterType": "global::Sungero.Company.IEmployee",
          "ParameterTypeFullName": "Sungero.Company.IEmployee, Sungero.Domain.Interfaces"
        },
        {
          "Name": "deliveryMethod",
          "ParameterType": "global::Sungero.Docflow.IMailDeliveryMethod",
          "ParameterTypeFullName": "Sungero.Docflow.IMailDeliveryMethod, Sungero.Domain.Interfaces"
        },
        {
          "Name": "exchangeService",
          "ParameterType": "global::Sungero.ExchangeCore.IExchangeService",
          "ParameterTypeFullName": "Sungero.ExchangeCore.IExchangeService, Sungero.Domain.Interfaces"
        }
      ],
      "ReturnType": "global::Sungero.Core.StateView",
      "ReturnTypeFullName": "Sungero.Core.StateView, Sungero.Domain.Shared"
    },
    {
      "Name": "GetStagesStateView",
      "Parameters": [
        {
          "Name": "task",
          "ParameterType": "global::Sungero.Docflow.IApprovalTask",
          "ParameterTypeFullName": "Sungero.Docflow.IApprovalTask, Sungero.Domain.Interfaces"
        },
        {
          "Name": "additionalApprovers",
          "ParameterType": "global::System.Collections.Generic.List<global::Sungero.CoreEntities.IRecipient>",
          "ParameterTypeFullName": "System.Collections.Generic.List"
        },
        {
          "Name": "signatory",
          "ParameterType": "global::Sungero.Company.IEmployee",
          "ParameterTypeFullName": "Sungero.Company.IEmployee, Sungero.Domain.Interfaces"
        },
        {
          "Name": "addressee",
          "ParameterType": "global::Sungero.Company.IEmployee",
          "ParameterTypeFullName": "Sungero.Company.IEmployee, Sungero.Domain.Interfaces"
        },
        {
          "Name": "deliveryMethod",
          "ParameterType": "global::Sungero.Docflow.IMailDeliveryMethod",
          "ParameterTypeFullName": "Sungero.Docflow.IMailDeliveryMethod, Sungero.Domain.Interfaces"
        },
        {
          "Name": "exchangeService",
          "ParameterType": "global::Sungero.ExchangeCore.IExchangeService",
          "ParameterTypeFullName": "Sungero.ExchangeCore.IExchangeService, Sungero.Domain.Interfaces"
        },
        {
          "Name": "withApprovalRule",
          "ParameterType": "global::System.Boolean",
          "ParameterTypeFullName": "System.Boolean"
        }
      ],
      "ReturnType": "global::Sungero.Core.StateView",
      "ReturnTypeFullName": "Sungero.Core.StateView, Sungero.Domain.Shared"
    }
  ],
  "PublicStructures": [],
  "ResourcesKeys": [
    "ManyAdditionallyApp",
    "ManyManager",
    "ManySign",
    "ManyRegister",
    "ApproveBeforeSign",
    "StageNumbersMustBeUnique",
    "RuleHasTasksInProcess",
    "DuplicateNotFound",
    "DuplicateDetected",
    "CantRegisterAllDocumentKinds",
    "IncompatibleDocumentGroupsExcluded",
    "IncompatibleDocumentKindsExcluded",
    "RuleMustHaveAtLeastOneStage",
    "StateViewSignHeader",
    "StateViewSignNone",
    "StateViewSignSignatory",
    "StateViewApproveStartType",
    "StateViewApproveReworkAfterEach",
    "StateViewStatusCompleted",
    "StateViewStatusAborted",
    "StateViewStatusInProcess",
    "StateViewHeaderPrint",
    "StateViewHeaderSimpleAgreement",
    "StateViewManagerNone",
    "StateViewApproversNone",
    "StateViewAddresseeNone",
    "StateViewAssistantNone",
    "ReviewAndSignStageShouldBeBeforeExecution",
    "ManyExecution",
    "ManyReview",
    "StateViewHeaderUndefinedCondition",
    "StateViewFillingReviewingResultHeader",
    "StateViewAddressee",
    "StateViewHeaderDocumentNone",
    "StateViewHeaderNotice",
    "ExecutionStageWithoutReviewOrSign",
    "SignStageShouldBeBeforeReview",
    "ChartGroupApproval",
    "ChartGroupDocumentHandling",
    "ChartGroupCounterpartyEndorsing",
    "ChartGroupConditions",
    "ChartDeleteQuestion",
    "ConditionNotSupportedByThisDocument",
    "ChartDeleteConditionRemark",
    "ConfigStagesOnSchema",
    "ConfigConditionsOnSchema",
    "ReviewStageShouldBeBeforeExecution",
    "SignStageShouldBeBeforeExecution",
    "UnreachableRoutesExists",
    "CantUseRoleWithoutStage",
    "StateViewApproverNone",
    "CantUseProjectRole",
    "StageNotSupportedByThisDocument",
    "ApprovalRuleSetActive",
    "NewVersionNotAllowed",
    "SignatureSettingsNotSet",
    "Addressee",
    "Action_DoCloseConfirmationDescription",
    "ClosePreviousRule",
    "Action_CreateVersionConfirmationDescriptionStatusClosed",
    "Action_CreateVersionConfirmationDescriptionStatusNotClosed",
    "StateViewSendNote",
    "StateViewSendToManyAddressees",
    "ConditionNotAvaliableDocumentFlow",
    "ConditionNotAvaliableDocumentKind"
  ],
  "RibbonCardMetadata": {
    "NameGuid": "66aa269d-e882-47fb-aca2-9c5c48c8ed98",
    "Name": "RibbonCard",
    "Categories": [],
    "Elements": [
      {
        "$type": "Sungero.Metadata.RibbonActionButtonMetadata, Sungero.Metadata",
        "NameGuid": "5a6b7df2-e326-4672-a9e3-0617e54354e0",
        "Name": "ShowActiveTasks",
        "ActionGuid": "d0788b6b-b335-4f37-90c0-bf6c8c54bf72",
        "ButtonSize": "Large",
        "Index": 30,
        "ParentGuid": "f5671141-d97a-40aa-962c-24aa87a848f1"
      },
      {
        "$type": "Sungero.Metadata.RibbonActionButtonMetadata, Sungero.Metadata",
        "NameGuid": "bb823ba3-7008-4a05-ba45-2f3467292bc9",
        "Name": "ShowDuplicate",
        "ActionGuid": "adc5439c-2189-45a7-a820-6a1d25011804",
        "ButtonSize": "Large",
        "Index": 31,
        "ParentGuid": "f5671141-d97a-40aa-962c-24aa87a848f1"
      },
      {
        "$type": "Sungero.Metadata.RibbonActionButtonMetadata, Sungero.Metadata",
        "NameGuid": "341595b1-4de1-4f85-8df1-f92365ca9c41",
        "Name": "TakeScreenshot",
        "ActionGuid": "cddbfefb-f51e-41cc-aa1f-751491307c9d",
        "ButtonSize": "Large",
        "Index": 0,
        "ParentGuid": "7abb704e-4e52-40b0-b521-27d77c13a0f9"
      },
      {
        "$type": "Sungero.Metadata.RibbonActionButtonMetadata, Sungero.Metadata",
        "NameGuid": "2bb82a8a-261f-4c18-a8e4-0b39d3a0f345",
        "Name": "CreateVersion",
        "ActionGuid": "c2f699e1-cecf-458b-bfe0-0b2efea4b94c",
        "ButtonSize": "Large",
        "Index": 0,
        "ParentGuid": "82debe6c-d3ef-4796-b03e-f145372b40df"
      },
      {
        "$type": "Sungero.Metadata.RibbonActionButtonMetadata, Sungero.Metadata",
        "NameGuid": "4ad481b1-6fe1-4894-9eef-45315d457070",
        "Name": "DoActive",
        "ActionGuid": "693f88ef-728a-4f8b-8ea4-1a9be059feb3",
        "ButtonSize": "Large",
        "Index": 1,
        "ParentGuid": "82debe6c-d3ef-4796-b03e-f145372b40df"
      },
      {
        "$type": "Sungero.Metadata.RibbonActionButtonMetadata, Sungero.Metadata",
        "NameGuid": "110e59e1-2844-4e65-afa2-cf645b31555f",
        "Name": "DoClose",
        "ActionGuid": "cfdb7544-51e6-4eb2-9eff-75ec8a25a76a",
        "ButtonSize": "Large",
        "Index": 2,
        "ParentGuid": "82debe6c-d3ef-4796-b03e-f145372b40df"
      },
      {
        "$type": "Sungero.Metadata.RibbonActionButtonMetadata, Sungero.Metadata",
        "NameGuid": "486353b9-33c4-42ed-b7d0-9c37e16f8446",
        "Name": "ShowAllVersions",
        "ActionGuid": "dce5758d-7a3c-414d-8815-ea5e76c95fd7",
        "ButtonSize": "Large",
        "Index": 32,
        "ParentGuid": "f5671141-d97a-40aa-962c-24aa87a848f1"
      },
      {
        "$type": "Sungero.Metadata.RibbonActionButtonMetadata, Sungero.Metadata",
        "NameGuid": "210b92f0-b28f-4cc3-b68b-085259dac8ff",
        "Name": "SearchFoldersContainsLinkToEntity",
        "ActionGuid": "9a5d804d-30ea-4c24-9278-ce80cc4b9075",
        "ButtonSize": "Large",
        "Index": 3,
        "IsAncestorMetadata": true,
        "Overridden": [
          "Index"
        ],
        "ParentGuid": "f5671141-d97a-40aa-962c-24aa87a848f1"
      },
      {
        "$type": "Sungero.Metadata.RibbonActionButtonMetadata, Sungero.Metadata",
        "NameGuid": "d0c0ab95-cdf7-4114-b6ae-c14f73646918",
        "Name": "PrintApprovalRule",
        "ActionGuid": "e83c7b24-2407-4ecb-8927-62d7db5f4d32",
        "ButtonSize": "Large",
        "Index": -2,
        "ParentGuid": "5ff9cc5e-b9e1-4886-bf71-fe47c1add152"
      }
    ],
    "Groups": [
      {
        "NameGuid": "7abb704e-4e52-40b0-b521-27d77c13a0f9",
        "Name": "Scheme",
        "IconName": "Ribbon_Scheme_7abb704e4e5240b0b52127d77c13a0f9.png",
        "Index": 23,
        "ParentGuid": "21a31627-5f58-4416-8c4a-90f538ee2e57",
        "SmallIconName": "Ribbon_Scheme_small_7abb704e4e5240b0b52127d77c13a0f9.png"
      },
      {
        "NameGuid": "82debe6c-d3ef-4796-b03e-f145372b40df",
        "Name": "Version",
        "IconName": "Ribbon_Version_82debe6cd3ef4796b03ef145372b40df.png",
        "Index": 21,
        "ParentGuid": "21a31627-5f58-4416-8c4a-90f538ee2e57",
        "SmallIconName": "Ribbon_Version_small_82debe6cd3ef4796b03ef145372b40df.png"
      },
      {
        "NameGuid": "5ff9cc5e-b9e1-4886-bf71-fe47c1add152",
        "Name": "Reports",
        "IconName": "Ribbon_ApprovalRule_5ff9cc5eb9e14886bf71fe47c1add152.png",
        "Index": 22,
        "ParentGuid": "21a31627-5f58-4416-8c4a-90f538ee2e57",
        "SmallIconName": "Ribbon_ApprovalRule_small_5ff9cc5eb9e14886bf71fe47c1add152.png"
      }
    ],
    "IsAncestorMetadata": true,
    "Pages": [],
    "RibbonKind": "Card"
  },
  "RibbonCollectionMetadata": {
    "NameGuid": "b3dcb5d9-f091-4383-a4e9-93f083d34810",
    "Name": "RibbonCollection",
    "Categories": [],
    "Elements": [
      {
        "$type": "Sungero.Metadata.RibbonActionButtonMetadata, Sungero.Metadata",
        "NameGuid": "52170e12-7983-4dd7-995d-e8cfab36eafe",
        "Name": "ShowApprovalRulesConsolidatedReport",
        "ActionGuid": "b7dfcec6-a10e-40ab-9d20-dbf2b4a661cd",
        "ButtonSize": "Large",
        "Index": 1,
        "ParentGuid": "5981ad88-b871-4f3d-8b4d-9ae68ac77c83"
      },
      {
        "$type": "Sungero.Metadata.RibbonActionButtonMetadata, Sungero.Metadata",
        "NameGuid": "5f26444b-5429-42e8-a112-acf03687e144",
        "Name": "PrintApprovalRule",
        "ActionGuid": "e83c7b24-2407-4ecb-8927-62d7db5f4d32",
        "ButtonSize": "Large",
        "Index": 2,
        "IsShowInContextMenu": true,
        "ParentGuid": "5981ad88-b871-4f3d-8b4d-9ae68ac77c83"
      }
    ],
    "Groups": [
      {
        "NameGuid": "5981ad88-b871-4f3d-8b4d-9ae68ac77c83",
        "Name": "Reports",
        "IconName": "Ribbon_Reports_5981ad88b8714f3d8b4d9ae68ac77c83.png",
        "Index": 22,
        "ParentGuid": "3a9d7dc2-d662-4966-9fdc-c8004b9c83e2",
        "SmallIconName": "Ribbon_Reports_small_5981ad88b8714f3d8b4d9ae68ac77c83.png"
      }
    ],
    "IsAncestorMetadata": true,
    "Pages": []
  },
  "Versions": [
    {
      "Type": "EntityMetadata",
      "Number": 9
    },
    {
      "Type": "DomainApi",
      "Number": 2
    }
  ]
}