View source | Discuss this page | Page history | Printable version   

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)
Action Yes VARCHAR (60) The Action field indicates the Action to be performed for this element.
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.

AD_Client_ID Yes VARCHAR (32) A Client is a company or a legal entity. You cannot share data between Clients.
AD_Column_ID No VARCHAR (32) Link to the database column of the table
Createdby Yes VARCHAR (32) The Created By field indicates the user who created this record.
Created Yes TIMESTAMP (7) The Created field indicates the date that this record was created.
Event_Time Yes TIMESTAMP (7) Date and time when the event was performed.
NEW_Char Yes VARCHAR (4000)
NEW_Date Yes TIMESTAMP (7)
NEW_Nchar Yes NVARCHAR (2000)
NEW_Number Yes DECIMAL
NEW_Text Yes CLOB
OLD_Char Yes VARCHAR (4000)
OLD_Date Yes TIMESTAMP (7)
OLD_Nchar Yes NVARCHAR (2000)
OLD_Number Yes DECIMAL
OLD_Text Yes CLOB
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.
Process_ID Yes VARCHAR (32) Identifies the process that triggered the change.
Processtype Yes VARCHAR (60) Type of process that triggered the change.
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_Table_ID No VARCHAR (32) The Table indicates the table in which a field or fields reside.
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_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

Columns

AD_Audit_Trail_ID



top


Action


top


Active



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


Column


top


Created By



top


Creation Date



top


EventTime


top


New Char



top


New Date



top


New NChar



top


New Number



top


New Text



top


Old Char



top


Old Date



top


Old NChar



top


Old Number



top


Old Text



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


Process



top


Process Type



top


Record ID


top


Record Revision



top


Table


top


Updated



top


Updated By



top


User/Contact


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 4,585 times. This page was last modified on 7 September 2020, at 01:56. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.