Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
pr_methods:importdata [2023/05/03 00:56] seanpr_methods:importdata [2025/06/12 04:00] (current) – Change to AwareIM aware_support3
Line 1: Line 1:
-{{tag>Programmers_Reference Methods IExecutionEngine_Interface importdata}}+{{tag>Programmers_Reference Methods IExecutionEngine_Interface importdata Index}}
  
 ====importData (IProcess, String, String, Integer, Boolean)==== ====importData (IProcess, String, String, Integer, Boolean)====
Line 10: Line 10:
 |''importFileName''|the full path to the file being imported | |''importFileName''|the full path to the file being imported |
 |''batchSize''|the number that specifies how many records are imported into the system before a transaction is committed. The system imports records in batches. Once the batch is complete the transaction is committed. If something goes wrong with the import of the subsequent batches so that the import process is aborted, those records that have been already committed are not affected. The higher the number the faster the processing of records, however it is also more likely that the whole process fails without writing any records.| |''batchSize''|the number that specifies how many records are imported into the system before a transaction is committed. The system imports records in batches. Once the batch is complete the transaction is committed. If something goes wrong with the import of the subsequent batches so that the import process is aborted, those records that have been already committed are not affected. The higher the number the faster the processing of records, however it is also more likely that the whole process fails without writing any records.|
-|''validate''|if the value of this parameter is true any rules associated with the business object being imported are executed. Consequently if there are any records which trigger the error action (see “Aware IM Rule Language Reference”) they are ignored and the corresponding business object is not created or modified. Setting this flag to true slows down the import process considerably, but on the other hand it guarantees that only valid instances of the business object are imported|+|''validate''|if the value of this parameter is true any rules associated with the business object being imported are executed. Consequently if there are any records which trigger the error action (see “AwareIM Rule Language Reference”) they are ignored and the corresponding business object is not created or modified. Setting this flag to true slows down the import process considerably, but on the other hand it guarantees that only valid instances of the business object are imported|
  
 ===Returns=== ===Returns===
 The created or modified instances of the business object as a collection of ''IEntity'' objects if validate flag is true. If validate flag is false ''null'' is returned. The created or modified instances of the business object as a collection of ''IEntity'' objects if validate flag is true. If validate flag is false ''null'' is returned.
  
  • Last modified: 2023/05/03 00:56