IMPORT RELATIONSHIPS Action

UDP ›› Actions ››
Parent Previous Next

IMPORT RELATIONSHIPS Action

The IMPORT RELATIONSHIPS action imports the contents of the comma delimited text file (CSV) that contains the relationships of the specified business object. For example,

   

IMPORT RELATIONSHIPS OF PersonalSavingAccount FROM 'c:/mydocuments/psa.csv'  

   

The following option can be used with this action:

   

IN BATCHES OF  

   

If the action is likely to import many instances of the business object (hundreds or even thousands) their processing may take a while. In this case it is better to import smaller chunks (batches). After import of each batch finishes the results are immediately committed to the system and stored in the database. If the batch size is not specified the system will only commit the results once all the instances have been processed (see Batch Operations). For example:

   

IMPORT PersonalSavingAccount TO 'c:\mydocuments\psa.csv'IN BATCHES OF 100  

   

If IN BATCHES OF keyword is omitted the default batch size of 1000 is used.

   

See also the Export and Import Relationships section.