Previous Topic

Next Topic

Book Contents

Book Index

Special Data Object Properties

Some data objects have properties which require clarification:

AllowInactive

A boolean property, default false. Set True to disable inactive join checking for Active records, e.g. on JCJobData when setting JobStatus to Complete and saving the record prior to Inactivating a Job if the save is failing due to inactive categories, contacts, customer etc.

InactiveAllowed

A calculated boolean property on masterfile data objects. Returns a value based on the information directly available, e.g. For JCJobData is the saved JobStatus Complete, it does not guarantee that making a record Inactive would succeed, it indicates that is worth trying to make the record inactive and further validation across related records will occur on save. We recommend using a Try Catch statement and reporting the Code and Error if Inactivating fails.