Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
basic
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
xrm
basic
Commits
1d5869df
Commit
1d5869df
authored
5 years ago
by
Andreas Schindlbeck
Browse files
Options
Downloads
Patches
Plain Diff
Appointment NEW init
parent
b04293c0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
entity/Appointment_entity/Appointment_entity.aod
+202
-203
202 additions, 203 deletions
entity/Appointment_entity/Appointment_entity.aod
entity/Appointment_entity/entityfields/attendees/valueProcess.js
+0
-15
0 additions, 15 deletions
...Appointment_entity/entityfields/attendees/valueProcess.js
with
202 additions
and
218 deletions
entity/Appointment_entity/Appointment_entity.aod
+
202
−
203
View file @
1d5869df
<?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>
Appointment_entity
</name>
<majorModelMode>
DISTRIBUTED
</majorModelMode>
<documentation>
%aditoprj%/entity/Appointment_entity/documentation.adoc
</documentation>
<title>
Termin
</title>
<afterUiInit>
%aditoprj%/entity/Appointment_entity/afterUiInit.js
</afterUiInit>
<recordContainer>
jdito
</recordContainer>
<entityFields>
<entityField>
<name>
SUMMARY
</name>
<title>
Betreff
</title>
<valueProcess>
%aditoprj%/entity/Appointment_entity/entityfields/summary/valueProcess.js
</valueProcess>
<onValueChange>
%aditoprj%/entity/Appointment_entity/entityfields/summary/onValueChange.js
</onValueChange>
<onValueChangeTypes>
<element>
MASK
</element>
<element>
PROCESS
</element>
<element>
PROCESS_SETVALUE
</element>
</onValueChangeTypes>
</entityField>
<entityField>
<name>
DESCRIPTION
</name>
</entityField>
<entityField>
<name>
CLASSIFICATION
</name>
<dropDownProcess>
%aditoprj%/entity/Appointment_entity/entityfields/classification/dropDownProcess.js
</dropDownProcess>
<valueProcess>
%aditoprj%/entity/Appointment_entity/entityfields/classification/valueProcess.js
</valueProcess>
</entityField>
<entityField>
<name>
BEGIN
</name>
<selectionMode>
SINGLE
</selectionMode>
<valueProcess>
%aditoprj%/entity/Appointment_entity/entityfields/begin/valueProcess.js
</valueProcess>
</entityField>
<entityField>
<name>
END
</name>
<valueProcess>
%aditoprj%/entity/Appointment_entity/entityfields/end/valueProcess.js
</valueProcess>
</entityField>
<entityFieldGroup>
<name>
STARTEND
</name>
<valueProcess>
%aditoprj%/entity/Appointment_entity/entityfields/startend/valueProcess.js
</valueProcess>
<description>
FIELDGROUP
</description>
<fields>
<element>
BEGIN
</element>
<element>
END
</element>
</fields>
</entityFieldGroup>
<entityField>
<name>
STATUS
</name>
<dropDownProcess>
%aditoprj%/entity/Appointment_entity/entityfields/status/dropDownProcess.js
</dropDownProcess>
</entityField>
<entityField>
<name>
LOCATION
</name>
</entityField>
<entityField>
<name>
REMINDER_CHECK
</name>
<valueProcess>
%aditoprj%/entity/Appointment_entity/entityfields/reminder_check/valueProcess.js
</valueProcess>
</entityField>
<entityField>
<name>
REMINDER
</name>
<valueProcess>
%aditoprj%/entity/Appointment_entity/entityfields/reminder/valueProcess.js
</valueProcess>
</entityField>
<entityField>
<name>
CATEGORIES
</name>
<dropDownProcess>
%aditoprj%/entity/Appointment_entity/entityfields/categories/dropDownProcess.js
</dropDownProcess>
</entityField>
<entityField>
<name>
ATTENDEES
</name>
<dropDownProcess>
%aditoprj%/entity/Appointment_entity/entityfields/attendees/dropDownProcess.js
</dropDownProcess>
<valueProcess>
%aditoprj%/entity/Appointment_entity/entityfields/attendees/valueProcess.js
</valueProcess>
</entityField>
<entityField>
<name>
TRANSPARENCY
</name>
<valueProcess>
%aditoprj%/entity/Appointment_entity/entityfields/transparency/valueProcess.js
</valueProcess>
</entityField>
<entityActionGroup>
<name>
PartStatActionGroup
</name>
<children>
<entityActionField>
<name>
accept
</name>
<title>
accept
</title>
<onActionProcess>
%aditoprj%/entity/Appointment_entity/entityfields/partstatactiongroup/children/accept/onActionProcess.js
</onActionProcess>
<actionOrder
v=
"0"
/>
<iconId>
VAADIN:CHECK
</iconId>
</entityActionField>
<entityActionField>
<name>
decline
</name>
<title>
decline
</title>
<description></description>
<onActionProcess>
%aditoprj%/entity/Appointment_entity/entityfields/partstatactiongroup/children/decline/onActionProcess.js
</onActionProcess>
<iconId>
VAADIN:CLOSE
</iconId>
</entityActionField>
<entityActionField>
<name>
tentative
</name>
<title>
tentative
</title>
<onActionProcess>
%aditoprj%/entity/Appointment_entity/entityfields/partstatactiongroup/children/tentative/onActionProcess.js
</onActionProcess>
<iconId>
VAADIN:QUESTION
</iconId>
</entityActionField>
</children>
</entityActionGroup>
<entityProvider>
<name>
#PROVIDER
</name>
<recordContainer>
jdito
</recordContainer>
</entityProvider>
<entityParameter>
<name>
MasterEntry_param
</name>
<expose
v=
"true"
/>
<description>
PARAMETER
</description>
</entityParameter>
<entityField>
<name>
ORGANIZER
</name>
</entityField>
<entityField>
<name>
RRULE
</name>
<valueProcess>
%aditoprj%/entity/Appointment_entity/entityfields/rrule/valueProcess.js
</valueProcess>
</entityField>
<entityField>
<name>
RECURRENCEID
</name>
<valueProcess>
%aditoprj%/entity/Appointment_entity/entityfields/recurrenceid/valueProcess.js
</valueProcess>
</entityField>
<entityField>
<name>
SAFESCOPEFIELD
</name>
</entityField>
<entityField>
<name>
MASTERBEGIN
</name>
</entityField>
<entityField>
<name>
MASTEREND
</name>
</entityField>
<entityField>
<name>
UID
</name>
<valueProcess>
%aditoprj%/entity/Appointment_entity/entityfields/uid/valueProcess.js
</valueProcess>
</entityField>
<entityField>
<name>
ATTENDEESLENGTH
</name>
</entityField>
<entityField>
<name>
ICON
</name>
</entityField>
<entityParameter>
<name>
Entry_param
</name>
<expose
v=
"true"
/>
<description>
PARAMETER
</description>
</entityParameter>
<entityParameter>
<name>
AnyObjectRowid_param
</name>
<description>
PARAMETER
</description>
</entityParameter>
<entityParameter>
<name>
AnyObjectType_param
</name>
<description>
PARAMETER
</description>
</entityParameter>
<entityConsumer>
<name>
AppointmentLinks
</name>
<dependency>
<name>
dependency
</name>
<entityName>
AppointmentLink_entity
</entityName>
<fieldName>
Links
</fieldName>
</dependency>
<children>
<entityParameter>
<name>
AppointmentId_param
</name>
<valueProcess>
%aditoprj%/entity/Appointment_entity/entityfields/appointmentlinks/children/appointmentid_param/valueProcess.js
</valueProcess>
</entityParameter>
</children>
</entityConsumer>
</entityFields>
<recordContainers>
<jDitoRecordContainer>
<name>
jdito
</name>
<title>
jdito
</title>
<description></description>
<jDitoRecordAlias>
_____SYSTEMALIAS
</jDitoRecordAlias>
<contentProcess>
%aditoprj%/entity/Appointment_entity/recordcontainers/jdito/contentProcess.js
</contentProcess>
<onInsert>
%aditoprj%/entity/Appointment_entity/recordcontainers/jdito/onInsert.js
</onInsert>
<onUpdate>
%aditoprj%/entity/Appointment_entity/recordcontainers/jdito/onUpdate.js
</onUpdate>
<onDelete>
%aditoprj%/entity/Appointment_entity/recordcontainers/jdito/onDelete.js
</onDelete>
<recordFields>
<element>
UID.value
</element>
<element>
ATTENDEESLENGTH.value
</element>
<element>
BEGIN.value
</element>
<element>
END.value
</element>
<element>
SUMMARY.value
</element>
<element>
ORGANIZER.value
</element>
<element>
ATTENDEES.value
</element>
<element>
STATUS.value
</element>
<element>
LINKS.value
</element>
<element>
DESCRIPTION.value
</element>
<element>
LOCATION.value
</element>
<element>
ICON.value
</element>
<element>
CLASSIFICATION.value
</element>
<element>
TRANSPARENCY.value
</element>
<element>
CATEGORIES.value
</element>
<element>
REMINDER.value
</element>
<element>
REMINDER_CHECK.value
</element>
<element>
RRULE.value
</element>
<element>
RECURRENCEID.value
</element>
<element>
SAFESCOPEFIELD.value
</element>
<element>
MASTERBEGIN.value
</element>
<element>
MASTEREND.value
</element>
</recordFields>
</jDitoRecordContainer>
</recordContainers>
</entity>
<?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>
Appointment_entity
</name>
<majorModelMode>
DISTRIBUTED
</majorModelMode>
<documentation>
%aditoprj%/entity/Appointment_entity/documentation.adoc
</documentation>
<title>
Termin
</title>
<afterUiInit>
%aditoprj%/entity/Appointment_entity/afterUiInit.js
</afterUiInit>
<recordContainer>
jdito
</recordContainer>
<entityFields>
<entityField>
<name>
SUMMARY
</name>
<title>
Betreff
</title>
<valueProcess>
%aditoprj%/entity/Appointment_entity/entityfields/summary/valueProcess.js
</valueProcess>
<onValueChange>
%aditoprj%/entity/Appointment_entity/entityfields/summary/onValueChange.js
</onValueChange>
<onValueChangeTypes>
<element>
MASK
</element>
<element>
PROCESS
</element>
<element>
PROCESS_SETVALUE
</element>
</onValueChangeTypes>
</entityField>
<entityField>
<name>
DESCRIPTION
</name>
</entityField>
<entityField>
<name>
CLASSIFICATION
</name>
<dropDownProcess>
%aditoprj%/entity/Appointment_entity/entityfields/classification/dropDownProcess.js
</dropDownProcess>
<valueProcess>
%aditoprj%/entity/Appointment_entity/entityfields/classification/valueProcess.js
</valueProcess>
</entityField>
<entityField>
<name>
BEGIN
</name>
<selectionMode>
SINGLE
</selectionMode>
<valueProcess>
%aditoprj%/entity/Appointment_entity/entityfields/begin/valueProcess.js
</valueProcess>
</entityField>
<entityField>
<name>
END
</name>
<valueProcess>
%aditoprj%/entity/Appointment_entity/entityfields/end/valueProcess.js
</valueProcess>
</entityField>
<entityFieldGroup>
<name>
STARTEND
</name>
<valueProcess>
%aditoprj%/entity/Appointment_entity/entityfields/startend/valueProcess.js
</valueProcess>
<description>
FIELDGROUP
</description>
<fields>
<element>
BEGIN
</element>
<element>
END
</element>
</fields>
</entityFieldGroup>
<entityField>
<name>
STATUS
</name>
<dropDownProcess>
%aditoprj%/entity/Appointment_entity/entityfields/status/dropDownProcess.js
</dropDownProcess>
</entityField>
<entityField>
<name>
LOCATION
</name>
</entityField>
<entityField>
<name>
REMINDER_CHECK
</name>
<valueProcess>
%aditoprj%/entity/Appointment_entity/entityfields/reminder_check/valueProcess.js
</valueProcess>
</entityField>
<entityField>
<name>
REMINDER
</name>
<valueProcess>
%aditoprj%/entity/Appointment_entity/entityfields/reminder/valueProcess.js
</valueProcess>
</entityField>
<entityField>
<name>
CATEGORIES
</name>
<dropDownProcess>
%aditoprj%/entity/Appointment_entity/entityfields/categories/dropDownProcess.js
</dropDownProcess>
</entityField>
<entityField>
<name>
ATTENDEES
</name>
<dropDownProcess>
%aditoprj%/entity/Appointment_entity/entityfields/attendees/dropDownProcess.js
</dropDownProcess>
</entityField>
<entityField>
<name>
TRANSPARENCY
</name>
<valueProcess>
%aditoprj%/entity/Appointment_entity/entityfields/transparency/valueProcess.js
</valueProcess>
</entityField>
<entityActionGroup>
<name>
PartStatActionGroup
</name>
<children>
<entityActionField>
<name>
accept
</name>
<title>
accept
</title>
<onActionProcess>
%aditoprj%/entity/Appointment_entity/entityfields/partstatactiongroup/children/accept/onActionProcess.js
</onActionProcess>
<actionOrder
v=
"0"
/>
<iconId>
VAADIN:CHECK
</iconId>
</entityActionField>
<entityActionField>
<name>
decline
</name>
<title>
decline
</title>
<description></description>
<onActionProcess>
%aditoprj%/entity/Appointment_entity/entityfields/partstatactiongroup/children/decline/onActionProcess.js
</onActionProcess>
<iconId>
VAADIN:CLOSE
</iconId>
</entityActionField>
<entityActionField>
<name>
tentative
</name>
<title>
tentative
</title>
<onActionProcess>
%aditoprj%/entity/Appointment_entity/entityfields/partstatactiongroup/children/tentative/onActionProcess.js
</onActionProcess>
<iconId>
VAADIN:QUESTION
</iconId>
</entityActionField>
</children>
</entityActionGroup>
<entityProvider>
<name>
#PROVIDER
</name>
<recordContainer>
jdito
</recordContainer>
</entityProvider>
<entityParameter>
<name>
MasterEntry_param
</name>
<expose
v=
"true"
/>
<description>
PARAMETER
</description>
</entityParameter>
<entityField>
<name>
ORGANIZER
</name>
</entityField>
<entityField>
<name>
RRULE
</name>
<valueProcess>
%aditoprj%/entity/Appointment_entity/entityfields/rrule/valueProcess.js
</valueProcess>
</entityField>
<entityField>
<name>
RECURRENCEID
</name>
<valueProcess>
%aditoprj%/entity/Appointment_entity/entityfields/recurrenceid/valueProcess.js
</valueProcess>
</entityField>
<entityField>
<name>
SAFESCOPEFIELD
</name>
</entityField>
<entityField>
<name>
MASTERBEGIN
</name>
</entityField>
<entityField>
<name>
MASTEREND
</name>
</entityField>
<entityField>
<name>
UID
</name>
<valueProcess>
%aditoprj%/entity/Appointment_entity/entityfields/uid/valueProcess.js
</valueProcess>
</entityField>
<entityField>
<name>
ATTENDEESLENGTH
</name>
</entityField>
<entityField>
<name>
ICON
</name>
</entityField>
<entityParameter>
<name>
Entry_param
</name>
<expose
v=
"true"
/>
<description>
PARAMETER
</description>
</entityParameter>
<entityParameter>
<name>
AnyObjectRowid_param
</name>
<description>
PARAMETER
</description>
</entityParameter>
<entityParameter>
<name>
AnyObjectType_param
</name>
<description>
PARAMETER
</description>
</entityParameter>
<entityConsumer>
<name>
AppointmentLinks
</name>
<dependency>
<name>
dependency
</name>
<entityName>
AppointmentLink_entity
</entityName>
<fieldName>
Links
</fieldName>
</dependency>
<children>
<entityParameter>
<name>
AppointmentId_param
</name>
<valueProcess>
%aditoprj%/entity/Appointment_entity/entityfields/appointmentlinks/children/appointmentid_param/valueProcess.js
</valueProcess>
</entityParameter>
</children>
</entityConsumer>
</entityFields>
<recordContainers>
<jDitoRecordContainer>
<name>
jdito
</name>
<jDitoRecordAlias>
_____SYSTEMALIAS
</jDitoRecordAlias>
<contentProcess>
%aditoprj%/entity/Appointment_entity/recordcontainers/jdito/contentProcess.js
</contentProcess>
<onInsert>
%aditoprj%/entity/Appointment_entity/recordcontainers/jdito/onInsert.js
</onInsert>
<onUpdate>
%aditoprj%/entity/Appointment_entity/recordcontainers/jdito/onUpdate.js
</onUpdate>
<onDelete>
%aditoprj%/entity/Appointment_entity/recordcontainers/jdito/onDelete.js
</onDelete>
<title>
jdito
</title>
<description></description>
<recordFields>
<element>
UID.value
</element>
<element>
ATTENDEESLENGTH.value
</element>
<element>
BEGIN.value
</element>
<element>
END.value
</element>
<element>
SUMMARY.value
</element>
<element>
ORGANIZER.value
</element>
<element>
ATTENDEES.value
</element>
<element>
STATUS.value
</element>
<element>
LINKS.value
</element>
<element>
DESCRIPTION.value
</element>
<element>
LOCATION.value
</element>
<element>
ICON.value
</element>
<element>
CLASSIFICATION.value
</element>
<element>
TRANSPARENCY.value
</element>
<element>
CATEGORIES.value
</element>
<element>
REMINDER.value
</element>
<element>
REMINDER_CHECK.value
</element>
<element>
RRULE.value
</element>
<element>
RECURRENCEID.value
</element>
<element>
SAFESCOPEFIELD.value
</element>
<element>
MASTERBEGIN.value
</element>
<element>
MASTEREND.value
</element>
</recordFields>
</jDitoRecordContainer>
</recordContainers>
</entity>
This diff is collapsed.
Click to expand it.
entity/Appointment_entity/entityfields/attendees/valueProcess.js
deleted
100644 → 0
+
0
−
15
View file @
b04293c0
import
(
"
system.neon
"
);
import
(
"
system.vars
"
);
import
(
"
system.calendars
"
);
import
(
"
system.result
"
);
/**
* Following if() is only for passing param-parts from "new Appointment"-Dialog to AppointmentEditViewTemplate
*/
if
(
vars
.
get
(
"
$sys.recordstate
"
)
==
neon
.
OPERATINGSTATE_NEW
&&
vars
.
exists
(
"
$param.Entry_param
"
))
{
var
event
=
JSON
.
parse
(
vars
.
getString
(
"
$param.Entry_param
"
));
if
(
event
[
calendars
.
AFFECTEDUSERS
])
result
.
string
(
event
[
calendars
.
AFFECTEDUSERS
]);
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment