Article Details
Id:9191
Product:finPOWER Connect
Type:NEW
Version:1.04.02
Opened:01/08/2011
Closed:30/09/2011
Released:25/10/2011
Job: J007896

Import Information; Now fails or produces a warning if items with invalid Ids are found

The Import Information wizard will now fail the following Admin Library objects if an invalid Id is found in the XML, e.g., an Account Type specifies a Document which does not exist:

Account Types (Elements, Documents, GL Accounts, Monitor Categories, Product Type, Rate Tables, Scripts, Workflow Types)
Bank Accounts (Entities, Scripts, Transaction Types, Payment Methods, Elements)
Client Groups (Decision Cards, Scripts, Contact Methods, Statistic Types)
Client Types (Tax Categories)
Contact Methods (Information Lists)
Decision Cards (Scripts)
Documents (Elements, Parameter Sets)
Elements (Scripts, Elements, GL Accounts, External Parties)
Entities (Secured Party Groups, Calendars)
Identification Types (Information Lists)
Product Types (Information Lists, Scripts, Account Roles, Account Types, Security Statement Groups)
Queues (Documents, Scripts - Queries and Reports cannot be validated by the business layer)
Scripts (Parameter Sets)
Security Types (Information Lists, Parameter Sets)
Workflow Types (Documents, Information Lists, Log Severities, Workflow Types, Users)

When importing from the respective Admin form, the import will not fail, rather a warning message is displayed to the User if any invalid Ids are found. The User can then edit the partially imported record.

A warnings collection is returned from the respective FromXmlString business layer methods .