Skip to content
Snippets Groups Projects
Commit 747cc2a1 authored by Daniel Tran's avatar Daniel Tran
Browse files

#1048054 - Removed no longer used column: 'TYPE', renamed variables, formatted...

#1048054 - Removed no longer used column: 'TYPE', renamed variables, formatted code, implemented columns: 'STARTDATE', 'EMPLOYEE_INVOLVED' 
and added update-branch to if-condition for updating data when it's already existing.
parents 572996a0 33f91094
No related branches found
No related tags found
No related merge requests found
......@@ -4099,7 +4099,7 @@
</entry>
<entry>
<key>Would you really like to clear the forecast and set the state to '%0'?</key>
<value>Möchten Sie wirklich den Forecast löschen und den status auf '%0' setzen?</value>
<value>Möchten Sie wirklich den Forecast löschen und den Status auf '%0' setzen?</value>
</entry>
<entry>
<key>This cannot be undone!</key>
......
This diff is collapsed.
import("system.db");
import("Importer_lib");
import("ImporterMappingFunctions_lib");
var importerMapping = {
AliasTo: "Data_alias",
DataFunction: function (pCurrentBatchNum)
{
if (pCurrentBatchNum > 1)
return null;
return [
["a8a5f214-8165-4627-bee2-bceb3578147e", "cfebe176-0a64-428d-b0ec-bba454d2ca3e", "Testing"],
["c7ddf982-0e58-4152-b82b-8f5673b0b729", "cb07397b-a976-4960-b8e5-9edf189c5caf", "Testing"]
];
},
ImportCommand: "insert+update",
Mapping: [
[ iCommRestriction,
{
contact: 0,
restrictionMedium: 1,
restrictionReason: 2
}
]
]
};
var imp = new Importer(importerMapping);
imp.Log = "CONSOLE";
imp.ImportUser = "IMPORTER_TESTER";
imp.Preview = false;
imp.Debug = true;
imp.LogLevel = imp.LogLevels.Info;
// MariaDB requires lower table cases
if (db.getDatabaseType("Data_alias") == db.DBTYPE_MARIADB10) imp.TableCase = imp.Cases.Lower;
imp.process();
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<process xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.2.1" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/process/1.2.1">
<name>test_iCommRestriction</name>
<majorModelMode>DISTRIBUTED</majorModelMode>
<process>%aditoprj%/process/test_iCommRestriction/process.js</process>
<variants>
<element>EXECUTABLE</element>
</variants>
</process>
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