From dde8ed6956ee6be8cbdadea43b640aaa69422730 Mon Sep 17 00:00:00 2001
From: "b.ulrich" <b.ulrich@adito.de>
Date: Tue, 15 Sep 2020 08:55:43 +0200
Subject: [PATCH] [Projekt: Entwicklung - Neon][TicketNr.:
 1065247][Scanservice-meldungen von DocumentTemplate und ExportTemplate
 Entities fixien]

---
 .../DocumentTemplateLink_entity.aod                            | 1 +
 .../entityfields/links/documentation.adoc                      | 3 +++
 .../DocumentTemplatePlaceOfUse_entity.aod                      | 2 ++
 .../documenttemplateplaceofuse_param/documentation.adoc        | 3 +++
 .../entityfields/documenttemplateplaceofuse/documentation.adoc | 3 +++
 .../DocumentTemplateTypeCategory_entity.aod                    | 1 +
 .../entityfields/bycategory/documentation.adoc                 | 3 +++
 entity/DocumentTemplate_entity/DocumentTemplate_entity.aod     | 2 ++
 .../entityfields/attachments/documentation.adoc                | 3 +++
 .../entityfields/documenttemplateprovider/documentation.adoc   | 3 +++
 .../ExportTemplateField_entity/ExportTemplateField_entity.aod  | 1 +
 .../entityfields/exporttemplatefields/documentation.adoc       | 3 +++
 .../ExportTemplatePlaceOfUse_entity.aod                        | 1 +
 .../entityfields/exporttemplateplaceofuser/documentation.adoc  | 3 +++
 entity/ExportTemplate_entity/ExportTemplate_entity.aod         | 2 ++
 .../entityfields/exporttemplateids/documentation.adoc          | 3 +++
 16 files changed, 37 insertions(+)
 create mode 100644 entity/DocumentTemplateLink_entity/entityfields/links/documentation.adoc
 create mode 100644 entity/DocumentTemplatePlaceOfUse_entity/entityfields/documenttemplateplaceofuse/children/documenttemplateplaceofuse_param/documentation.adoc
 create mode 100644 entity/DocumentTemplatePlaceOfUse_entity/entityfields/documenttemplateplaceofuse/documentation.adoc
 create mode 100644 entity/DocumentTemplateTypeCategory_entity/entityfields/bycategory/documentation.adoc
 create mode 100644 entity/DocumentTemplate_entity/entityfields/attachments/documentation.adoc
 create mode 100644 entity/DocumentTemplate_entity/entityfields/documenttemplateprovider/documentation.adoc
 create mode 100644 entity/ExportTemplateField_entity/entityfields/exporttemplatefields/documentation.adoc
 create mode 100644 entity/ExportTemplatePlaceOfUse_entity/entityfields/exporttemplateplaceofuser/documentation.adoc
 create mode 100644 entity/ExportTemplate_entity/entityfields/exporttemplateids/documentation.adoc

diff --git a/entity/DocumentTemplateLink_entity/DocumentTemplateLink_entity.aod b/entity/DocumentTemplateLink_entity/DocumentTemplateLink_entity.aod
index dcd594f7b7..e848d6cbed 100644
--- a/entity/DocumentTemplateLink_entity/DocumentTemplateLink_entity.aod
+++ b/entity/DocumentTemplateLink_entity/DocumentTemplateLink_entity.aod
@@ -67,6 +67,7 @@
     <entityProvider>
       <name>Links</name>
       <targetIdField>DOCUMENTTEMPLATE_ID_CHILD</targetIdField>
+      <documentation>%aditoprj%/entity/DocumentTemplateLink_entity/entityfields/links/documentation.adoc</documentation>
       <recordContainer>db</recordContainer>
       <dependencies>
         <entityDependency>
diff --git a/entity/DocumentTemplateLink_entity/entityfields/links/documentation.adoc b/entity/DocumentTemplateLink_entity/entityfields/links/documentation.adoc
new file mode 100644
index 0000000000..7a84ce185c
--- /dev/null
+++ b/entity/DocumentTemplateLink_entity/entityfields/links/documentation.adoc
@@ -0,0 +1,3 @@
+= DocumentTemplateLink_entity - Links
+
+needed instead of the #PROVIDER so the DocumentId_param and Type_param can be used
\ No newline at end of file
diff --git a/entity/DocumentTemplatePlaceOfUse_entity/DocumentTemplatePlaceOfUse_entity.aod b/entity/DocumentTemplatePlaceOfUse_entity/DocumentTemplatePlaceOfUse_entity.aod
index 3164b4edae..3e77638a51 100644
--- a/entity/DocumentTemplatePlaceOfUse_entity/DocumentTemplatePlaceOfUse_entity.aod
+++ b/entity/DocumentTemplatePlaceOfUse_entity/DocumentTemplatePlaceOfUse_entity.aod
@@ -47,6 +47,7 @@
     </entityConsumer>
     <entityProvider>
       <name>DocumentTemplatePlaceOfUse</name>
+      <documentation>%aditoprj%/entity/DocumentTemplatePlaceOfUse_entity/entityfields/documenttemplateplaceofuse/documentation.adoc</documentation>
       <dependencies>
         <entityDependency>
           <name>bc05b556-ecca-478c-9a92-b77e4d98d6f3</name>
@@ -59,6 +60,7 @@
         <entityParameter>
           <name>DocumentTemplatePlaceOfUse_param</name>
           <valueProcess>%aditoprj%/entity/DocumentTemplatePlaceOfUse_entity/entityfields/documenttemplateplaceofuse/children/documenttemplateplaceofuse_param/valueProcess.js</valueProcess>
+          <documentation>%aditoprj%/entity/DocumentTemplatePlaceOfUse_entity/entityfields/documenttemplateplaceofuse/children/documenttemplateplaceofuse_param/documentation.adoc</documentation>
         </entityParameter>
       </children>
     </entityProvider>
diff --git a/entity/DocumentTemplatePlaceOfUse_entity/entityfields/documenttemplateplaceofuse/children/documenttemplateplaceofuse_param/documentation.adoc b/entity/DocumentTemplatePlaceOfUse_entity/entityfields/documenttemplateplaceofuse/children/documenttemplateplaceofuse_param/documentation.adoc
new file mode 100644
index 0000000000..01180d3457
--- /dev/null
+++ b/entity/DocumentTemplatePlaceOfUse_entity/entityfields/documenttemplateplaceofuse/children/documenttemplateplaceofuse_param/documentation.adoc
@@ -0,0 +1,3 @@
+= DocumentTemplatePlaceOfUse_entity - DocumentTemplatePlaceOfUse
+
+needed instead of the #PROVIDER so the DocumentTemplatePlaceOfUse_param can be used to specify the place of use
\ No newline at end of file
diff --git a/entity/DocumentTemplatePlaceOfUse_entity/entityfields/documenttemplateplaceofuse/documentation.adoc b/entity/DocumentTemplatePlaceOfUse_entity/entityfields/documenttemplateplaceofuse/documentation.adoc
new file mode 100644
index 0000000000..fb626b8cd6
--- /dev/null
+++ b/entity/DocumentTemplatePlaceOfUse_entity/entityfields/documenttemplateplaceofuse/documentation.adoc
@@ -0,0 +1,3 @@
+= DocumentTemplatePlaceOfUse_entity - DocumentTemplatePlaceOfUse
+
+needed instead of the #PROVIDER so DocumentTemplatePlaceOfUse_param can be used
\ No newline at end of file
diff --git a/entity/DocumentTemplateTypeCategory_entity/DocumentTemplateTypeCategory_entity.aod b/entity/DocumentTemplateTypeCategory_entity/DocumentTemplateTypeCategory_entity.aod
index b70fb4f064..bea4c1751d 100644
--- a/entity/DocumentTemplateTypeCategory_entity/DocumentTemplateTypeCategory_entity.aod
+++ b/entity/DocumentTemplateTypeCategory_entity/DocumentTemplateTypeCategory_entity.aod
@@ -30,6 +30,7 @@
     <entityProvider>
       <name>ByCategory</name>
       <lookupIdfield>KEYID</lookupIdfield>
+      <documentation>%aditoprj%/entity/DocumentTemplateTypeCategory_entity/entityfields/bycategory/documentation.adoc</documentation>
       <recordContainer>db</recordContainer>
       <dependencies>
         <entityDependency>
diff --git a/entity/DocumentTemplateTypeCategory_entity/entityfields/bycategory/documentation.adoc b/entity/DocumentTemplateTypeCategory_entity/entityfields/bycategory/documentation.adoc
new file mode 100644
index 0000000000..3b14b668f8
--- /dev/null
+++ b/entity/DocumentTemplateTypeCategory_entity/entityfields/bycategory/documentation.adoc
@@ -0,0 +1,3 @@
+= DocumentTemplateTypeCategory_entity - ByCategory
+
+needed instead of the #PROVIDER so the usageFilter_param can be used
\ No newline at end of file
diff --git a/entity/DocumentTemplate_entity/DocumentTemplate_entity.aod b/entity/DocumentTemplate_entity/DocumentTemplate_entity.aod
index 1c1eb5c7b7..3cace11c7a 100644
--- a/entity/DocumentTemplate_entity/DocumentTemplate_entity.aod
+++ b/entity/DocumentTemplate_entity/DocumentTemplate_entity.aod
@@ -193,6 +193,7 @@
       <name>Attachments</name>
       <targetContextField>TARGET_CONTEXT</targetContextField>
       <targetIdField>DOCUMENTTEMPLATEID</targetIdField>
+      <documentation>%aditoprj%/entity/DocumentTemplate_entity/entityfields/attachments/documentation.adoc</documentation>
       <titlePlural>Attachments</titlePlural>
       <recordContainer>db</recordContainer>
       <dependencies>
@@ -232,6 +233,7 @@
     </entityParameter>
     <entityProvider>
       <name>DocumentTemplateProvider</name>
+      <documentation>%aditoprj%/entity/DocumentTemplate_entity/entityfields/documenttemplateprovider/documentation.adoc</documentation>
       <dependencies>
         <entityDependency>
           <name>9c10883d-eb73-4587-b758-693a66367a4c</name>
diff --git a/entity/DocumentTemplate_entity/entityfields/attachments/documentation.adoc b/entity/DocumentTemplate_entity/entityfields/attachments/documentation.adoc
new file mode 100644
index 0000000000..fffc7bdb91
--- /dev/null
+++ b/entity/DocumentTemplate_entity/entityfields/attachments/documentation.adoc
@@ -0,0 +1,3 @@
+= DocumentTemplate_entity - Attachments
+
+needed instead of the #PROVIDER so the DocumentTemplateType_param can be used
\ No newline at end of file
diff --git a/entity/DocumentTemplate_entity/entityfields/documenttemplateprovider/documentation.adoc b/entity/DocumentTemplate_entity/entityfields/documenttemplateprovider/documentation.adoc
new file mode 100644
index 0000000000..6b0863e66e
--- /dev/null
+++ b/entity/DocumentTemplate_entity/entityfields/documenttemplateprovider/documentation.adoc
@@ -0,0 +1,3 @@
+= DocumentTemplate_entity - DocumentTemplateProvider
+
+Provides the docTemplates to all the entities that need them using the comingFrom_param to specify which ones to display
\ No newline at end of file
diff --git a/entity/ExportTemplateField_entity/ExportTemplateField_entity.aod b/entity/ExportTemplateField_entity/ExportTemplateField_entity.aod
index 51ae4c0b8c..e010ab9f6c 100644
--- a/entity/ExportTemplateField_entity/ExportTemplateField_entity.aod
+++ b/entity/ExportTemplateField_entity/ExportTemplateField_entity.aod
@@ -32,6 +32,7 @@
     </entityField>
     <entityProvider>
       <name>ExportTemplateFields</name>
+      <documentation>%aditoprj%/entity/ExportTemplateField_entity/entityfields/exporttemplatefields/documentation.adoc</documentation>
       <dependencies>
         <entityDependency>
           <name>b111615c-cde3-46b7-b229-46cc2db004fd</name>
diff --git a/entity/ExportTemplateField_entity/entityfields/exporttemplatefields/documentation.adoc b/entity/ExportTemplateField_entity/entityfields/exporttemplatefields/documentation.adoc
new file mode 100644
index 0000000000..745d56fde3
--- /dev/null
+++ b/entity/ExportTemplateField_entity/entityfields/exporttemplatefields/documentation.adoc
@@ -0,0 +1,3 @@
+= ExoirtTemplateField_entity - ExportTemplateFields
+
+needed instead of the #PROVIDER so the ExportTemplateField_param can be used
\ No newline at end of file
diff --git a/entity/ExportTemplatePlaceOfUse_entity/ExportTemplatePlaceOfUse_entity.aod b/entity/ExportTemplatePlaceOfUse_entity/ExportTemplatePlaceOfUse_entity.aod
index dec30f9107..0dc5e1fc3a 100644
--- a/entity/ExportTemplatePlaceOfUse_entity/ExportTemplatePlaceOfUse_entity.aod
+++ b/entity/ExportTemplatePlaceOfUse_entity/ExportTemplatePlaceOfUse_entity.aod
@@ -55,6 +55,7 @@
     </entityParameter>
     <entityProvider>
       <name>ExportTemplatePlaceOfUser</name>
+      <documentation>%aditoprj%/entity/ExportTemplatePlaceOfUse_entity/entityfields/exporttemplateplaceofuser/documentation.adoc</documentation>
       <dependencies>
         <entityDependency>
           <name>c60a238a-51f0-4538-8c53-6921481ddd4c</name>
diff --git a/entity/ExportTemplatePlaceOfUse_entity/entityfields/exporttemplateplaceofuser/documentation.adoc b/entity/ExportTemplatePlaceOfUse_entity/entityfields/exporttemplateplaceofuser/documentation.adoc
new file mode 100644
index 0000000000..9713220ef6
--- /dev/null
+++ b/entity/ExportTemplatePlaceOfUse_entity/entityfields/exporttemplateplaceofuser/documentation.adoc
@@ -0,0 +1,3 @@
+= ExportTemplatePlaceOfUse_entity - ExportTemplatePlaceOfUser
+
+needed instead of the #PROVIDER so the ExportTemplatePlaceOfUse_param can be used
\ No newline at end of file
diff --git a/entity/ExportTemplate_entity/ExportTemplate_entity.aod b/entity/ExportTemplate_entity/ExportTemplate_entity.aod
index ff7e047785..fa020ece78 100644
--- a/entity/ExportTemplate_entity/ExportTemplate_entity.aod
+++ b/entity/ExportTemplate_entity/ExportTemplate_entity.aod
@@ -3,6 +3,7 @@
   <name>ExportTemplate_entity</name>
   <majorModelMode>DISTRIBUTED</majorModelMode>
   <documentation>%aditoprj%/entity/ExportTemplate_entity/documentation.adoc</documentation>
+  <icon>NEON:EXPORT</icon>
   <title>Export Template</title>
   <grantCreate v="true" />
   <grantUpdate v="true" />
@@ -108,6 +109,7 @@
     </entityConsumer>
     <entityProvider>
       <name>ExportTemplateIDs</name>
+      <documentation>%aditoprj%/entity/ExportTemplate_entity/entityfields/exporttemplateids/documentation.adoc</documentation>
       <recordContainer>db</recordContainer>
       <dependencies>
         <entityDependency>
diff --git a/entity/ExportTemplate_entity/entityfields/exporttemplateids/documentation.adoc b/entity/ExportTemplate_entity/entityfields/exporttemplateids/documentation.adoc
new file mode 100644
index 0000000000..2d3b77143c
--- /dev/null
+++ b/entity/ExportTemplate_entity/entityfields/exporttemplateids/documentation.adoc
@@ -0,0 +1,3 @@
+= ExportTemplate_entity - ExportTemplateIDs
+
+needed instead of the #PROVIDER so the comingFrom_param and ExportTemplateID_param can be used
\ No newline at end of file
-- 
GitLab