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



Close Work Orders via Batch Expand / Collapse
Author
Message
Posted 4/23/2008 9:23:16 AM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: 2 days ago @ 7:45:08 AM
Posts: 93, Visits: 116
Is there any way to mass close work orders via SQL statement using SQL express a,d conversly, any way to remove the closed flag from a work order that has already been flagged as closed?
Post #3959
Posted 4/23/2008 10:02:26 AM
AyaNova Development & Support

AyaNova Development & SupportAyaNova Development & SupportAyaNova Development & SupportAyaNova Development & SupportAyaNova Development & SupportAyaNova Development & SupportAyaNova Development & SupportAyaNova Development & Support

Group: Administrators
Last Login: Yesterday @ 3:29:27 PM
Posts: 88, Visits: 391
PGPhantom (4/23/2008)
Is there any way to mass close work orders via SQL statement using SQL express a,d conversly, any way to remove the closed flag from a work order that has already been flagged as closed?

There is no way to do either via a sql command and making changes directly in the sql database *will* cause massive damage to the logical structure of your database which we will not provide support to fix other than recommending a restore from backup.

The good news is that closing work orders programmatically is easy and safe if you use the AyaNova developers API, anything you can do in the AyaNova user interface you can do through program code using the developers api.  The developers API is designed for exactly this kind of scenario allowing anyone to make safe changes to the AyaNova database without risk of damage of any kind.  The developers API manages a huge amount of complexity automatically behind the scenes.

See the developers api forum here for more information.

There is no way to open a closed work order, that is by design. This is not a mistake or an oversite on our part, AyaNova performs dozens of operations on areas all over the database when you close a work order including updating important historical data, finalizing inventory totals, service bank totals, notification items etc etc etc.  A closed work order is permanently closed.  It's far more than a "flag", closing a work order causes a chain reaction of updates that can not be reversed without permanent damage to the logical structure of the database.

Post #3960
« 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:30am

Powered by InstantForum.NET v4.1.4 © 2008
Execution: 0.094. 9 queries. Compression Disabled.