Skip to content

Commit

Permalink
LRDOCS-12695 Add Distributor App Object (9)
Browse files Browse the repository at this point in the history
  • Loading branch information
Claudioss23 authored and brianchandotcom committed May 13, 2024
1 parent e596df4 commit de7a33d
Showing 1 changed file with 72 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1487,7 +1487,7 @@
},
"objectDefinitionExternalReferenceCode": "D4B8_DISTRIBUTOR_APPLICATION",
"outputType": "fullValidation",
"script": "isEmailAddress(applicantEmailAddress) OR applicantEmailAddress == \"\""
"script": "(applicantEmailAddress == \"\") OR isEmailAddress(applicantEmailAddress)"
},
{
"active": true,
Expand All @@ -1501,7 +1501,7 @@
},
"objectDefinitionExternalReferenceCode": "D4B8_DISTRIBUTOR_APPLICATION",
"outputType": "fullValidation",
"script": "isEmailAddress(primaryContactEmailAddress) OR primaryContactEmailAddress == \"\""
"script": "(primaryContactEmailAddress == \"\") OR isEmailAddress(primaryContactEmailAddress)"
},
{
"active": true,
Expand All @@ -1515,7 +1515,7 @@
},
"objectDefinitionExternalReferenceCode": "D4B8_DISTRIBUTOR_APPLICATION",
"outputType": "fullValidation",
"script": "match(bankPhoneNumber, \"^(\\+\\d{1,3} ?)?((\\(\\d{1,3}\\))|\\d{1,3})[- .]?\\d{3,4}[- .]?\\d{4}$\") OR bankPhoneNumber == \"\""
"script": "(bankPhoneNumber == \"\") OR match(bankPhoneNumber, \"^(\\+\\d{1,3} ?)?((\\(\\d{1,3}\\))|\\d{1,3})[- .]?\\d{3,4}[- .]?\\d{4}$\")"
},
{
"active": true,
Expand All @@ -1529,7 +1529,7 @@
},
"objectDefinitionExternalReferenceCode": "D4B8_DISTRIBUTOR_APPLICATION",
"outputType": "fullValidation",
"script": "match(businessPhoneNumber, \"^(\\+\\d{1,3} ?)?((\\(\\d{1,3}\\))|\\d{1,3})[- .]?\\d{3,4}[- .]?\\d{4}$\") OR businessPhoneNumber == \"\""
"script": "(businessPhoneNumber == \"\") OR match(businessPhoneNumber, \"^(\\+\\d{1,3} ?)?((\\(\\d{1,3}\\))|\\d{1,3})[- .]?\\d{3,4}[- .]?\\d{4}$\")"
},
{
"active": true,
Expand All @@ -1543,7 +1543,7 @@
},
"objectDefinitionExternalReferenceCode": "D4B8_DISTRIBUTOR_APPLICATION",
"outputType": "fullValidation",
"script": "match(primaryContactPhoneNumber, \"^(\\+\\d{1,3} ?)?((\\(\\d{1,3}\\))|\\d{1,3})[- .]?\\d{3,4}[- .]?\\d{4}$\") OR primaryContactPhoneNumber == \"\""
"script": "(primaryContactPhoneNumber == \"\") OR match(primaryContactPhoneNumber, \"^(\\+\\d{1,3} ?)?((\\(\\d{1,3}\\))|\\d{1,3})[- .]?\\d{3,4}[- .]?\\d{4}$\")"
},
{
"active": true,
Expand All @@ -1557,7 +1557,7 @@
},
"objectDefinitionExternalReferenceCode": "D4B8_DISTRIBUTOR_APPLICATION",
"outputType": "fullValidation",
"script": "match(referencePhoneNumber, \"^(\\+\\d{1,3} ?)?((\\(\\d{1,3}\\))|\\d{1,3})[- .]?\\d{3,4}[- .]?\\d{4}$\") OR referencePhoneNumber == \"\""
"script": "(referencePhoneNumber == \"\") OR match(referencePhoneNumber, \"^(\\+\\d{1,3} ?)?((\\(\\d{1,3}\\))|\\d{1,3})[- .]?\\d{3,4}[- .]?\\d{4}$\")"
},
{
"active": true,
Expand All @@ -1573,7 +1573,72 @@
"outputType": "fullValidation",
"script": "(businessWebsiteURL == \"\") OR isURL(businessWebsiteURL)"
}
]
],
"objectViews": [
{
"defaultObjectView": true,
"name": {
"en_US": "Application View"
},
"objectDefinitionExternalReferenceCode": "D4B8_DISTRIBUTOR_APPLICATION",
"objectViewColumns": [
{
"label": {
"en_US": "ID"
},
"objectFieldName": "id",
"priority": 0
},
{
"label": {
"en_US": "Applicant Name"
},
"objectFieldName": "applicantName",
"priority": 1
},
{
"label": {
"en_US": "Business Name"
},
"objectFieldName": "businessName",
"priority": 2
},
{
"label": {
"en_US": "Create Date"
},
"objectFieldName": "createDate",
"priority": 3
},
{
"label": {
"en_US": "Application State"
},
"objectFieldName": "applicationState",
"priority": 4
},
{
"label": {
"en_US": "Status"
},
"objectFieldName": "status",
"priority": 5
}
]
}
],
"panelCategoryKey": "control_panel.object",
"pluralLabel": {
"en_US": "D4B8 Distributor Applications"
},
"restContextPath": "/o/c/d4b8distributorapplications",
"scope": "company",
"status": {
"code": 0,
"label": "approved",
"label_i18n": "Approved"
},
"titleObjectFieldName": "businessName"
}
]
}

0 comments on commit de7a33d

Please sign in to comment.