Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

If you experience an error not described below, please contact Aptify Technical Support for assistance.

Anchor
_OrderFail
_OrderFail
Installation Fails During Update of Orders Entity

If your organization has modified the Orders entity, it is possible that the Aptify 6.2 3 installation may fail when the setup program is updating the Orders entity while attempting to update virtual field definitions for the ShipToEmail and BillToEmail fields to support company only orders. Perform the following steps if the installation fails as described in this scenario.

  1. Open the record for the Orders entity in the Entities service.
  2. Set the definition for the ShipToEmail virtual field:

    No Format
    ShipToEmail -Set virtual Field Type = Calculated
    
    Set below Calculation: 
    Case p2.LastName
    when '[Not Specified]' then c1.MainEmail 
    else
    p2.Email1
    End


  3. Set the definition for the ShipToEmail virtual field:

    No Format
    BillToEmail -Set virtual Field Type = Calculated
    
    Set below Calculation:
    Case p3.LastName
    when '[Not Specified]' then c.MainEmail 
    else
    p3.Email1
    End


  4. Set the definition for the BillToName virtual field:

    No Format
    Update below Calculation:
    (RTRIM(p2.FirstName) + ' ' + LTRIM(p2.LastName))


  5. Save and close the Orders entity record.


Anchor
_CircRef
_CircRef
Circular References with Form Templates or Dashboards

The Aptify 6.2 3 database setup may fail if a form template or dashboard circular reference error is found. In Aptify 6.23, Aptify added the Unique Identifier for form templates to prevent circular reference errors, so you should not see this error on systems that originated from 6.23. However, you may see this issue if your database was at one point an earlier version.

...

You can then re-run the setup, you do not need to restore the database to prior to previous installation attempt.

Anchor
_ReqField
_ReqField
Scenarios Where Setup May Fail Due to Entity Updates and Required Fields

Required Field without Default Value on Persons Entity

If an entity has a required field that does not have a default value, the installation may fail. If this occurs, follow these steps to resolve the problem:

  1. Identify which required field does not have a default value based on the error information provided by the setup program.
  2. Restore the database back to its original state prior to the installation attempt which failed.
  3. Open the appropriate entity and specify a default value for the field you identified in step 1.
  4. Save and close the entity.
  5. Re-run the Aptify 6.2 setup program.

Anchor
_GrantSQL
_GrantSQL
Grant SQL Cannot Generate a Field that Does Not Exist in the Base View and Field Level Security

If an entity has a field that is not part of the base view, the installation may fail. For example, Aptify 6.2 added a new field to Companies called Logo. This can be a problem for certain databases whose entity meets these conditions:

...

If an organization has an entity that meets all of the conditions listed above and the 6.2 3 setup program is adding or new field to that entity, then the 6.2 3 setup program will fail. The work around for the above example is:

  1. Turn off the Grant SQL Text Generation for the entity's base view (back-end update).
  2. Update the entity (for example, add the new field manually).
  3. Manually add the new field to the entity's SQL Text and to the all the Grant statements from the appropriate Database Objects records.
  4. Turn on Grant SQL Text Generation (back-end update).
  5. Re-run the setup, if possible, on a restored backup from prior to installation.



Anchor
_AptifyWeb
_AptifyWeb
Aptify Web Site May Fail to Load Certain DLLs


When launching the Aptify website, certain 32-bit DLLs in the AptifyServicesAPI Bin folder may prevent the site from loading – most notably is ConfigManifestForm.dll, which may exist on systems that have been through a major version upgrade. The workaround is to remove these DLLs and any dependencies from the AptifyServiceAPI folders and then load the site again. Contact Aptify Technical Support if you have any questions or concerns about removing objects from the AptifyServiceAPI folder

Anchor
_rowSet
_rowSet
Database Setup Fails Due to Enabled Row Set Security

When upgrading to Aptify 6.23, the database setup fails if Row Set Security is set in the Persons and Companies entities in your environment. To ensure a successful upgrade, you should remove Row Set Security from the Persons and Companies entities before beginning the installation procedure. You can reinstate the Row Set Security settings once the install is successful. Follow these steps for the Persons and Companies entities:

...

Once you have completed the upgrade to Aptify 6.23, you can re-enable the rules for Row Set Security in the Persons and/or Companies entities using the following steps:

  1. Open the record for the entity in the Entities service.
  2. Click the Row Set Security tab.
  3. Open a new Row Set Security sub‐type record.
    • Either click the New Record... button in the menu bar, or right‐click in the gray area and select New from pop‐up menu to open a new record.

  4. Enter the rule you recording back in step 4 in the Base View Where Clause field.
  5. Enter a description for the rule.
  6. Click OK to save the rule.
  7. Enter additional rules for the same entity, if necessary. Aptify uses an AND operator to separate multiple Base View where Clauses within a generated base view.
    • Alternatively, you can click OK and New in Step 8 to save the current and open a new Row Set Security record in one step.

  8. Save and close the Entities record.

  9.  Regenerate the base view for any related entities that join to the entity for which you just enabled row set security.

Anchor
_newordersf
_newordersf
The “Create Order” button on Summary Forms may not work as Expected

After upgrading to Aptify 6.23, there might be a scenario where the 'Create Order' option from a person or company summary form may not work. Follow the below steps for the respective entity to make sure it works:

  1. For Person Entity:
    1. In Form Template part record 'Aptify.Persons.SummaryForm.Actions.Content.CreateOrder', open 'Input Map' Tab and update the below highlighted properties:
      • Select Action Type: Open Form
      • Set Target Entity: Orders
      • Set Record ID: -1

      • Set New Record Parameter: PARAMS(CompanyParty='Individual'| ShipToID=<%ID%>)

  2. For Company Entity:
    1. In Form template part record 'Aptify.Companies.SummaryForm.Actions.Content.CreateOrder', open 'Input Map' Tab and update the below highlighted properties:
      • Select Action Type: Open Form
      • Set Target Entity: Orders
      • Set Record ID: -1
      • Set New Record Parameter: PARAMS(CompanyParty='Company'|ShipToCompanyID=<%ID%>)

Installation May Fail Due to Invalid Data

If you have records contain bad data, the setup may fail when the Database Objects validation options is selected in the setup. For example, if you have orders for a subscription with invalid Subscriber ID where that person (Subscriber ID) does not exist in the database hence failing the validation process. You will need to fix the invalid data before continuing with the install. The dialog that is displayed during the setup process when this error is encountered includes suggested SQL to resolve or further investigate the issue. See the appropriate step in the Installing Aptify 6.3 Server Software for more details.