Hi,

As the system prevents you to import records into an audit form, I am
trying to find the best way to disable the audit functionality via the
API.

One problem is that the audit form may have several parents, and it seems
necessary to go through the audit properties of all forms in the system,
in order to find all parents. Then you need to disable the audit
temporarily on all parents. This is both slow and complex to restore if
something goes wrong.

I found the constant AR_AUDIT_FORCE_DISABLE in ar.h.

Anyone knows how to use it?

/* Bit mask for audit set option */
#define AR_AUDIT_FORCE_DISABLE 0x0001
/* Forcfully disable the audit on the base form */
/* though the audit on the dependent form is enabled */

        Best Regards - Misi, RRR AB, http://www.rrr.se

Products from RRR Scandinavia (Best R.O.I. Award at WWRUG10):
* RRR|License - Not enough Remedy licenses? Save money by optimizing.
* RRR|Log - Performance issues or elusive bugs? Analyze your Remedy logs.
Find these products, and many free tools and utilities, at http://rrr.se.

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug11 www.wwrug.com ARSList: "Where the Answers Are"

Reply via email to