|
ObjAcctInfo |
Top Previous Next |
|
When a record is retrieved, it is returned in a DataSet. All DataSets returned from the ObjAcct Framework contain a table called "ObjAcctInfo", which has three fields:
ErrorNumber - If this is a possitive number, it indicates the number of rows returned. If this is a negative number, it indicates an error condition.
ErrorMessage - If an error occured when retrieving entity or document records from the ObjAcct Framework, this will contain the text of the error message.
RetrieveTimestamp - Contains the time the record was retrieved. This value can be submitted back to the web service during a save operation to detect if another user has updated the same record since the current copy of the record was retrieved. If a multi-user conflict occurs (if another user updated the record after the RetrieveTimestamp), an ErrorNumber -50902 is retrieved. Since the data in the DataSet is now out of date, a fresh copy of the record must be retrieved before modifying it and saving it back to the database.
|