View source | Discuss this page | Page history | Printable version   
Toolbox
Main Page
Upload file
What links here
Recent changes
Help

PDF Books
Add page
Show collection (0 pages)
Collections help

Search

ERP/3.0/Developers Guide/Database Model/org.openbravo.model.ad.access/AD Audit Trail

This article is protected against manual editing because it is automatically generated from Openbravo meta-data. Learn more about writing and translating such documents.
Back button.png   Back to ERP/3.0/Developers Guide/Database Model/org.openbravo.model.ad.access


Contents

AD_Audit_Trail

This table contains the following columns:

Name Nullable Data Type Description


AD_Audit_Trail_ID No VARCHAR (32)
AD_Client_ID Yes VARCHAR (32) A Client is a company or a legal entity. You cannot share data between Clients.
AD_Org_ID Yes VARCHAR (32) An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.
Isactive No CHAR (1) There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reporting. There are two reasons for de-activating and not deleting records:

(1) The system requires the record for auditing purposes. (2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are existing invoices for it. By de-activating the Business Partner you prevent it from being used in future transactions.

Created Yes TIMESTAMP (7) The Created field indicates the date that this record was created.
Createdby Yes VARCHAR (32) The Created By field indicates the user who created this record.
Updated Yes TIMESTAMP (7) The Updated field indicates the date that this record was updated.
Updatedby Yes VARCHAR (32) The Updated By field indicates the user who updated this record.
AD_Table_ID No VARCHAR (32) The Table indicates the table in which a field or fields reside.
Record_ID Yes VARCHAR (32) The Record ID is the internal unique identifier of a record
Record_Revision Yes DECIMAL It is a consecutive number that identifies a revision of a record. Each edition on a record in an audited table increases this revision by 1.
AD_User_ID Yes VARCHAR (32) The User identifies a unique user in the system. This could be an internal user or a business partner contact
Event_Time Yes TIMESTAMP (7) Date and time when the event was performed.
Processtype Yes VARCHAR (60) Type of process that triggered the change.
Process_ID Yes VARCHAR (32) Identifies the process that triggered the change.
Action Yes VARCHAR (60) The Action field indicates the Action to be performed for this element.
AD_Column_ID No VARCHAR (32) Link to the database column of the table
OLD_Char Yes VARCHAR (4000)
NEW_Char Yes VARCHAR (4000)
OLD_Nchar Yes NVARCHAR (2000)
NEW_Nchar Yes NVARCHAR (2000)
OLD_Number Yes DECIMAL
NEW_Number Yes DECIMAL
OLD_Date Yes TIMESTAMP (7)
NEW_Date Yes TIMESTAMP (7)
OLD_Text Yes CLOB
NEW_Text Yes CLOB

Columns

AD_Audit_Trail_ID



top


Client


Foreign key column to AD_Client table, (column: AD_Client_ID) It has a validation "AD_Client Security validation", with the following code

AD_Client.AD_Client_ID in (@#User_Client@)

top


Organization


Foreign key column to AD_Org table, (column: AD_Org_ID) It has a validation "AD_Org Security validation", with the following code

(@AD_Client_ID@='0' AND AD_Org.AD_Org_ID='0') OR (@AD_Client_ID@!='0' AND ((AD_Org.AD_Client_ID IN (@#User_Client@) AND AD_Org.AD_Org_ID IN (@#User_Org@)) OR AD_Org.AD_Org_ID='0' AND AD_Org.IsSummary='N'))

top


Active



top


Creation Date



top


Created By



top


Updated



top


Updated By



top


Table


top


Record ID


top


Record Revision



top


User/Contact


top


EventTime


top


Process Type



top


Process



top


Action


top


Column


top


Old Char



top


New Char



top


Old NChar



top


New NChar



top


Old Number



top


New Number



top


Old Date



top


New Date



top


Old Text



top


New Text



top


Other Info

Indices

These are the indices for this table (for each index there is a list of all the columns included within it):

top


Back button.png   Back to org.openbravo.model.ad.access

Retrieved from "http://wiki.openbravo.com/wiki/ERP/3.0/Developers_Guide/Database_Model/org.openbravo.model.ad.access/AD_Audit_Trail"

This page has been accessed 1,782 times. This page was last modified on 5 August 2014, at 13:57. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.