Skip to content
Snippets Groups Projects
Commit 97ce69c5 authored by Sebastian Pongratz's avatar Sebastian Pongratz :ping_pong:
Browse files

Merge branch 'sales_1081505_FeatureMultiCurrencyCapability' into '2021.1'

Sales 1081505 feature multi currency capability

See merge request xrm/basic!1052
parents e235e27d 1130c236
No related branches found
No related tags found
No related merge requests found
Showing
with 1239 additions and 629 deletions
<?xml version="1.1" encoding="UTF-8" standalone="no"?>
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.6.xsd">
<changeSet author="b.ulrich" id="344f2b8e-1805-40e2-b27a-ed3054d2b354">
<addColumn tableName="FORECAST">
<column name ="VOLUMEFOREIGNCURRENCY" type="NUMERIC(14,2)"/>
</addColumn>
</changeSet>
<changeSet dbms="derby" author="b.ulrich" id="062f385c-fa7e-4890-9529-602044f3ac25">
<sql>
ALTER TABLE FORECAST ADD VOLUME_NEW NUMERIC(14,2);
UPDATE FORECAST SET VOLUME_NEW = CAST ( VOLUME as NUMERIC(14,2));
ALTER TABLE FORECAST DROP COLUMN VOLUME;
RENAME COLUMN FORECAST.VOLUME_NEW TO VOLUME;
</sql>
</changeSet>
<changeSet author="b.ulrich" id="6cb184f3-d010-438c-a1fc-3077cff3cd67">
<preConditions onFail="CONTINUE">
<not>
<dbms type="derby" />
</not>
</preConditions>
<modifyDataType columnName="VOLUME" newDataType="NUMERIC(14,2)" tableName="FORECAST"/>
</changeSet>
</databaseChangeLog>
\ No newline at end of file
<?xml version="1.1" encoding="UTF-8" standalone="no"?>
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.6.xsd">
<changeSet author="b.ulrich" id="344f2b8e-1805-40e2-b27a-ed3054d2b354">
<addColumn tableName="SALESPROJECT">
<column name="CURRENCY" type="CHAR(3)"/>
<column name="CURRENCYRATE" type="FLOAT"/>
<column name ="VOLUMEFOREIGNCURRENCY" type="NUMERIC(14,2)"/>
</addColumn>
</changeSet>
</databaseChangeLog>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.6.xsd">
<include file="create_CurrencyRate.xml" relativeToChangelogFile="true"/>
<include file="alter_Salesproject.xml" relativeToChangelogFile="true"/>
<include file="alter_Forecast.xml" relativeToChangelogFile="true"/>
<include file="update_Salesproject.xml" relativeToChangelogFile="true"/>
</databaseChangeLog>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.6.xsd">
<changeSet author="b.ulrich" id="ba924567-e017-40ac-af64-3595fbc8daa1">
<createTable tableName="CURRENCYRATE">
<column name="CURRENCYRATEID" type="CHAR(36)">
<constraints primaryKey="true" primaryKeyName="PK_CURRENCYRATE_CURRENCYRATEID"/>
</column>
<column name="CURRENCYRATE" type="FLOAT"/>
<column name="SOURCECURRENCYISO" type="CHAR(3)"/>
<column name="TARGETCURRENCYISO" type="CHAR(3)"/>
<column name="VALID_FROM" type="DATETIME"/>
<column name="USER_NEW" type="NVARCHAR(50)" />
<column name="DATE_NEW" type="DATETIME" />
<column name="USER_EDIT" type="NVARCHAR(50)" />
<column name="DATE_EDIT" type="DATETIME" />
</createTable>
</changeSet>
</databaseChangeLog>
\ No newline at end of file
<?xml version="1.1" encoding="UTF-8" standalone="no"?>
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.6.xsd">
<changeSet author="b.ulrich" id="42d29d91-9071-4a09-b0a1-308946809e89">
<!--until now it was only possible to use euro for these prices, so we know that all of tham are in euro-->
<update tableName="SALESPROJECT">
<column name="CURRENCY" value="EUR"></column>
</update>
</changeSet>
</databaseChangeLog>
\ No newline at end of file
<?xml version="1.1" encoding="UTF-8" standalone="no"?>
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.6.xsd">
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.6.xsd">
<include relativeToChangelogFile="true" file="CurrencyRate/changelog.xml"/>
<include relativeToChangelogFile="true" file="EmailFilter/alter_emailFilterHandling.xml"/>
<include relativeToChangelogFile="true" file="EmailFilter/insert_recipientStatusBounced.xml"/>
</databaseChangeLog>
\ No newline at end of file
......@@ -14,6 +14,7 @@
<column name="STARTDATE" valueDate="2020-05-14T12:00:00"/>
<column name="DATE_NEW" valueDate="2020-01-01T11:22:49"/>
<column name="STATUS" value="SALPROJSTATOPEN"/>
<column name="CURRENCY" value="EUR"/>
</insert>
<insert tableName="salesproject">
<column name="VOLUME" valueNumeric="120000.00"/>
......@@ -27,6 +28,7 @@
<column name="STARTDATE" valueDate="2020-05-15T12:00:00"/>
<column name="DATE_NEW" valueDate="2020-01-01T11:22:49"/>
<column name="STATUS" value="SALPROJSTATOPEN"/>
<column name="CURRENCY" value="EUR"/>
</insert>
<insert tableName="salesproject">
<column name="VOLUME" valueNumeric="350000.00"/>
......@@ -40,6 +42,7 @@
<column name="STARTDATE" valueDate="2020-05-13T12:00:00"/>
<column name="DATE_NEW" valueDate="2020-01-01T11:22:49"/>
<column name="STATUS" value="SALPROJSTATOPEN"/>
<column name="CURRENCY" value="EUR"/>
</insert>
<insert tableName="salesproject">
<column name="VOLUME" valueNumeric="250000.00"/>
......@@ -53,6 +56,7 @@
<column name="STARTDATE" valueDate="2020-05-15T12:00:00"/>
<column name="DATE_NEW" valueDate="2020-01-01T11:22:49"/>
<column name="STATUS" value="SALPROJSTATOPEN"/>
<column name="CURRENCY" value="EUR"/>
</insert>
<insert tableName="salesproject">
<column name="PHASE" value="SALPROJPHASECONTACT"/>
......@@ -65,6 +69,7 @@
<column name="STARTDATE" valueDate="2020-11-24T12:00:00"/>
<column name="DATE_NEW" valueDate="2020-01-01T11:22:49"/>
<column name="STATUS" value="SALPROJSTATOPEN"/>
<column name="CURRENCY" value="EUR"/>
</insert>
<insert tableName="salesproject">
<column name="VOLUME" valueNumeric="450000.00"/>
......@@ -78,6 +83,7 @@
<column name="STARTDATE" valueDate="2020-02-05T12:00:00"/>
<column name="DATE_NEW" valueDate="2020-01-01T11:22:49"/>
<column name="STATUS" value="SALPROJSTATOPEN"/>
<column name="CURRENCY" value="EUR"/>
</insert>
</changeSet>
</databaseChangeLog>
\ No newline at end of file
This diff is collapsed.
......@@ -299,6 +299,20 @@
<title></title>
<description></description>
</entityFieldDb>
<entityFieldDb>
<name>AUTOPROBABILITY</name>
<dbName></dbName>
<primaryKey v="false" />
<columnType v="3" />
<size v="6" />
<scale v="2" />
<notNull v="false" />
<isUnique v="false" />
<index v="false" />
<documentation></documentation>
<title></title>
<description></description>
</entityFieldDb>
</entityFields>
</entityDb>
<entityDb>
......@@ -13709,6 +13723,34 @@
<title></title>
<description></description>
</entityFieldDb>
<entityFieldDb>
<name>DONEDATE</name>
<dbName></dbName>
<primaryKey v="false" />
<columnType v="93" />
<size v="29" />
<scale v="9" />
<notNull v="false" />
<isUnique v="false" />
<index v="false" />
<documentation></documentation>
<title></title>
<description></description>
</entityFieldDb>
<entityFieldDb>
<name>DONEUSER</name>
<dbName></dbName>
<primaryKey v="false" />
<columnType v="12" />
<size v="63" />
<scale v="0" />
<notNull v="false" />
<isUnique v="false" />
<index v="false" />
<documentation></documentation>
<title></title>
<description></description>
</entityFieldDb>
</entityFields>
</entityDb>
<entityDb>
......@@ -16975,166 +17017,6 @@
</entityFieldDb>
</entityFields>
</entityDb>
<entityDb>
<name>COMMUNICATIONBLACKLIST</name>
<dbName></dbName>
<idColumn>COMMUNICATIONBLACKLISTID</idColumn>
<idGeneratorType v="0" />
<idGeneratorInterval v="1" />
<documentation></documentation>
<title></title>
<description></description>
<auditSyncConfig>
<name>auditSyncConfig</name>
<auditMode v="0" />
<syncActive v="false" />
<syncComplete v="true" />
<syncDirection v="1" />
<syncIds></syncIds>
</auditSyncConfig>
<entityFields>
<entityFieldDb>
<name>BLACKLIST_FILTER</name>
<dbName></dbName>
<primaryKey v="false" />
<columnType v="2005" />
<size v="2147483647" />
<scale v="0" />
<notNull v="false" />
<isUnique v="false" />
<index v="false" />
<documentation></documentation>
<title></title>
<description></description>
</entityFieldDb>
<entityFieldDb>
<name>DATE_EDIT</name>
<dbName></dbName>
<primaryKey v="false" />
<columnType v="93" />
<size v="29" />
<scale v="9" />
<notNull v="false" />
<isUnique v="false" />
<index v="false" />
<documentation></documentation>
<title></title>
<description></description>
</entityFieldDb>
<entityFieldDb>
<name>END_DATE</name>
<dbName></dbName>
<primaryKey v="false" />
<columnType v="93" />
<size v="29" />
<scale v="9" />
<notNull v="false" />
<isUnique v="false" />
<index v="false" />
<documentation></documentation>
<title></title>
<description></description>
</entityFieldDb>
<entityFieldDb>
<name>START_DATE</name>
<dbName></dbName>
<primaryKey v="false" />
<columnType v="93" />
<size v="29" />
<scale v="9" />
<notNull v="false" />
<isUnique v="false" />
<index v="false" />
<documentation></documentation>
<title></title>
<description></description>
</entityFieldDb>
<entityFieldDb>
<name>DATE_NEW</name>
<dbName></dbName>
<primaryKey v="false" />
<columnType v="93" />
<size v="29" />
<scale v="9" />
<notNull v="true" />
<isUnique v="false" />
<index v="false" />
<documentation></documentation>
<title></title>
<description></description>
</entityFieldDb>
<entityFieldDb>
<name>USER_NEW</name>
<dbName></dbName>
<primaryKey v="false" />
<columnType v="12" />
<size v="50" />
<scale v="0" />
<notNull v="true" />
<isUnique v="false" />
<index v="false" />
<documentation></documentation>
<title></title>
<description></description>
</entityFieldDb>
<entityFieldDb>
<name>COMMUNICATIONBLACKLISTID</name>
<dbName></dbName>
<primaryKey v="true" />
<columnType v="1" />
<size v="36" />
<scale v="0" />
<notNull v="true" />
<isUnique v="true" />
<index v="true" />
<documentation></documentation>
<title></title>
<description></description>
</entityFieldDb>
<entityFieldDb>
<name>REASON</name>
<dbName></dbName>
<primaryKey v="false" />
<columnType v="12" />
<size v="500" />
<scale v="0" />
<notNull v="false" />
<isUnique v="false" />
<index v="false" />
<documentation></documentation>
<title></title>
<description></description>
</entityFieldDb>
<entityFieldDb>
<name>USER_EDIT</name>
<dbName></dbName>
<primaryKey v="false" />
<columnType v="12" />
<size v="50" />
<scale v="0" />
<notNull v="false" />
<isUnique v="false" />
<index v="false" />
<documentation></documentation>
<title></title>
<description></description>
</entityFieldDb>
<entityFieldDb>
<name>BLACKLIST_TYPE</name>
<dbName></dbName>
<primaryKey v="false" />
<columnType v="12" />
<size v="36" />
<scale v="0" />
<notNull v="true" />
<isUnique v="false" />
<index v="false" />
<documentation></documentation>
<title></title>
<description></description>
</entityFieldDb>
</entityFields>
</entityDb>
<entityDb>
<name>COMMUNICATIONSETTINGS</name>
<dbName></dbName>
......@@ -17467,6 +17349,34 @@
<title></title>
<description></description>
</entityFieldDb>
<entityFieldDb>
<name>WORKFLOWSIGNAL_NAME</name>
<dbName></dbName>
<primaryKey v="false" />
<columnType v="12" />
<size v="255" />
<scale v="0" />
<notNull v="false" />
<isUnique v="false" />
<index v="false" />
<documentation></documentation>
<title></title>
<description></description>
</entityFieldDb>
<entityFieldDb>
<name>ACTION_TYPE</name>
<dbName></dbName>
<primaryKey v="false" />
<columnType v="12" />
<size v="36" />
<scale v="0" />
<notNull v="false" />
<isUnique v="false" />
<index v="false" />
<documentation></documentation>
<title></title>
<description></description>
</entityFieldDb>
</entityFields>
</entityDb>
<entityDb>
......@@ -17601,6 +17511,152 @@
</entityFieldDb>
</entityFields>
</entityDb>
<entityDb>
<name>CURRENCYRATE</name>
<dbName></dbName>
<idColumn>CURRENCYRATEID</idColumn>
<idGeneratorType v="0" />
<idGeneratorInterval v="1" />
<documentation></documentation>
<title></title>
<description></description>
<auditSyncConfig>
<name>auditSyncConfig</name>
<auditMode v="0" />
<syncActive v="false" />
<syncComplete v="true" />
<syncDirection v="1" />
<syncIds></syncIds>
</auditSyncConfig>
<entityFields>
<entityFieldDb>
<name>CURRENCYRATEID</name>
<dbName></dbName>
<primaryKey v="true" />
<columnType v="1" />
<size v="36" />
<scale v="0" />
<notNull v="true" />
<isUnique v="true" />
<index v="true" />
<documentation></documentation>
<title></title>
<description></description>
</entityFieldDb>
<entityFieldDb>
<name>TARGETCURRENCYISO</name>
<dbName></dbName>
<primaryKey v="false" />
<columnType v="1" />
<size v="3" />
<scale v="0" />
<notNull v="false" />
<isUnique v="false" />
<index v="false" />
<documentation></documentation>
<title></title>
<description></description>
</entityFieldDb>
<entityFieldDb>
<name>DATE_EDIT</name>
<dbName></dbName>
<primaryKey v="false" />
<columnType v="93" />
<size v="29" />
<scale v="9" />
<notNull v="false" />
<isUnique v="false" />
<index v="false" />
<documentation></documentation>
<title></title>
<description></description>
</entityFieldDb>
<entityFieldDb>
<name>RATE</name>
<dbName></dbName>
<primaryKey v="false" />
<columnType v="8" />
<size v="52" />
<scale v="0" />
<notNull v="false" />
<isUnique v="false" />
<index v="false" />
<documentation></documentation>
<title></title>
<description></description>
</entityFieldDb>
<entityFieldDb>
<name>DATE_NEW</name>
<dbName></dbName>
<primaryKey v="false" />
<columnType v="93" />
<size v="29" />
<scale v="9" />
<notNull v="false" />
<isUnique v="false" />
<index v="false" />
<documentation></documentation>
<title></title>
<description></description>
</entityFieldDb>
<entityFieldDb>
<name>SOURCECURRENCYISO</name>
<dbName></dbName>
<primaryKey v="false" />
<columnType v="1" />
<size v="3" />
<scale v="0" />
<notNull v="false" />
<isUnique v="false" />
<index v="false" />
<documentation></documentation>
<title></title>
<description></description>
</entityFieldDb>
<entityFieldDb>
<name>USER_NEW</name>
<dbName></dbName>
<primaryKey v="false" />
<columnType v="12" />
<size v="50" />
<scale v="0" />
<notNull v="false" />
<isUnique v="false" />
<index v="false" />
<documentation></documentation>
<title></title>
<description></description>
</entityFieldDb>
<entityFieldDb>
<name>VALID_FROM</name>
<dbName></dbName>
<primaryKey v="false" />
<columnType v="93" />
<size v="29" />
<scale v="9" />
<notNull v="false" />
<isUnique v="false" />
<index v="false" />
<documentation></documentation>
<title></title>
<description></description>
</entityFieldDb>
<entityFieldDb>
<name>USER_EDIT</name>
<dbName></dbName>
<primaryKey v="false" />
<columnType v="12" />
<size v="50" />
<scale v="0" />
<notNull v="false" />
<isUnique v="false" />
<index v="false" />
<documentation></documentation>
<title></title>
<description></description>
</entityFieldDb>
</entityFields>
</entityDb>
</entities>
</entityGroup>
</aliasDefDb>
......
......@@ -377,6 +377,10 @@
<name>SalesprojectPhaseDefinition</name>
<kind v="10077" />
</entityNode>
<entityNode>
<name>CurrencyRates</name>
<kind v="10077" />
</entityNode>
</childNodes>
</entityNode>
<entityNode>
......
<?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.21" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/entity/1.3.21">
<name>CurrencyRate_entity</name>
<title>Currency Rate</title>
<majorModelMode>DISTRIBUTED</majorModelMode>
<iconId>VAADIN:EURO</iconId>
<recordContainer>db</recordContainer>
<entityFields>
<entityProvider>
<name>#PROVIDER</name>
</entityProvider>
<entityProvider>
<name>#PROVIDER_AGGREGATES</name>
<useAggregates v="true" />
</entityProvider>
<entityField>
<name>CURRENCYRATEID</name>
<state>INVISIBLE</state>
</entityField>
<entityField>
<name>CURRENCYRATE</name>
<title>Exchange Rate </title>
<contentType>NUMBER</contentType>
<mandatory v="true" />
</entityField>
<entityField>
<name>SOURCECURRENCYISO</name>
<title>Source Currency</title>
<consumer>KeywordCurrencySource</consumer>
<groupable v="true" />
<mandatory v="true" />
<displayValueProcess>%aditoprj%/entity/CurrencyRate_entity/entityfields/sourcecurrencyiso/displayValueProcess.js</displayValueProcess>
</entityField>
<entityField>
<name>TARGETCURRENCYISO</name>
<title>Target Currency</title>
<consumer>KeywordCurrencyTarget</consumer>
<groupable v="true" />
<mandatory v="true" />
<state>READONLY</state>
<valueProcess>%aditoprj%/entity/CurrencyRate_entity/entityfields/targetcurrencyiso/valueProcess.js</valueProcess>
<displayValueProcess>%aditoprj%/entity/CurrencyRate_entity/entityfields/targetcurrencyiso/displayValueProcess.js</displayValueProcess>
</entityField>
<entityField>
<name>VALID_FROM</name>
<title>Valid from</title>
<contentType>DATE</contentType>
<mandatory v="true" />
<state>AUTO</state>
<valueProcess>%aditoprj%/entity/CurrencyRate_entity/entityfields/valid_from/valueProcess.js</valueProcess>
</entityField>
<entityField>
<name>DATE_EDIT</name>
<title>DATE_EDIT</title>
<contentType>DATE</contentType>
<state>INVISIBLE</state>
<valueProcess>%aditoprj%/entity/CurrencyRate_entity/entityfields/date_edit/valueProcess.js</valueProcess>
</entityField>
<entityField>
<name>DATE_NEW</name>
<title>DATE_NEW</title>
<contentType>DATE</contentType>
<state>INVISIBLE</state>
<valueProcess>%aditoprj%/entity/CurrencyRate_entity/entityfields/date_new/valueProcess.js</valueProcess>
</entityField>
<entityField>
<name>USER_NEW</name>
<title>USER_NEW</title>
<state>INVISIBLE</state>
<valueProcess>%aditoprj%/entity/CurrencyRate_entity/entityfields/user_new/valueProcess.js</valueProcess>
</entityField>
<entityField>
<name>USER_EDIT</name>
<title>USER_EDIT</title>
<state>INVISIBLE</state>
<valueProcess>%aditoprj%/entity/CurrencyRate_entity/entityfields/user_edit/valueProcess.js</valueProcess>
</entityField>
<entityConsumer>
<name>KeywordCurrencySource</name>
<dependency>
<name>dependency</name>
<entityName>KeywordEntry_entity</entityName>
<fieldName>SpecificContainerKeywords</fieldName>
</dependency>
<children>
<entityParameter>
<name>ContainerName_param</name>
<valueProcess>%aditoprj%/entity/CurrencyRate_entity/entityfields/keywordcurrencysource/children/containername_param/valueProcess.js</valueProcess>
</entityParameter>
</children>
</entityConsumer>
<entityConsumer>
<name>KeywordCurrencyTarget</name>
<dependency>
<name>dependency</name>
<entityName>KeywordEntry_entity</entityName>
<fieldName>SpecificContainerKeywords</fieldName>
</dependency>
<children>
<entityParameter>
<name>ContainerName_param</name>
<valueProcess>%aditoprj%/entity/CurrencyRate_entity/entityfields/keywordcurrencytarget/children/containername_param/valueProcess.js</valueProcess>
</entityParameter>
<entityParameter>
<name>WhitelistIds_param</name>
<valueProcess>%aditoprj%/entity/CurrencyRate_entity/entityfields/keywordcurrencytarget/children/whitelistids_param/valueProcess.js</valueProcess>
</entityParameter>
</children>
</entityConsumer>
</entityFields>
<recordContainers>
<dbRecordContainer>
<name>db</name>
<orderClauseProcess>%aditoprj%/entity/CurrencyRate_entity/recordcontainers/db/orderClauseProcess.js</orderClauseProcess>
<alias>Data_alias</alias>
<recordFieldMappings>
<dbRecordFieldMapping>
<name>VALID_FROM.value</name>
<recordfield>CURRENCYRATE.VALID_FROM</recordfield>
<isFilterable v="true" />
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>TARGETCURRENCYISO.value</name>
<recordfield>CURRENCYRATE.TARGETCURRENCYISO</recordfield>
<isFilterable v="true" />
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>TARGETCURRENCYISO.displayValue</name>
<expression>%aditoprj%/entity/CurrencyRate_entity/recordcontainers/db/recordfieldmappings/targetcurrencyiso.displayvalue/expression.js</expression>
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>SOURCECURRENCYISO.value</name>
<recordfield>CURRENCYRATE.SOURCECURRENCYISO</recordfield>
<isFilterable v="true" />
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>CURRENCYRATE.value</name>
<recordfield>CURRENCYRATE.CURRENCYRATE</recordfield>
<isFilterable v="true" />
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>CURRENCYRATEID.value</name>
<recordfield>CURRENCYRATE.CURRENCYRATEID</recordfield>
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>USER_EDIT.value</name>
<recordfield>CURRENCYRATE.USER_EDIT</recordfield>
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>USER_NEW.value</name>
<recordfield>CURRENCYRATE.USER_NEW</recordfield>
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>DATE_NEW.value</name>
<recordfield>CURRENCYRATE.DATE_NEW</recordfield>
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>DATE_EDIT.value</name>
<recordfield>CURRENCYRATE.DATE_EDIT</recordfield>
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>SOURCECURRENCYISO.displayValue</name>
<expression>%aditoprj%/entity/CurrencyRate_entity/recordcontainers/db/recordfieldmappings/sourcecurrencyiso.displayvalue/expression.js</expression>
</dbRecordFieldMapping>
</recordFieldMappings>
<linkInformation>
<linkInformation>
<name>6226d399-5fb5-49a1-aaa9-80f6d7890dc1</name>
<tableName>CURRENCYRATE</tableName>
<primaryKey>CURRENCYRATEID</primaryKey>
<isUIDTable v="true" />
<readonly v="false" />
</linkInformation>
</linkInformation>
</dbRecordContainer>
</recordContainers>
</entity>
import("system.neon");
import("system.result");
import("system.vars");
if(vars.get("$sys.recordstate") == neon.OPERATINGSTATE_EDIT)
{
result.string(vars.get("$sys.date"));
}
\ No newline at end of file
import("system.result");
import("system.neon");
import("system.vars");
if(vars.get("$sys.recordstate") == neon.OPERATINGSTATE_NEW && !vars.get("$this.value"))
{
result.string(vars.get("$sys.date"));
}
\ No newline at end of file
import("system.result");
import("Keyword_lib");
import("KeywordRegistry_basic");
result.string($KeywordRegistry.currency());
\ No newline at end of file
import("system.result");
import("Keyword_lib");
import("KeywordRegistry_basic");
result.string($KeywordRegistry.currency());
\ No newline at end of file
import("KeywordRegistry_basic");
import("system.result");
result.string(JSON.stringify([$KeywordRegistry.currency$eur()]));
\ No newline at end of file
import("system.vars");
import("KeywordRegistry_basic");
import("Keyword_lib");
import("system.result");
result.string(KeywordUtils.getViewValue($KeywordRegistry.currency(), vars.get("$field.SOURCECURRENCYISO")));
\ No newline at end of file
import("system.vars");
import("KeywordRegistry_basic");
import("Keyword_lib");
import("system.result");
result.string(KeywordUtils.getViewValue($KeywordRegistry.currency(), vars.get("$field.TARGETCURRENCYISO")));
\ No newline at end of file
import("KeywordRegistry_basic");
import("system.result");
import("system.neon");
import("system.vars");
if(vars.get("$sys.recordstate") == neon.OPERATINGSTATE_NEW && !vars.get("$this.value"))
{
result.string($KeywordRegistry.currency$eur());
}
\ No newline at end of file
import("system.result");
import("system.vars");
import("system.neon");
if(vars.get("$sys.recordstate") == neon.OPERATINGSTATE_EDIT)
{
result.string(vars.get("$sys.user"));
}
\ No newline at end of file
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