Why does Data Importer not generate an error message when I try to link an Asset (or other jobs) to a Legal Document even when the job does not complete successfully? The status of the Data Importer is "Completed" but the job does not link the Legal Document to the Asset. The log file of the job shows the below errors.
Error on Secondary Lookup Object Errors—Unchecked.
Answer for Scenario 1:
Primary object is Legal document.
Secondary object is Asset (Legal Asset.Asset.Serial Number)
Here the status of the Data Importer job "Completed" means updating the Primary Object is completed without having any issues (in this case description of that Legal Document). If there are any issues in updating the Primary Object, then the system will give you the status of "Failed" instead of "Completed".
The above log file does not provide the failure count (Secondary Errors = 0) of the linking between Legal Document and Asset because "Error on Secondary Lookup Object Errors" option is unchecked.
If you can check this option and if you run the job, then the Data Importer will give you the Secondary Errors count as 1 "(Secondary Errors = 1)" and still the job status of the data importer will be "Completed".
In this case you need to open the log file first then verify if there are any errors (ie "Multiple records found for Legal Asset - <UUID>") and then verify the Secondary Errors count.
In this scenario though you have the secondary errors (linking) updating the Primary Object (description of that Legal Document) will be completed.
This is the expected behavior.
Trying to update the asset (Asset alias and Location name).
Answer for Scenario 2:
If you run the Job then the Job it will be failed with status "Completed with errors".
If you open the log file you can see below below errors:
If you uncheck that option then the system will process updating the primary object(Asset Alias)value.
This is the expected behaviour.
Release: UAPMAC990JPP-12.9-Asset Portfolio Management-Asset Configuration