Article Details
Id:10367
Product:finPOWER Connect
Type:FIX
Version:1.06.00
Opened:31/07/2012
Closed:31/07/2012
Released:01/08/2012
Job: J010122

finClient.Parent property was Nothing when not accessed via Parent record

When creating and loading a finClient object related to an External Party, the .Parent property was Nothing.

The .Parent property was only set to a finExternalParty object when accessed via the ExternalParty, e.g., finExternalParty.Client.Parent.

This could cause a Client record to fail to save if it was an Organisation linked to an External Party and Employment items had been added. The following error message was returned:

Failed to save Client.
Failed to save Client Employments.
Failed to create unique Client Employment Id.
Client Employment Id is only applicable to Clients that are External Parties.

Also, adding a 'Personnel' record from the Clients form, Personnel page for an External Party Client gives the following error moving to the third page in the wizard:

Failed to create unique Client Employment Id.
Client Employment Id is only applicable to Clients that are External Parties.