<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Efficy Overflow Q&amp;A - Recent questions in Utilities</title>
<link>https://overflow.efficy.io/?qa=questions/developers/utilities</link>
<description>Powered by Question2Answer</description>
<item>
<title>How to import Jpg or png images located on a Wordpress html place</title>
<link>https://overflow.efficy.io/?qa=6991/how-to-import-jpg-or-png-images-located-wordpress-html-place</link>
<description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;I have to import into Efficy 5000 image files located like this :&lt;br&gt;
&lt;a rel=&quot;nofollow&quot; href=&quot;https://serveurtravail.planeteformations.com/wp-content/uploads/2023/08/WORK-Sublime-NZ-Natural-Hickory.png&quot;&gt;https://serveurtravail.planeteformations.com/wp-content/uploads/2023/08/WORK-Sublime-NZ-Natural-Hickory.png&lt;/a&gt;&lt;br&gt;
Is there any solution via the datasynchro tool ?&lt;br&gt;
Thank you&lt;br&gt;
Dimitri&lt;/p&gt;
</description>
<category>Utilities</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=6991/how-to-import-jpg-or-png-images-located-wordpress-html-place</guid>
<pubDate>Sat, 21 Oct 2023 18:37:03 +0000</pubDate>
</item>
<item>
<title>SQL request to retrieve the complete field list from Efficy Metadata by Table</title>
<link>https://overflow.efficy.io/?qa=6834/request-retrieve-complete-field-list-efficy-metadata-table</link>
<description>&lt;p&gt;Hi, &lt;/p&gt;

&lt;p&gt;To provide to a customer an exhaustive list of fields from some Efficy tables (to build an import file by example)&lt;/p&gt;

&lt;p&gt;you can use this request to extract it from your DB (works until Efficy 2021 included)&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;declare @langId int = 12;
with [tables] as (
    select K_TABLE, NAME TABLE_NAME, K_LABEL TABLE_K_LABEL from sys_tables
    where name in (
        'COMPANIES', 
        'CONTACTS',
        'CONT_COMP',
        'ACTIONS'
    )
), fulltables as (
    select * 
    from 
        tables
    union select catTables.K_TABLE, catTables.NAME, catTables.K_LABEL
    from 
        tables 
        inner join sys_categories cat on cat.K_TABLE = tables.K_TABLE
        inner join sys_tables catTables on catTables.K_TABLE = cat.K_CATEGORY
),
fields as (
    select 
        TABLE_NAME,
TABLE_K_LABEL,
        sys_fields.NAME FIELD_NAME,
sys_fields.K_LABEL FIELD_K_LABEL,
        sys_fields.DATATYPE,
        sys_fields.DATALENGTH,
        K_LOOKUPFIELD, 
        K_LOOKUPTABLE,
        ISCUSTOM
    from 
        sys_fields
        inner join fulltables on fulltables.K_TABLE = sys_fields.K_TABLE
    where DATATYPE not in ('B')
), fullfields as (
select 
        TABLE_NAME,
TABLE_K_LABEL,
        FIELD_NAME,
FIELD_K_LABEL,
        DATATYPE,
        DATALENGTH,
        lkTables.NAME LOOKUP_NAME,
        fields.ISCUSTOM
    from 
        fields
        left join sys_tables lkTables on lkTables.K_TABLE = fields.K_LOOKUPTABLE
)
select 
TABLE_NAME,
(select LABEL from sys_labels where K_LANGUAGE = @langId and K_LABEL = TABLE_K_LABEL) TABLE_LABEL,
    FIELD_NAME,
(select LABEL from sys_labels where K_LANGUAGE = @langId and K_LABEL = FIELD_K_LABEL) FIELD_LABEL,
    DATATYPE,
    DATALENGTH,
    LOOKUP_NAME,
    ISCUSTOM

from fullfields
order by 
TABLE_NAME, FIELD_NAME
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;You can change the list of tables you want and change the languageId to display the wished language labels. &lt;br&gt;
Fields from categories of your tables will be included.&lt;/p&gt;

&lt;p&gt;Expected result: &lt;br&gt;
&lt;img src=&quot;https://overflow.efficy.io/?qa=blob&amp;amp;qa_blobid=4930225848470235978&quot; alt=&quot;enter image description here&quot;&gt;&lt;/p&gt;

&lt;p&gt;Cheers&lt;/p&gt;
</description>
<category>Utilities</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=6834/request-retrieve-complete-field-list-efficy-metadata-table</guid>
<pubDate>Thu, 09 Mar 2023 08:41:53 +0000</pubDate>
</item>
<item>
<title>Error 12044 in openUrl2/secure/secureUtf8 when Postman call is processed correctly</title>
<link>https://overflow.efficy.io/?qa=6638/error-openurl2-secure-secureutf8-postman-processed-correctly</link>
<description>&lt;p&gt;Dear all,&lt;/p&gt;

&lt;p&gt;For a customer we are developing a link with Canopy Deploy. In Postman / PowerShell (Invoke-Webrequest) the request is processed correctly. &lt;/p&gt;

&lt;p&gt;When trying it in the application with the same headers / data at the same machine the Efficy.openUrlSecure / Utf8 is receiving a 12044 A certificate is required to complete client authentication error. In openUrl2 the same: Message: &quot;Cannot find web server &quot;webhook.myclang.com&quot;&lt;br&gt;
Error Code: 12044&lt;/p&gt;

&lt;p&gt;What could be wrong?&lt;/p&gt;

&lt;p&gt;Best regards,&lt;/p&gt;

&lt;p&gt;Rob&lt;/p&gt;
</description>
<category>Utilities</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=6638/error-openurl2-secure-secureutf8-postman-processed-correctly</guid>
<pubDate>Tue, 19 Jul 2022 12:25:45 +0000</pubDate>
</item>
<item>
<title>DatasyncRemote: ERROR &quot;RetrieveUsersList: Please Logon to Database&quot; ?</title>
<link>https://overflow.efficy.io/?qa=6497/datasyncremote-error-retrieveuserslist-please-database</link>
<description>&lt;p&gt;Dear all,&lt;/p&gt;

&lt;p&gt;I have an Issue with the DatasyncRemote at a customer, when we try to get the &lt;code&gt;Efficy Object&lt;/code&gt; list we get the following Error : &lt;/p&gt;

&lt;p&gt;&lt;code&gt;RetrieveUsersList: Please Logon to Database&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;I activated the SOAP logs (generation of request and response XML files) and I see in the Response file that the connexion seems OK, it has been marked as &lt;code&gt;&quot;handle=&quot;true&quot;&lt;/code&gt;.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;[2022/03/30 17:11:42.623]  https://xxxxxx/crm/soap?customer=xxxx
&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&amp;gt;
&amp;lt;SOAP-ENV:Envelope xmlns:SOAP-ENV=&quot;http://schemas.xmlsoap.org/soap/envelope&quot; xmlns:efficy=&quot;http://www.efficy.com&quot;&amp;gt;
  &amp;lt;SOAP-ENV:Body&amp;gt;
    &amp;lt;efficy:logon customer=&quot;xxxx&quot; handled=&quot;true&quot; id=&quot;6&quot; password=&quot;************************&quot; user=&quot;ADMIN&quot;/&amp;gt;
  &amp;lt;/SOAP-ENV:Body&amp;gt;
&amp;lt;/SOAP-ENV:Envelope&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;But when I check the responses of the of the &lt;code&gt;Efficy Object&lt;/code&gt; retrieve list we get the Error : &lt;/p&gt;

&lt;pre&gt;&lt;code&gt;[2022/03/30 17:11:42.654]  https://xxxxxx/crm/soap?customer=xxxx
&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&amp;gt;
&amp;lt;SOAP-ENV:Envelope xmlns:SOAP-ENV=&quot;http://schemas.xmlsoap.org/soap/envelope&quot; xmlns:efficy=&quot;http://www.efficy.com&quot;&amp;gt;
  &amp;lt;SOAP-ENV:Body&amp;gt;
    &amp;lt;SOAP-ENV:Fault&amp;gt;
      &amp;lt;Detail&amp;gt;FRMK-1660&amp;lt;/Detail&amp;gt;
      &amp;lt;faultcode&amp;gt;EEfficyException&amp;lt;/faultcode&amp;gt;
      &amp;lt;faultid/&amp;gt;
      &amp;lt;faultstring&amp;gt;RetrieveUsersList: Please Logon to Database&amp;lt;/faultstring&amp;gt;
    &amp;lt;/SOAP-ENV:Fault&amp;gt;
    &amp;lt;efficy:api error=&quot;true&quot; id=&quot;7&quot;&amp;gt;
      &amp;lt;data id=&quot;10&quot; operation=&quot;currentlicensename&quot;/&amp;gt;
      &amp;lt;data id=&quot;11&quot; operation=&quot;currentusergroups&quot;/&amp;gt;
      &amp;lt;data id=&quot;12&quot; operation=&quot;currentdatabasealias&quot;/&amp;gt;
      &amp;lt;data id=&quot;13&quot; operation=&quot;currentdatabasetimezone&quot;/&amp;gt;
      &amp;lt;data id=&quot;14&quot; operation=&quot;currentusertimezone&quot;/&amp;gt;
      &amp;lt;data id=&quot;18&quot; operation=&quot;largefileminsize&quot;/&amp;gt;
      &amp;lt;data id=&quot;9&quot; operation=&quot;currentuserid&quot;/&amp;gt;
      &amp;lt;datacontainer format=&quot;binary&quot; id=&quot;8&quot; operation=&quot;userlist&quot;/&amp;gt;
      &amp;lt;datacontainer id=&quot;15&quot; operation=&quot;options&quot;/&amp;gt;
      &amp;lt;datacontainer id=&quot;16&quot; operation=&quot;entitycollection&quot;/&amp;gt;
      &amp;lt;datacontainer id=&quot;17&quot; operation=&quot;relationentitycollection&quot;/&amp;gt;
    &amp;lt;/efficy:api&amp;gt;
  &amp;lt;/SOAP-ENV:Body&amp;gt;
&amp;lt;/SOAP-ENV:Envelope&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;I found the following Efficy ticket (old one, accessible only to Efficy Employee), where it says that we should remove the sessions with &quot;.&quot; from the Efficy Admin console : &lt;br&gt;
&lt;a rel=&quot;nofollow&quot; href=&quot;https://submariners.efficy.com/crm/view/Case/2400000792&quot;&gt;&lt;/a&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://submariners.efficy.com/crm/view/Case/2400000792&quot;&gt;https://submariners.efficy.com/crm/view/Case/2400000792&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I did it but this did not change a thing.&lt;/p&gt;

&lt;p&gt;Remark : In the Alias Manager, the SOAP and JSON end point are allowed.&lt;/p&gt;

&lt;p&gt;I remarked also the following Script Exception file, the following error, but that appears in the morning ... can it be that we missed a configuration on the customer serveur IIS settings ? &lt;/p&gt;

&lt;pre&gt;&lt;code&gt;[2022/03/30 09:26:20.868] TObjectWrapper.Invoke: EEfficyException
Session timeout
EEfficyException in Node  &quot;SOAP-ENV:Fault&quot; of SOAP request
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;And if we try to launch the Datasync we get the &quot;Session timeout&quot; : &lt;/p&gt;

&lt;pre&gt;&lt;code&gt;[09:16:08.235] Starting Synchro
[09:16:08.532]   Retrieving List of Records...
[09:16:08.563]     1083 Records Found
[09:16:08.563] Start job - Total records: 1083
[09:16:08.766] [1]   Handling Record &quot;2015-002357 121436&quot;
[09:16:08.766]   Processing Recette on Opportunity(2015-002357)
[09:16:08.798] [1] 
[09:16:08.798] [1] *** ERROR ***
[09:16:08.798] [1] Error while creating or modifying destination record &quot;2015-002357 121436&quot;
[09:16:08.798] [1] Error: WKFL-2142 Error while executing script &quot;EfficyImportRecord&quot; at line 62 char 2. (File &quot;DatasyncImportScript&quot; line 61)
Message: &quot;Session timeout
EEfficyException in Node  &quot;SOAP-ENV:Fault&quot; of SOAP request&quot;
[09:16:08.798] [1] *************
[09:16:08.798] [1] 
[09:16:08.798] [1] Synchro Aborted because of Error
[09:16:08.969] Job finished
[09:16:09.079] Synchro Finished
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Remark 2 : This Datasync is working on the TEST environment at the customer, so it is not a script Error !&lt;/p&gt;

&lt;p&gt;Does anyone have a clue what I should look for to solve this issue ?&lt;/p&gt;
</description>
<category>Utilities</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=6497/datasyncremote-error-retrieveuserslist-please-database</guid>
<pubDate>Wed, 30 Mar 2022 15:47:45 +0000</pubDate>
</item>
<item>
<title>Java : PdfBox : get the coordinates of a string pattern in a PDF, and then remove that string pattern</title>
<link>https://overflow.efficy.io/?qa=6372/pdfbox-coordinates-string-pattern-remove-that-string-pattern</link>
<description>&lt;p&gt;Hello, &lt;/p&gt;

&lt;p&gt;are there any aficionados of the PdfBox java library in this community ?&lt;/p&gt;

&lt;p&gt;I'm desperately looking to browse a PDF document, looking for a specific pattern. In order to obtain its coordinates (page number, X, Y). And then remove this pattern from the PDF.&lt;/p&gt;

&lt;p&gt;I get a PDDocument. &lt;br&gt;
I get a list of PDPage. &lt;br&gt;
But then impossible to find the process to find the coordinates of a specific pattern ...&lt;/p&gt;

&lt;p&gt;If anyone has worked with this library before, I am interested in some information. Thanks in advance for help.&lt;/p&gt;
</description>
<category>Utilities</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=6372/pdfbox-coordinates-string-pattern-remove-that-string-pattern</guid>
<pubDate>Fri, 26 Nov 2021 13:52:51 +0000</pubDate>
</item>
<item>
<title>DbStaging :  Error: ENTT-2574 Field &quot;SENT&quot;, datatype &quot;bit&quot; not supported</title>
<link>https://overflow.efficy.io/?qa=5973/dbstaging-error-entt-2574-field-sent-datatype-bit-supported</link>
<description>&lt;p&gt;Hello, &lt;/p&gt;

&lt;p&gt;I upgraded a DB from 11.3 to 12.0. The upgrade worked properly but just after I used the DbStaging, it started to display an error like this :&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;Error : ENTT-2574 Field &quot;SENT&quot;, datatype &quot;bit&quot; not supported
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;I saw a similar problem in overflow : &lt;a rel=&quot;nofollow&quot; href=&quot;https://overflow.efficy.io/?qa=5072/error-field-datatype-numeric-supported-trying-dump-dbstaging&amp;amp;show=5072#q5072&quot;&gt;https://overflow.efficy.io/?qa=5072/error-field-datatype-numeric-supported-trying-dump-dbstaging&amp;amp;show=5072#q5072&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I already tried without checking &quot;&lt;em&gt;include custom object&lt;/em&gt;&quot; and &quot;&lt;em&gt;copy isCustom fields&lt;/em&gt;&quot; &lt;br&gt;
but the problem is still there &lt;/p&gt;

&lt;p&gt;I also looked at the SYS_FIELDS and it didn't find the field &quot;*SENT*&quot; but I found &quot;*NSEND*&quot; instead.&lt;/p&gt;

&lt;p&gt;Regards,&lt;/p&gt;
</description>
<category>Utilities</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=5973/dbstaging-error-entt-2574-field-sent-datatype-bit-supported</guid>
<pubDate>Tue, 16 Mar 2021 09:20:24 +0000</pubDate>
</item>
<item>
<title>DBStaging is it possible to add a filter ?</title>
<link>https://overflow.efficy.io/?qa=5649/dbstaging-is-it-possible-to-add-a-filter</link>
<description>&lt;p&gt;I am trying to export all groups and securities from one database to another one.&lt;br&gt;
I have create a new .DAT file for the DBStaging tool (cf below), but in the ACC_ACCOUNTS I also get the resources and users which I don't want.&lt;/p&gt;

&lt;p&gt;Is it possible to add a filter on this table ? &lt;br&gt;
Something like &lt;/p&gt;

&lt;pre&gt;&lt;code&gt;Filter=&quot;KIND='1' and ISACTIVE='1'&quot;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;My DBStaging.DAT file:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;[ACC_ACCOUNTS]
OutputFile=ACCOUNTS.sql
Inserts=1
Updates=1
Deletions=1
KeyFields=K_USER
[ACC_GROUPS]
OutputFile=ACCOUNTS.sql
Inserts=1
Updates=1
Deletions=1
KeyFields=K_USER,K_USER2
[ACC_RIGHTS]
OutputFile=ACCOUNTS.sql
Inserts=1
Updates=1
Deletions=1
KeyFields=K_USER,K_TABLE
[ACC_SECURITY]
OutputFile=ACCOUNTS.sql
Inserts=1
Updates=1
Deletions=1
KeyFields=K_USER,K_TABLE,K_USER2
[ACC_SHARES]
OutputFile=ACCOUNTS.sql
Inserts=1
Updates=1
Deletions=1
KeyFields=K_USER,K_USER2
&lt;/code&gt;&lt;/pre&gt;
</description>
<category>Utilities</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=5649/dbstaging-is-it-possible-to-add-a-filter</guid>
<pubDate>Tue, 13 Oct 2020 18:42:37 +0000</pubDate>
</item>
<item>
<title>SVN Commit : Commit blocked by pre-commit hook</title>
<link>https://overflow.efficy.io/?qa=5644/svn-commit-commit-blocked-by-pre-commit-hook</link>
<description>&lt;p&gt;During a commit, I had an exotic error message.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://overflow.efficy.io/?qa=blob&amp;amp;qa_blobid=16355604645526181996&quot; alt=&quot;Full error message&quot;&gt;&lt;/p&gt;

&lt;p&gt;It was due to a special character &lt;code&gt;&amp;gt;&lt;/code&gt; in my commit comment.&lt;br&gt;
=&amp;gt; avoid this kind of character!&lt;/p&gt;
</description>
<category>Utilities</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=5644/svn-commit-commit-blocked-by-pre-commit-hook</guid>
<pubDate>Fri, 09 Oct 2020 14:03:33 +0000</pubDate>
</item>
<item>
<title>Access violation at address while using getFileStream</title>
<link>https://overflow.efficy.io/?qa=5431/access-violation-at-address-while-using-getfilestream</link>
<description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;I am trying to transform large files (&lt;code&gt;FILES.KIND = 5&lt;/code&gt;) to embedded one.&lt;br&gt;
And I am using the  getFileStream  as I need to assign a &lt;code&gt;FILES.STREAM&lt;/code&gt; field which is null in case of large file.&lt;br&gt;
While running Scheduler or DataSynchro I am getting more and less same error : &lt;code&gt;Access violation at address 000000000083531A in module&lt;/code&gt; on getFileStream step.&lt;br&gt;
I tried different versions (11.2, 11.3, etc.) but still getting the error. &lt;/p&gt;

&lt;p&gt;Here is a small example of the DataSynchro import script: &lt;/p&gt;

&lt;pre&gt;&lt;code&gt;function EfficyImportRecord(DataStore) {
  var k_File = DataStore.AsString('K_FILE'),
      k_Docu = DataStore.AsString('K_1'),
editDocu = Efficy.openEditContext(ntDocu, k_Docu);
  Efficy.log('KFile: ' + k_File);
  stream = Efficy.getFileStream(editDocu, DataStore);
  Efficy.log('Stream: ' + stream);
  return true;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;&lt;img src=&quot;https://overflow.efficy.io/?qa=blob&amp;amp;qa_blobid=1766080721507303177&quot; alt=&quot;datasynchro error&quot;&gt;&lt;br&gt;
&lt;img src=&quot;https://overflow.efficy.io/?qa=blob&amp;amp;qa_blobid=1564540188812631968&quot; alt=&quot;scheduler script errors&quot;&gt;&lt;br&gt;
Any ideas ?&lt;/p&gt;

&lt;p&gt;Maybe we have already some examples or scripts that are doing large file to embedded , let me know.&lt;/p&gt;

&lt;p&gt;Tnx.&lt;/p&gt;
</description>
<category>Utilities</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=5431/access-violation-at-address-while-using-getfilestream</guid>
<pubDate>Wed, 13 May 2020 10:33:28 +0000</pubDate>
</item>
<item>
<title>datasynchro et activation workflow</title>
<link>https://overflow.efficy.io/?qa=5346/datasynchro-et-activation-workflow</link>
<description>&lt;p&gt;Bonjour,&lt;/p&gt;

&lt;p&gt;Lors d'une DataSynchro, si on active le workflow, le script tourne en boucle sans envoyer de message d'erreur. &lt;br&gt;
Nous avons remarqué que si le code du workflow est écrit directement dans la fenêtre du designer, ce problème n'apparaît pas. Or, depuis la migration en 11.3, nous avons mis en place le workflow par un import de fichier comme conseillé dans la documentation.&lt;br&gt;
Dans le designer nous avons le code suivant : &lt;br&gt;
/*&lt;br&gt;
@import &quot;custom/workflow/workflow&quot;&lt;br&gt;
*/&lt;/p&gt;

&lt;p&gt;Comment faire pour que le DataSynchro fonctionne en maintenant le système d'import de fichier du workflow ?&lt;/p&gt;

&lt;p&gt;Merci&lt;/p&gt;
</description>
<category>Utilities</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=5346/datasynchro-et-activation-workflow</guid>
<pubDate>Tue, 03 Mar 2020 09:21:02 +0000</pubDate>
</item>
<item>
<title>data sync tool issue</title>
<link>https://overflow.efficy.io/?qa=5286/data-sync-tool-issue</link>
<description>&lt;p&gt;Hi,&lt;br&gt;
I try to import some data in Efficy with the data sync tool 64.&lt;br&gt;
My script was running fine until I change the data source and now I have an error:&lt;/p&gt;

&lt;p&gt;[10:13:12.070] Starting Synchro&lt;br&gt;
[10:13:12.148]   Retrieving List of Records...&lt;br&gt;
[10:13:12.382]     3696 Records Found&lt;br&gt;
[10:13:12.382] Start job - Total records: 3696&lt;br&gt;
[10:13:12.539] [1] &lt;br&gt;
[10:13:12.539] [1] *** ERROR ***&lt;br&gt;
[10:13:12.539] [1] Error while retrieving source record 0&lt;br&gt;
[10:13:12.539] [1] Error: Multiple-step operation generated errors. Check each status value&lt;br&gt;
[10:13:12.539] [1] *************&lt;br&gt;
[10:13:12.539] [1] &lt;br&gt;
[10:13:12.554] [1] Synchro Aborted because of Error&lt;br&gt;
[10:13:12.586] Job finished&lt;br&gt;
[10:13:12.648] Synchro Finished&lt;/p&gt;

&lt;p&gt;I have no idea what does this mean.&lt;br&gt;
Thanks for your help&lt;/p&gt;
</description>
<category>Utilities</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=5286/data-sync-tool-issue</guid>
<pubDate>Mon, 03 Feb 2020 09:18:10 +0000</pubDate>
</item>
<item>
<title>Error: ENTT-2574 Field &quot;RATE&quot;, datatype &quot;numeric&quot; not supported  when trying to make a dump with DbStaging</title>
<link>https://overflow.efficy.io/?qa=5072/error-2574-field-datatype-numeric-supported-trying-dbstaging</link>
<description>&lt;p&gt;Hi everyone,&lt;/p&gt;

&lt;p&gt;I'm working on a migration from 2012 to 11.3&lt;br&gt;
Db Upgrade have run without any error,  i can connect, i can .. etc.&lt;/p&gt;

&lt;p&gt;But, when trying to make a dump with DbStaging, i receive this error:&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;&lt;code&gt;Error: ENTT-2574 Field &quot;RATE&quot;, datatype &quot;numeric&quot; not supported&lt;/code&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;ul&gt;
&lt;li&gt;I've try with a brand new database and i have no error.&lt;/li&gt;
&lt;li&gt;I've compare the 3 &lt;code&gt;RATE&lt;/code&gt; fields definition in &lt;code&gt;SYS_FIELDS&lt;/code&gt;, between my db and the brand new db, they are the same.&lt;/li&gt;
&lt;li&gt;i've compare the sql fields definition in the database, and they are the same&lt;/li&gt;
&lt;li&gt;i've check in the data, and there is no datas.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;DB Version is 11.3.18520.0&lt;br&gt;
DbStaging version is 11.3.18520.0&lt;br&gt;
Rgdb: SQL Server&lt;/p&gt;

&lt;p&gt;I don't see where is the error.&lt;/p&gt;

&lt;p&gt;Regards,&lt;/p&gt;
</description>
<category>Utilities</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=5072/error-2574-field-datatype-numeric-supported-trying-dbstaging</guid>
<pubDate>Tue, 26 Nov 2019 08:55:37 +0000</pubDate>
</item>
<item>
<title>Function executeOdbcQuery not fetching full excel file string content</title>
<link>https://overflow.efficy.io/?qa=4915/function-executeodbcquery-fetching-excel-string-content</link>
<description>&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;I am currently using the function executeOdbcQuery to read and save the content&lt;br&gt;
of an excel file with different fields, one of them is targeted towards company memo.&lt;/p&gt;

&lt;p&gt;Here is an exemple of the length contained in one of those MEMO fields of the excel:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;Ont 20000 logements à gérer sur 3 départements -  Recherche une solution qui permettrait de mettre en relation directement les locataires et les prestataires externes - Les prestataires sont au nombre de 100 - La solution devra permettre aux locataires de valider la prise en charge et traitement - Idem pour le locataire ce qui permet ensuite aux équipes gestion de valider le bon traitement et le paiement -  Le fait d'exploiter notre extranet et des accès desktop par les prestataires plus des règles et procédures automatisées cela parait il jouable ou vraiment trop éloigné comme je le pense  - Projet potentiel sur fin d année
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;But when read by the function, the code fetches only a short part of this string:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;Ont 20000 logements à gérer sur 3 départements -  Recherche une solution qui permettrait de mettre en relation directement les locataires et les prestataires externes - Les prestataires sont au nombre de 100 - La solution devra permettre aux locataires de
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;I used the function with like this:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;Efficy.executeOdbcQuery(0, tempContext, ODBC_STRING, sql, true, true, 2)

ODBC_STRING = &quot;Provider=MSDASQL.1;Persist Security Info=False;Data Source=Excel Files;Initial Catalog=&quot;;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Is there some way to be able to read the full string in an excel file using this function?&lt;/p&gt;
</description>
<category>Utilities</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=4915/function-executeodbcquery-fetching-excel-string-content</guid>
<pubDate>Mon, 14 Oct 2019 11:39:16 +0000</pubDate>
</item>
<item>
<title>Use of mobile app without external Efficy access</title>
<link>https://overflow.efficy.io/?qa=4781/use-of-mobile-app-without-external-efficy-access</link>
<description>&lt;p&gt;A customer with an On-Premise Efficy installation (11.2) has no public URL available. Users can only log in with a VPN connection. Is there a way to let them use the mobile app without a VPN connection  (for example by making some adjustments in their firewall?)&lt;/p&gt;
</description>
<category>Utilities</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=4781/use-of-mobile-app-without-external-efficy-access</guid>
<pubDate>Fri, 13 Sep 2019 08:06:36 +0000</pubDate>
</item>
<item>
<title>Export Numeric Value to Excel gives partly numeric, partly text values in a numeric column</title>
<link>https://overflow.efficy.io/?qa=4581/export-numeric-partly-numeric-partly-values-numeric-column</link>
<description>&lt;p&gt;Hi all,&lt;/p&gt;

&lt;p&gt;When trying to export a data grid on a queryview with NUMERIC datatype the thousands+ numbers are considered text (aligned left) by Excel. The hundreds and below are considered numeric and are aligned right. Is there a solution for this behavior?&lt;/p&gt;

&lt;p&gt;Best regards,&lt;/p&gt;

&lt;p&gt;Rob&lt;/p&gt;
</description>
<category>Utilities</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=4581/export-numeric-partly-numeric-partly-values-numeric-column</guid>
<pubDate>Mon, 22 Jul 2019 13:59:48 +0000</pubDate>
</item>
<item>
<title>Error 'Unknown EntityView &quot;&quot;' when using DataSynchro (32- or 64-bits) for Efficy 11.2</title>
<link>https://overflow.efficy.io/?qa=4534/error-unknown-entityview-when-using-datasynchro-bits-efficy</link>
<description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;a customer is using the DataSynchro to import records.&lt;br&gt;
In Efficy 10SP2+ it did run without any problems, but they are now migrated to Efficy 11.2 and when they now use the DataSynchro to create a new import and want to select the tables they get the error 'Unknow EntityView &quot;&quot;'.&lt;br&gt;
&lt;img src=&quot;https://overflow.efficy.com/?qa=blob&amp;amp;qa_blobid=1130253673754534087&quot; alt=&quot;enter image description here&quot;&gt;&lt;br&gt;
We didn't change anything to the structure.&lt;br&gt;
How can we find out on which EntityView it's about?&lt;/p&gt;

&lt;p&gt;Best regards,&lt;br&gt;
Jeroen&lt;/p&gt;
</description>
<category>Utilities</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=4534/error-unknown-entityview-when-using-datasynchro-bits-efficy</guid>
<pubDate>Mon, 08 Jul 2019 08:45:46 +0000</pubDate>
</item>
<item>
<title>Migration tool to fill the CRC fields for files?</title>
<link>https://overflow.efficy.io/?qa=4517/migration-tool-to-fill-the-crc-fields-for-files</link>
<description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;we've upgraded a customer to Efficy 11.2 and we had a problem when we wanted to replicate the database as the CRC fields for files weren't filled.&lt;br&gt;
Is there a tool to automatically fill these fields?&lt;/p&gt;

&lt;p&gt;Best regards,&lt;br&gt;
Jeroen&lt;/p&gt;
</description>
<category>Utilities</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=4517/migration-tool-to-fill-the-crc-fields-for-files</guid>
<pubDate>Fri, 05 Jul 2019 08:25:25 +0000</pubDate>
</item>
<item>
<title>Order of the tables for database replication</title>
<link>https://overflow.efficy.io/?qa=4513/order-of-the-tables-for-database-replication</link>
<description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;is it possible to adjust the order in which the tables are replicated?&lt;/p&gt;

&lt;p&gt;I'm asking this because for a customer we made a extra table to have a special history. For this we made a custom table and we now we see that this table is replicated before the Contacts table and therefor we have a foreign key constraint issue. To solve this we would like to adjust the order of the table replication.&lt;/p&gt;

&lt;p&gt;Best regards,&lt;br&gt;
Jeroen&lt;/p&gt;
</description>
<category>Utilities</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=4513/order-of-the-tables-for-database-replication</guid>
<pubDate>Thu, 04 Jul 2019 15:24:52 +0000</pubDate>
</item>
<item>
<title>Autocompletion of ServerScript method and priority with VSCode</title>
<link>https://overflow.efficy.io/?qa=4399/autocompletion-serverscript-method-priority-with-vscode</link>
<description>&lt;p&gt;Hey guys, would be so nice to have an autocompletion of every method and property inside VSCode, i hope someone will developpe something soon. &lt;/p&gt;

&lt;p&gt;Like that we can developpe more faster and be more productive !&lt;/p&gt;
</description>
<category>Utilities</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=4399/autocompletion-serverscript-method-priority-with-vscode</guid>
<pubDate>Mon, 03 Jun 2019 12:20:18 +0000</pubDate>
</item>
<item>
<title>Datasynchro cuts string after 510 characters</title>
<link>https://overflow.efficy.io/?qa=4128/datasynchro-cuts-string-after-510-characters</link>
<description>&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;I'm having an issue with importing a text into the memo field for the company module.&lt;br&gt;
I've successfully imported a list of contacts but importing another file containing company data poses a problem.&lt;/p&gt;

&lt;p&gt;The string in the excel file destined for the memo field is cut after 510 characters. I have tried changing the format to text, general, ... Also tried using datasynchro 32-bit and 64-bit, saving as xls and xlsx, ... Unfortunately nothing works.&lt;/p&gt;

&lt;p&gt;I can't find why the string is cut off. Does anyone have experience with this?&lt;br&gt;
Normally, i try to use the csv format but as the memo contains new lines i didn't think it was useful.&lt;/p&gt;

&lt;p&gt;Thanks in advance.&lt;/p&gt;
</description>
<category>Utilities</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=4128/datasynchro-cuts-string-after-510-characters</guid>
<pubDate>Mon, 22 Apr 2019 15:55:59 +0000</pubDate>
</item>
<item>
<title>Is there any way to use openUrlSecure in a DataSynch Remote ? Env : 11.2 | DatasynchroRemote</title>
<link>https://overflow.efficy.io/?qa=4096/there-openurlsecure-datasynch-remote-datasynchroremote</link>
<description>&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;I got to use the  openUrlSecure in a serverjs DataSynchro Remote script,&lt;br&gt;
but the function is not supported in this case, &lt;br&gt;
is there any way to use it or any other function to replace it please?&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;

&lt;p&gt;Env : 11.2 | DatasynchroRemote&lt;/p&gt;
</description>
<category>Utilities</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=4096/there-openurlsecure-datasynch-remote-datasynchroremote</guid>
<pubDate>Fri, 12 Apr 2019 10:51:08 +0000</pubDate>
</item>
<item>
<title>How to get a master Dataset using Datasynchro Remote? Env : 11.1 | DatasynchroRemote</title>
<link>https://overflow.efficy.io/?qa=4087/master-dataset-using-datasynchro-remote-datasynchroremote</link>
<description>&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;I'm trying to get the master Dataset using DatasynchroRemote,&lt;br&gt;
i've followed what is specified in edn concernig this need,&lt;/p&gt;

&lt;p&gt;i used : &lt;br&gt;
(Remote) &lt;strong&gt;Efficy.getMasterDataSet(contextHandle, tableViewIndex)&lt;/strong&gt; &lt;/p&gt;

&lt;p&gt;which return &lt;strong&gt;TSoapResponseHandle&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;so i used :&lt;/p&gt;

&lt;p&gt;(Remote) Efficy.getDataset(handle) which return normally a TDataset,&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;var dsSale = Efficy.getMasterDataset(editSale,0);&lt;br&gt;
var ds = Efficy.getDataset(dsSale);&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;but unfortunately i get this error:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;SOAP Error : No result&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Could you help me please?&lt;/p&gt;

&lt;p&gt;Thank you&lt;/p&gt;
</description>
<category>Utilities</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=4087/master-dataset-using-datasynchro-remote-datasynchroremote</guid>
<pubDate>Wed, 10 Apr 2019 15:47:53 +0000</pubDate>
</item>
<item>
<title>Add Chinese characters with Datasynchro (ODBC limitation)</title>
<link>https://overflow.efficy.io/?qa=4077/add-chinese-characters-with-datasynchro-odbc-limitation</link>
<description>&lt;p&gt;Hi everyone,&lt;/p&gt;

&lt;p&gt;After some discussion we used the following to make the Chinese characters works with an ODBC driver during a Datasynchro.&lt;/p&gt;

&lt;p&gt;First I had to transform the Chinese characters in HTML entities with a small Power Shell Script (.ps1).&lt;br&gt;
custom: It takes the name of the folder without .csv and with a trailing TBE (to be encoded)&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;Add-Type -AssemblyName System.Web
## Import each line of the CSV file into an array of PowerShell objects
$file = $args[0]
$output = $file.Substring(0,$file.Length-3)
$records = Import-Csv -Path &quot;$file.csv&quot; -Delimiter &quot;;&quot;

## Encode each field in html entities
$records | ForEach-Object {
    foreach ($field in $_.PSObject.Properties.Name)
    {
        ##$_.$field = [System.Web.HttpUtility]::UrlDecode($_.$field)
$_.$field = [uri]::EscapeUriString($_.$field)
    }
}

## Export the array of modified objects to the CSV file
$records | Export-Csv -Path &quot;$output.csv&quot; -Force -notype -Delimiter &quot;;&quot;

## Display the object in tabular form
$records | Format-Table -AutoSize
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Then decode it during the Import script with following function &lt;br&gt;
&quot; decodeURIComponent() &quot;. &lt;br&gt;
For the newer version of the datasynchro (&amp;gt;10sp2)  the fields can be decoded directly in the start job. &lt;/p&gt;

&lt;p&gt;And it worked !&lt;/p&gt;

&lt;p&gt;Thanks to Alexandre and Kristof.&lt;/p&gt;
</description>
<category>Utilities</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=4077/add-chinese-characters-with-datasynchro-odbc-limitation</guid>
<pubDate>Tue, 02 Apr 2019 10:42:23 +0000</pubDate>
</item>
<item>
<title>Export data from Efficy to sage in file xls</title>
<link>https://overflow.efficy.io/?qa=4061/export-data-from-efficy-to-sage-in-file-xls</link>
<description>&lt;p&gt;When exporting data from Efficy to Sage (dataSync Remote), I need to access the sage database to generate a new &quot;no_piece&quot;, to export new documents.&lt;/p&gt;

&lt;p&gt;I used the methods:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;Efficy.executeSQLQuery (sql, params);
Efficy.executeBatch;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;It tells me: &lt;/p&gt;

&lt;pre&gt;&lt;code&gt;EfficyException 0 (ZEOS-2174) Invalid object name 'F_xxxxx' 
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Where &lt;code&gt;F_xxxxx&lt;/code&gt; is table in sage that contains the current &quot;no_piece&quot;&lt;/p&gt;

&lt;p&gt;And the &quot;ExecuteODBCQuery&quot; method is not a remote method.&lt;/p&gt;
</description>
<category>Utilities</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=4061/export-data-from-efficy-to-sage-in-file-xls</guid>
<pubDate>Tue, 26 Mar 2019 11:06:48 +0000</pubDate>
</item>
<item>
<title>How to use dataSync remote to export data Efficy in file (Excel or CSV)?</title>
<link>https://overflow.efficy.io/?qa=3997/how-to-use-datasync-remote-export-data-efficy-file-excel-csv</link>
<description>&lt;p&gt;hi guys,&lt;/p&gt;

&lt;p&gt;How to use dataSync remote to export data Efficy in file (Excel or CSV)?&lt;/p&gt;

&lt;p&gt;How can we insert data from Efficy in file (Excel or CSV)?&lt;/p&gt;

&lt;p&gt;thanks a lots for your feedback.&lt;/p&gt;
</description>
<category>Utilities</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=3997/how-to-use-datasync-remote-export-data-efficy-file-excel-csv</guid>
<pubDate>Mon, 04 Mar 2019 10:16:51 +0000</pubDate>
</item>
<item>
<title>How to generate specific DataSynchro log files?</title>
<link>https://overflow.efficy.io/?qa=3928/how-to-generate-specific-datasynchro-log-files</link>
<description>&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;I need to generate specific DataSynchro log files which contains some details that the client needs( number of records, number of errors, imported recors, rejected  records ...)&lt;/p&gt;

&lt;p&gt;PS: the import is scheduled.&lt;/p&gt;

&lt;p&gt;Could you help me doing that please?&lt;/p&gt;

&lt;p&gt;Thanks&lt;br&gt;
Regards&lt;/p&gt;
</description>
<category>Utilities</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=3928/how-to-generate-specific-datasynchro-log-files</guid>
<pubDate>Fri, 08 Feb 2019 09:44:12 +0000</pubDate>
</item>
<item>
<title>DataSynchro and Date Format.</title>
<link>https://overflow.efficy.io/?qa=3757/datasynchro-and-date-format</link>
<description>&lt;p&gt;Hi All,&lt;/p&gt;

&lt;p&gt;I would like to know which date format is used by DataSynchro/DataSynchroEmbedded.&lt;br&gt;
- Efficy Admin Console Date Format&lt;br&gt;
- Windows Date Format&lt;/p&gt;

&lt;p&gt;I've made a few test and it seems that we need to use the windows date format but, why ?&lt;br&gt;
is that true ?&lt;/p&gt;

&lt;p&gt;If yes it seems that we need to know the windows server config, and we also need to use different code for using in datasynchro and in serverscript.&lt;/p&gt;

&lt;p&gt;Can you confirm ?&lt;/p&gt;

&lt;p&gt;(i'm on an Efficy 2014 6100)&lt;/p&gt;

&lt;p&gt;Regards,&lt;/p&gt;
</description>
<category>Utilities</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=3757/datasynchro-and-date-format</guid>
<pubDate>Mon, 17 Dec 2018 08:47:46 +0000</pubDate>
</item>
<item>
<title>How to provide custombase from DataSynchroRemote or SOAP clients</title>
<link>https://overflow.efficy.io/?qa=3678/how-provide-custombase-from-datasynchroremote-soap-clients</link>
<description>&lt;p&gt;Since Efficy 11.0, import directives can be used inside database workflow to include serverjs files. When this is a custom file, it's placed in the &lt;code&gt;mycustomer/serverjs&lt;/code&gt; folder. This requires passing on the &lt;code&gt;custombase&lt;/code&gt; also for SOAP initiated sessions.&lt;/p&gt;

&lt;p&gt;Passing the &lt;code&gt;custombase&lt;/code&gt; as a property in the &amp;lt;efficy:logon/&amp;gt; node will not function.&lt;/p&gt;

&lt;p&gt;The solution is to pass the custombase as argument to the Web request URL. E.g.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;https://mycustomer.efficytest.com/crm/SOAP?custombase=mycustomer
&lt;/code&gt;&lt;/pre&gt;
</description>
<category>Utilities</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=3678/how-provide-custombase-from-datasynchroremote-soap-clients</guid>
<pubDate>Fri, 23 Nov 2018 14:21:08 +0000</pubDate>
</item>
<item>
<title>Logging in DbStaging?</title>
<link>https://overflow.efficy.io/?qa=3362/logging-in-dbstaging</link>
<description>&lt;p&gt;When generating scripts with the DbStaging tool we are getting the Error Unexpected DataType: ftUnknown. We have tried to look for unsupported datatypes but there are none (anymore). &lt;/p&gt;

&lt;p&gt;Is there an option to generate a log or debug in the DbStaging tool for the point or field the error is thrown?&lt;/p&gt;
</description>
<category>Utilities</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=3362/logging-in-dbstaging</guid>
<pubDate>Mon, 02 Jul 2018 16:24:23 +0000</pubDate>
</item>
<item>
<title>Data Synchro - Import data in multivalue field</title>
<link>https://overflow.efficy.io/?qa=2860/data-synchro-import-data-in-multivalue-field</link>
<description>&lt;p&gt;Hi all!&lt;/p&gt;

&lt;p&gt;I want to import some data in Efficy with DataSync Tool. In a Relation Table i have a multivalue field. Its choices come from the F&lt;em&gt;ROLE field of a LookUp Table (LK&lt;/em&gt;THEMROLE).&lt;br&gt;
1 | role1&lt;br&gt;
2 | role2&lt;br&gt;
...&lt;/p&gt;

&lt;p&gt;I tried to import data from an Excel file wich looks like this :&lt;br&gt;
Them.Name | Cont.FirstName | Cont.Name | THEM&lt;em&gt;CONT.F&lt;/em&gt;ROLES&lt;br&gt;
Them1 | Firstname1 | Name1 | role1;role2;role5&lt;br&gt;
...&lt;/p&gt;

&lt;p&gt;when i run  the synchro the tool throw me this exception :&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;[10:48:17.083] Error while creating or modifying destination record.&lt;br&gt;
  [10:48:17.087] Error: WKFL-2142 Error while executing Script&lt;br&gt;
  &quot;EVariantTypeCastError&quot; at line 42 char 5. Message: &quot;Could not convert&lt;br&gt;
  variant of type (Dispatch) into type (Integer)&quot;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;I tried to replace the name of each role by it's id in the LookUp Table but it's the same&lt;/p&gt;

&lt;p&gt;Can anyone help me ?&lt;br&gt;
Thanks a lot&lt;/p&gt;
</description>
<category>Utilities</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=2860/data-synchro-import-data-in-multivalue-field</guid>
<pubDate>Fri, 29 Dec 2017 10:27:56 +0000</pubDate>
</item>
<item>
<title>DataSync : find multiple contact per row</title>
<link>https://overflow.efficy.io/?qa=2851/datasync-find-multiple-contact-per-row</link>
<description>&lt;p&gt;Hi all!&lt;/p&gt;

&lt;p&gt;I have an Excel file with several contacts to import.&lt;br&gt;
Each of them can be linked to another contact (maybe not).&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;Header : FIRSTNAME; NAME; [contact fields...]; managerFIRSTNAME; managerNAME
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;I generated the script with DataSynchro Tool and modified it, but I can not find the 2 contacts.&lt;br&gt;
I want to :&lt;br&gt;
- search if the contact already exists (with &lt;strong&gt;FIRSTNAME&lt;/strong&gt; and &lt;strong&gt;NAME&lt;/strong&gt;), insert or update him,&lt;br&gt;
-  search if his referent exists (with &lt;strong&gt;managerFIRSTNAME&lt;/strong&gt; and &lt;strong&gt;managerNAME&lt;/strong&gt;), insert or update this one&lt;br&gt;
- and finally link the twice (to link them i have a field &quot;referent&quot; to fill and use &quot;insertDetail2&quot;).&lt;/p&gt;

&lt;p&gt;I checked &quot;&lt;em&gt;Use field to find existing record at import&lt;/em&gt;&quot; for  FIRSTNAME, NAME, managerFIRSTNAME, managerNAME&lt;br&gt;
Do I have to separate them in 2 worksheets and import them like this ? :&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;select Cont.NAME,
       Cont.FIRSTNAME,
       Cont.COMPANY,
       Cont.EMAIL1,
       [...], 
       Cont.CITY,
       User.FIRSTNAME, User.LASTNAME from [Contacts$] Cont
       LEFT JOIN [Users$] User
            ON Cont.ReferentFIRSTNAME = User.FIRSTNAME
            AND Cont.ReferentLASTNAME = User.LASTNAME;
&lt;/code&gt;&lt;/pre&gt;
</description>
<category>Utilities</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=2851/datasync-find-multiple-contact-per-row</guid>
<pubDate>Mon, 18 Dec 2017 19:37:05 +0000</pubDate>
</item>
<item>
<title>How to import PICTURE (BLOB) from an External Database into an Efficy PICTURE field ?</title>
<link>https://overflow.efficy.io/?qa=2717/import-picture-blob-external-database-efficy-picture-field</link>
<description>&lt;p&gt;Dear all,&lt;/p&gt;

&lt;p&gt;I have to import PICTURES into Efficy PICTURE fields from an External ORACLE Database into an Efficy Database by using a Datasync, but the following code is not working (No Error but the PICTURE field stay empty) : &lt;/p&gt;

&lt;pre&gt;&lt;code&gt;Database.UpdateCategory(EditHandle, 'PROP$BROCHURE', 'F_PIC' + indexPic, DataStore.AsString('PICR_DATA'));
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;PICR_DATA is an Oracle Blob&lt;/p&gt;
</description>
<category>Utilities</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=2717/import-picture-blob-external-database-efficy-picture-field</guid>
<pubDate>Tue, 03 Oct 2017 13:28:15 +0000</pubDate>
</item>
<item>
<title>Error closing DataSynchroRemote when used with a commandline</title>
<link>https://overflow.efficy.io/?qa=2663/error-closing-datasynchroremote-when-used-with-commandline</link>
<description>&lt;p&gt;For a customer we built a DataSynchroRemote to import data from an Excel sheet into Efficy. When performing the import within the DataSynchroRemote user interface, the import is completed without any errors.&lt;/p&gt;

&lt;p&gt;When starting the same DataSynchro from a commandline (with the .dat-file as the commandline parameter,) the import is processed correctly, but an error occurs when the application is closed after completing:&lt;/p&gt;

&lt;p&gt;&lt;em&gt;executable        : DataSynchroRemote.exe&lt;br&gt;
exec. date/time   : 2017-03-31 10:40&lt;br&gt;
version           : 10.0.7987.0&lt;br&gt;
compiled with     : Delphi 2009&lt;br&gt;
madExcept version : 3.0n&lt;br&gt;
callstack crc     : $b943c1eb, $eea85a9b, $eea85a9b&lt;br&gt;
exception number  : 1&lt;br&gt;
exception class   : EAccessViolation&lt;br&gt;
exception message : Access violation at address 005636E3 in module 'DataSynchroRemote.exe'. Read of address 0DA868F0.&lt;/em&gt;&lt;/p&gt;
</description>
<category>Utilities</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=2663/error-closing-datasynchroremote-when-used-with-commandline</guid>
<pubDate>Fri, 25 Aug 2017 10:52:34 +0000</pubDate>
</item>
<item>
<title>Wrong character incoding when exporting Efficy Data in a CSV file usin DataSynchroRemote</title>
<link>https://overflow.efficy.io/?qa=2611/wrong-character-incoding-exporting-efficy-datasynchroremote</link>
<description>&lt;p&gt;Hello Everyone, &lt;/p&gt;

&lt;p&gt;For one of my projects, I have to export Efficy data into a csv file using the DataSynchroRemote tool and I noticed during my tests that some special characters are not propely incoded in my csv file:&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://overflow.efficy.com/?qa=blob&amp;amp;qa_blobid=4557812496703107251&quot; alt=&quot;&amp;quot;5ème SENS&amp;quot; is correctly incoded in Efficy Database&quot;&gt;&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://overflow.efficy.com/?qa=blob&amp;amp;qa_blobid=6767383536817817261&quot; alt=&quot;Data exported in csv file&quot;&gt;&lt;/p&gt;

&lt;p&gt;I tried to encode those values using Js functions like encodeUri (for example) but without success. &lt;/p&gt;

&lt;p&gt;Do someone have an idea on how I could do? &lt;/p&gt;

&lt;p&gt;Kr,&lt;/p&gt;

&lt;p&gt;Prince &lt;/p&gt;
</description>
<category>Utilities</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=2611/wrong-character-incoding-exporting-efficy-datasynchroremote</guid>
<pubDate>Thu, 13 Jul 2017 08:52:42 +0000</pubDate>
</item>
<item>
<title>error on running &quot;generate Scripts&quot; on DbStaging</title>
<link>https://overflow.efficy.io/?qa=2595/error-on-running-generate-scripts-on-dbstaging</link>
<description>&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;Has any one got such error message on running DbStaging --&amp;gt; Generate Scripts&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://overflow.efficy.com/?qa=blob&amp;amp;qa_blobid=3048048307367369512&quot; alt=&quot;enter image description here&quot;&gt;&lt;/p&gt;

&lt;p&gt;Thank you in advance for advice.&lt;/p&gt;

&lt;p&gt;Best Regards.&lt;/p&gt;
</description>
<category>Utilities</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=2595/error-on-running-generate-scripts-on-dbstaging</guid>
<pubDate>Mon, 10 Jul 2017 10:14:58 +0000</pubDate>
</item>
<item>
<title>DatatsynchroRemote: function Database.SetSysStorageValue not working</title>
<link>https://overflow.efficy.io/?qa=2593/datatsynchroremote-function-database-setsysstoragevalue</link>
<description>&lt;p&gt;Hello Everyone: &lt;/p&gt;

&lt;p&gt;I'm trying to update a value in Sys_Storage from a DatasynchroRemote using Database function &quot;&lt;strong&gt;SetSysStorageValue&lt;/strong&gt;&quot; but I get the following error message:&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;Message: &quot;Cet objet ne gère pas cette propriété ou cette méthode&quot;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Translation: &quot;This object doesn't support that property or method.&quot;&lt;/p&gt;

&lt;p&gt;I know that some basic functions are not the same when using the DatasynchroRemote tool but we have no doc about this.&lt;/p&gt;

&lt;p&gt;Do someone know how I could do this (update a Sys_Storage value) ?&lt;/p&gt;

&lt;p&gt;Kr,&lt;/p&gt;

&lt;p&gt;Prince&lt;/p&gt;
</description>
<category>Utilities</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=2593/datatsynchroremote-function-database-setsysstoragevalue</guid>
<pubDate>Fri, 07 Jul 2017 09:25:26 +0000</pubDate>
</item>
<item>
<title>Scheduled Workflow Window not able to display UTF-8 Characters</title>
<link>https://overflow.efficy.io/?qa=2547/scheduled-workflow-window-not-able-display-utf-characters</link>
<description>&lt;p&gt;Hi all,&lt;/p&gt;

&lt;p&gt;I don't want to believe it, but it looks as the Scheduled Workflow window is not able to display non latin characters :-/&lt;/p&gt;

&lt;p&gt;Am I mistaken or is this a bug/feature?&lt;/p&gt;

&lt;p&gt;I am dealing with japanese &amp;amp; chinese contacts ;-)&lt;/p&gt;

&lt;p&gt;Thank you &lt;/p&gt;

&lt;p&gt;Tim&lt;/p&gt;
</description>
<category>Utilities</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=2547/scheduled-workflow-window-not-able-display-utf-characters</guid>
<pubDate>Tue, 13 Jun 2017 09:40:31 +0000</pubDate>
</item>
<item>
<title>Schedule the generated (.dat) script by datasynch tool</title>
<link>https://overflow.efficy.io/?qa=1912/schedule-the-generated-dat-script-by-datasynch-tool</link>
<description>&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;Is there a solution to schedule the import script (.bat) generated by datasynch tool. I have tried using schedule admin tool but it generates a lot of errors.&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;
</description>
<category>Utilities</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=1912/schedule-the-generated-dat-script-by-datasynch-tool</guid>
<pubDate>Mon, 03 Oct 2016 14:36:52 +0000</pubDate>
</item>
<item>
<title>What is the ExecuteODBCQuery syntax in a remote dataSynchro</title>
<link>https://overflow.efficy.io/?qa=1868/what-is-the-executeodbcquery-syntax-in-remote-datasynchro</link>
<description>&lt;p&gt;What is the ExecuteODBCQuery syntax in a remote dataSynchro ?&lt;/p&gt;

&lt;p&gt;In dataSynchro, I use :&lt;/p&gt;

&lt;p&gt;var Connection = &quot;Provider=MSDASQL.1;Persist Security Info=False;Data Source=BOB CP&quot;;&lt;/p&gt;

&lt;p&gt;var ds = Database.ExecuteODBCQuery(QueryHandle, Database.OpenTemporaryContext, Connection, SQL, true, true, 1);&lt;/p&gt;

&lt;p&gt;if (ds &amp;amp;&amp;amp; !ds.isEmpty) {    &lt;br&gt;
    ds.First;   &lt;br&gt;
        ...&lt;br&gt;
}&lt;/p&gt;

&lt;p&gt;But, in dataSynchroRemote, ExecuteODBCQuery gives an error&lt;/p&gt;
</description>
<category>Utilities</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=1868/what-is-the-executeodbcquery-syntax-in-remote-datasynchro</guid>
<pubDate>Thu, 15 Sep 2016 09:20:32 +0000</pubDate>
</item>
<item>
<title>does anybody knows which port is used for datasynchro when running from a client</title>
<link>https://overflow.efficy.io/?qa=1504/does-anybody-knows-which-port-used-datasynchro-running-client</link>
<description>&lt;p&gt;Hi all,&lt;/p&gt;

&lt;p&gt;is there a certain port, the DataSynchro communicates with the application Server during the logon?&lt;/p&gt;

&lt;p&gt;A custom want to have the datasynchro.exe local at on a Workstation of an employee which will be responsible for importing new lead data.&lt;/p&gt;

&lt;p&gt;Now they asked if there is a Special port to open for the communication between datasync and the application Server.&lt;/p&gt;

&lt;p&gt;Did I understand it correctly, the datasync connects to the application Server and uses the inoformation in the alias Manager (alias.ini) to conntect to the database for importing or exporting data?&lt;/p&gt;

&lt;p&gt;thanks in advance and best regards&lt;/p&gt;

&lt;p&gt;Stephan&lt;/p&gt;
</description>
<category>Utilities</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=1504/does-anybody-knows-which-port-used-datasynchro-running-client</guid>
<pubDate>Thu, 07 Apr 2016 12:35:44 +0000</pubDate>
</item>
<item>
<title>Efficy 2014 new SideBar for Mac?</title>
<link>https://overflow.efficy.io/?qa=1223/efficy-2014-new-sidebar-for-mac</link>
<description>&lt;p&gt;Can you tell us more about the new SideBar for Mac?&lt;br&gt;
How to install it? How does it work? How to use it?&lt;/p&gt;
</description>
<category>Utilities</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=1223/efficy-2014-new-sidebar-for-mac</guid>
<pubDate>Mon, 18 Jan 2016 09:46:04 +0000</pubDate>
</item>
<item>
<title>DBEditor new functionnality : Indexes</title>
<link>https://overflow.efficy.io/?qa=1220/dbeditor-new-functionnality-indexes</link>
<description>&lt;p&gt;From Efficy 2014 R6640 in the DBEditor there is a new tool to add compute additional indexes to speed-up list queries, also for custom entities. &lt;/p&gt;

&lt;p&gt;Is it about Database Native Indexes? Where is it? How this is working?&lt;/p&gt;

&lt;p&gt;Can we have more information of indexes which have been put in place to improve search performance?&lt;/p&gt;
</description>
<category>Utilities</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=1220/dbeditor-new-functionnality-indexes</guid>
<pubDate>Mon, 18 Jan 2016 09:29:20 +0000</pubDate>
</item>
<item>
<title>add default security during data import via datasynchro</title>
<link>https://overflow.efficy.io/?qa=1207/add-default-security-during-data-import-via-datasynchro</link>
<description>&lt;p&gt;Hi all,&lt;/p&gt;

&lt;p&gt;how to set the Default security during Import via datasyncro?&lt;/p&gt;

&lt;p&gt;If I create a Company manually, the Default security will be set based on the configuration in conficy.&lt;/p&gt;

&lt;p&gt;User 1 creates a record manually and the security will be set like:&lt;br&gt;
ADMIN has full Access right&lt;br&gt;
Group 1 has read / write rights&lt;br&gt;
Group 2 has search rights&lt;br&gt;
the user itself has read / write / secure rights&lt;br&gt;
....&lt;/p&gt;

&lt;p&gt;How can I get the same result when doing the Import via datasynchro? &lt;/p&gt;

&lt;p&gt;I found a function &quot;SetSecurityUsers&quot; and did some tests but it seems this is not the proper function for my expected result.&lt;/p&gt;

&lt;p&gt;Any help would be greate.&lt;/p&gt;

&lt;p&gt;Thanks in advance and best regards&lt;/p&gt;

&lt;p&gt;Stephan&lt;/p&gt;
</description>
<category>Utilities</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=1207/add-default-security-during-data-import-via-datasynchro</guid>
<pubDate>Fri, 15 Jan 2016 10:56:00 +0000</pubDate>
</item>
<item>
<title>Set the record owner during datasyncro import</title>
<link>https://overflow.efficy.io/?qa=1185/set-the-record-owner-during-datasyncro-import</link>
<description>&lt;p&gt;Hi all,&lt;/p&gt;

&lt;p&gt;is there a function to set the owner directly during Import via datasyncro?&lt;/p&gt;

&lt;p&gt;Have to Import companies and contacts were the security in Efficy is set based on a &quot;user field&quot; from the Import file.&lt;/p&gt;

&lt;p&gt;To set the user and the security is clear and works but I did not find how to set the owner. Currently my owner is always the &quot;efficy_admin&quot; user, used to Access the efficy database in the data syncro module.&lt;/p&gt;

&lt;p&gt;Any hint would be appreciated, thanks in advance and best regards&lt;/p&gt;

&lt;p&gt;Stephan&lt;/p&gt;
</description>
<category>Utilities</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=1185/set-the-record-owner-during-datasyncro-import</guid>
<pubDate>Wed, 13 Jan 2016 09:20:20 +0000</pubDate>
</item>
<item>
<title>Where is the Application ID stored when using DataSynchro</title>
<link>https://overflow.efficy.io/?qa=1141/where-is-the-application-id-stored-when-using-datasynchro</link>
<description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;when you do an import using DataSynchro(Remote) it's possible to set an Application ID, but where is this Application ID stored?&lt;/p&gt;

&lt;p&gt;Best regards,&lt;br&gt;
Jeroen Floor&lt;/p&gt;
</description>
<category>Utilities</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=1141/where-is-the-application-id-stored-when-using-datasynchro</guid>
<pubDate>Fri, 08 Jan 2016 09:18:33 +0000</pubDate>
</item>
<item>
<title>Does Database.DeleteAttachment exists?</title>
<link>https://overflow.efficy.io/?qa=1027/does-database-deleteattachment-exists</link>
<description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;In my DB i have 2 attachments per document :&lt;br&gt;
                            one is linked document,&lt;br&gt;
                            this other is blob.&lt;/p&gt;

&lt;p&gt;I want to remove the linked document with datasync (so where the kind = 2 in files table).&lt;br&gt;
Do you know any Efficy methods which can do that?&lt;br&gt;
How can i do that? i tried ExecuteQuery, ExecuteSystemSQLQuery, UpdateDetails to modify the k&lt;em&gt;1(K&lt;/em&gt;document) to attach it to another document. But nothing work :(&lt;/p&gt;

&lt;p&gt;Kr,&lt;br&gt;
Cyril&lt;/p&gt;
</description>
<category>Utilities</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=1027/does-database-deleteattachment-exists</guid>
<pubDate>Mon, 21 Dec 2015 15:05:38 +0000</pubDate>
</item>
<item>
<title>Upload users from Excell to Efficy with DataSync</title>
<link>https://overflow.efficy.io/?qa=984/upload-users-from-excell-to-efficy-with-datasync</link>
<description>&lt;p&gt;Here is a script to import users from an Excel file to an Efficy database.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;All users are set with the same password and added to the corresponding group&lt;/em&gt;&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;    var k_user = getLastKUser();
    function EfficyImportRecord(DataStore) {
    var sql_contactexist = &quot;select * from acc_accounts where usercode like '&quot;+ DataStore.AsString('USERCODE') + &quot;'&quot;
    var dsExist = ExecuteQuery(sql_contactexist, '');
    var role = 0;
    switch(DataStore.AsString('K_ROLE')){

        case '' : role = 1;break;
        case 'group1' : role = 2;break;
        case 'group2' : role = 3;break;
        case 'group3' : role = 4;break;
        case 'group4' : role = 5;break;
        case 'group5' : role = 6;break;
        case 'group6' : role =  7;break;
        case 'group7' : role = 8;break;
        case 'group8' : role =  9;break;
        case 'group9' : role = 10;break;
        case 'group10' : role = 11;break;
        default : role = 0;break
    }
    if( !dsExist.RecordCount) {
        Database.log('New user : ' + DataStore.AsString('FULLNAME') + ' role : ' + role + ' k_user' + k_user)


        var sql_insertcontact = &quot;INSERT INTO ACC_ACCOUNTS (K_USER, USERCODE,PHONE,FULLNAME, D_CREATE, D_CHANGE, KIND, ISACTIVE, CATEGORY, AUTH_METHOD, UPRIVILEGES, PASSWRD, NACL,EMAIL, K_ROLE, ULIST, D_REPLIC) VALUES ('&quot;+k_user+&quot;','&quot;+DataStore.AsString('USERCODE')+&quot;','&quot;+DataStore.AsString('PHONE')+&quot;','&quot;+DataStore.AsString('FULLNAME') + &quot;', '2015-11-25','2015-11-25','0','1','0','1','2','2663389AF48B52F0A64B5F39BD99A7679682CEDF8F162356ECCD5D29A67B25F9','&quot;+DataStore.AsString('EMAIL')+&quot;','&quot;+role+&quot;','255','2015-11-25')&quot;;

var sql_insertcontacttogroup = &quot;INSERT INTO ACC_GROUPS (K_USER, K_USER2, D_CHANGE, D_REPLIC, K_REPLICUSER) VALUES ('&quot;+ role +&quot;', '&quot;+ k_user +&quot;' , '2015-11-25','2015-11-25','0')&quot;;

        ExecuteQuery(sql_insertcontact, '')
        ExecuteQuery(sql_insertcontacttogroup, '')

        k_user ++

    }     
      return true
    }
    function ExecuteQuery(SQL, QueryParams, StoreID) {
        QueryHandle = 0;
        if(StoreID == &quot;&quot;) StoreID = 0;
        var testSQL = new String(SQL);
        testSQL = testSQL.toUpperCase();
        if(testSQL.indexOf(&quot;SELECT&quot;, 0)&amp;gt;=0){
            var ContextHandle   = Database.OpenTemporaryContext;
            return Database.ExecuteSystemSQLQuery(QueryHandle, ContextHandle, SQL, QueryParams, true, true, StoreID);
        } else {
            Database.ExecSQL(SQL,QueryParams, false);
            return true;
        }
    }
    function getLastKUser(){
          var last = &quot;select max(k_user) as last from acc_accounts where k_user &amp;lt; 99999000&quot;      
          var ds = ExecuteQuery(last, '');          
          return ds.FieldByName('last').AsFloat
    }
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;&lt;strong&gt;How to get the crypted password :&lt;/strong&gt; &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;We must use conficy to generate a new password and copy the generated strings (PASSWRD, NACL) in the database for all users using this password*&lt;/li&gt;
&lt;/ul&gt;
</description>
<category>Utilities</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=984/upload-users-from-excell-to-efficy-with-datasync</guid>
<pubDate>Mon, 30 Nov 2015 16:13:47 +0000</pubDate>
</item>
<item>
<title>Mass update in queries</title>
<link>https://overflow.efficy.io/?qa=968/mass-update-in-queries</link>
<description>&lt;p&gt;Is it possible to do a mass update in queries. Or a workaround to update a field for a list of records.&lt;/p&gt;

&lt;p&gt;Regards,&lt;br&gt;
Can D.&lt;/p&gt;
</description>
<category>Utilities</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=968/mass-update-in-queries</guid>
<pubDate>Fri, 27 Nov 2015 14:16:09 +0000</pubDate>
</item>
<item>
<title>DB Staging Tool 8.0.6640.0 issue + walkaround (&quot;Database engine is not defined&quot;)</title>
<link>https://overflow.efficy.io/?qa=922/staging-tool-6640-issue-walkaround-database-engine-defined</link>
<description>&lt;p&gt;There is an issu'e with the V8.0.664.0 of the DB staging tool, when you attempt to &quot;Generate Script&quot; after the 2 required dumps (initial and final).&lt;br&gt;
Each attempt leads to a popup displaying &quot;Database engine is not defined&quot;.&lt;/p&gt;

&lt;p&gt;This seems to be due to a bug, as this version of the DB Staging tool alwas save the [Database].Engine as &quot;0&quot; in DBStaging.ini, both when you click on &quot;Generate script&quot; and when you leave the utility. Due to that, your options are always overwritten.&lt;/p&gt;

&lt;p&gt;The wakaround I found to solve that issue consist of :&lt;br&gt;
1) editing manually the &quot;DBStaging.ini&quot; file, positioning the good value (0 for Firebird, 1 for Oracle, 2 for MS-SQL Server)&lt;br&gt;
2) Set the &quot;DBStaging.ini&quot; as a read-only file in Windows.&lt;br&gt;
3) Launch the DB Staging tool.&lt;/p&gt;

&lt;p&gt;You will then be able to use the &quot;Generate script&quot;, despites some popups informing you that the utility is unable to write in &quot;DBStaging.ini&quot;.&lt;/p&gt;

&lt;p&gt;Of course, if you have to use the utility for another database, unset the read-only property of the file, and follow the same process.&lt;/p&gt;
</description>
<category>Utilities</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=922/staging-tool-6640-issue-walkaround-database-engine-defined</guid>
<pubDate>Mon, 16 Nov 2015 13:19:42 +0000</pubDate>
</item>
<item>
<title>DB Staging Tool Error on Save DB as text</title>
<link>https://overflow.efficy.io/?qa=816/db-staging-tool-error-on-save-db-as-text</link>
<description>&lt;p&gt;I directly get the following error when I've filled in the login info after choosing &quot;Save DB as text&quot;&lt;/p&gt;

&lt;p&gt;Connecting to Vendis_Test&lt;br&gt;
  Error: ORA-00942: Tabel of view bestaat niet.&lt;/p&gt;

&lt;p&gt;select indid, name, id from sysindexes where sysindexes.id = (select id from sysobjects where name = :TableName) and name not like '&lt;em&gt;WA&lt;/em&gt;Sys&lt;em&gt;%' and status &amp;lt;&amp;gt; 2050 and indid not in (0, 255) and name not in (select name from SYSOBJECTS where (XTYPE = 'PK') and parent&lt;/em&gt;obj = (select id from sysobjects where name = :TableName2) and UID = (select UID from SYSOBJECTS where (NAME = 'SYS_DATABASE') and (XTYPE = 'U'))) order by indid&lt;/p&gt;

&lt;p&gt;What can cause this ?&lt;br&gt;
Am I doing something wrong ?&lt;/p&gt;
</description>
<category>Utilities</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=816/db-staging-tool-error-on-save-db-as-text</guid>
<pubDate>Thu, 08 Oct 2015 07:31:46 +0000</pubDate>
</item>
</channel>
</rss>