Skip to content
Snippets Groups Projects
Commit 83078768 authored by S.Listl's avatar S.Listl
Browse files

Bulkmail copy: preset fields done in the afterUiInit process

parent 0d881691
No related branches found
No related tags found
No related merge requests found
......@@ -15,8 +15,8 @@ if(vars.get("$sys.recordstate") == neon.OPERATINGSTATE_NEW
var usages = newSelect("OBJECT_TYPE")
.from("AB_ATTRIBUTEUSAGE")
.and("AB_ATTRIBUTEUSAGE.AB_ATTRIBUTE_ID", parentId)
.array(db.COLUMN, true)
.where("AB_ATTRIBUTEUSAGE.AB_ATTRIBUTE_ID", parentId)
.arrayColumn(true)
//preset the usages with the ones from the parent
usages.forEach(function (usage)
......
......@@ -7,6 +7,7 @@
<title>Bulk mail</title>
<grantUpdateProcess>%aditoprj%/entity/BulkMail_entity/grantUpdateProcess.js</grantUpdateProcess>
<contentTitleProcess>%aditoprj%/entity/BulkMail_entity/contentTitleProcess.js</contentTitleProcess>
<afterUiInit>%aditoprj%/entity/BulkMail_entity/afterUiInit.js</afterUiInit>
<iconId>VAADIN:AT</iconId>
<titlePlural>Bulk mails</titlePlural>
<recordContainer>db</recordContainer>
......@@ -16,7 +17,6 @@
</entityProvider>
<entityField>
<name>BULKMAILID</name>
<valueProcess>%aditoprj%/entity/BulkMail_entity/entityfields/bulkmailid/valueProcess.js</valueProcess>
</entityField>
<entityField>
<name>NAME</name>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment