AyaNova service management & work order software
AyaNova Support Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        


RESOLVED IN 4.2.0.0: error saving workorder... Expand / Collapse
Author
Message
Posted 7/15/2008 10:33:13 AM
AyaNova Sales & Support

AyaNova Sales & SupportAyaNova Sales & SupportAyaNova Sales & SupportAyaNova Sales & SupportAyaNova Sales & SupportAyaNova Sales & SupportAyaNova Sales & SupportAyaNova Sales & Support

Group: Administrators
Last Login: 11/14/2008 11:59:15 AM
Posts: 1,851, Visits: 4,297
The following occurs in such a situation:
  1. User is connecting via a dataportal connection
  2. User manually generates a workorder from a PM
  3. User selects Save or Save & Exit in the newly generated workorder, and error occurs similar to below (number varies as dependant on internal GUID)

If using Firebird:

violation of PRIMARY or UNIQUE KEY constraint "PK__AWORKORDER__587208C1" on table "AWORKORDER"

Or error may be similar to if using SQL:

Violation of PRIMARY KEY constraint 'PK__AWORKORDER__114A936A'. Cannot insert duplicate key in object 'dbo.aWorkorder'

What is occurring with the dataportal connection is that the workorder is actually created with a new workorder number - so when the user tries to save, a conflict occurs (already have a workorder with that same number).

If instead the user does the following, they can than go back into the generated workorder and enter additional details etc as needed.

  1. User is connecting via a dataportal connection
  2. User manually generates a workorder from a PM
  3. User before entering any additional details, selects the X in the upper right-hand corner to close out
  4. User selects "No" to the question "Do you want to save changes?"
  5. The user now views the Service Workorder grid, and Refreshes
  6. The user now sees the newly  created workorder and can now open its entry screen and enter any additional details as desired.

Development will be addressing this dataportal issue in a maintenance update.

 

[FORUM NOTE: This issue has been addressed in AyaNova 4.2.0.0]

AyaNova Sales & Technical Support
http://www.ayanova.com
Post #4192
« Prev Topic | Next Topic »

Reading This Topic Expand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: AyaNova Sales & Support

Permissions Expand / Collapse

All times are GMT -8:00, Time now is 3:03am

Powered by InstantForum.NET v4.1.4 © 2008
Execution: 0.078. 16 queries. Compression Disabled.