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

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


ERP/2.50/Developers Guide/Reference/Entity Model/AD Audit Trail Raw


To the database table (AD_Audit_Trail) of this entity.

Back to the entity model.



Property Column Constraints Type Description
id* AD_Audit_Trail_ID Mandatory
Max Length: 32
client AD_Client_ID ADClient A Client is a company or a legal entity. You cannot share data between Clients.
organization AD_Org_ID Organization An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.
active Isactive Mandatory java.lang.Boolean 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.

creationDate Created java.util.Date The Created field indicates the date that this record was created.
createdBy Createdby Max Length: 32 java.lang.String The Created By field indicates the user who created this record.
updated Updated java.util.Date The Updated field indicates the date that this record was updated.
updatedBy Updatedby Max Length: 32 java.lang.String The Updated By field indicates the user who updated this record.
table# AD_Table_ID Mandatory
Max Length: 32
java.lang.String The Table indicates the table in which a field or fields reside.
recordID# Record_ID Max Length: 32 java.lang.String The Record ID is the internal unique identifier of a record
recordRevision Record_Revision java.lang.Long 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.
userContact# AD_User_ID Max Length: 32 java.lang.String The User identifies a unique user in the system. This could be an internal user or a business partner contact
eventTime# Event_Time java.util.Date Date and time when the event was performed.
processType Processtype Max Length: 60 java.lang.String Type of process that triggered the change.
process Process_ID Max Length: 32 java.lang.String Identifies the process that triggered the change.
action# Action Max Length: 60 java.lang.String The Action field indicates the Action to be performed for this element.
column# AD_Column_ID Mandatory
Max Length: 32
java.lang.String Link to the database column of the table
oldChar OLD_Char Max Length: 4000 java.lang.String
newChar NEW_Char Max Length: 4000 java.lang.String
oldNChar OLD_Nchar Max Length: 2000 java.lang.String
newNChar NEW_Nchar Max Length: 2000 java.lang.String
oldNumber OLD_Number java.math.BigDecimal
newNumber NEW_Number java.math.BigDecimal
oldDate OLD_Date java.util.Date
newDate NEW_Date java.util.Date

Java Entity Class

 * The contents of this file are subject to the Openbravo  Public  License
 * Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
 * Version 1.1  with a permitted attribution clause; you may not  use this
 * file except in compliance with the License. You  may  obtain  a copy of
 * the License at
 * Software distributed under the License  is  distributed  on  an "AS IS"
 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
 * License for the specific  language  governing  rights  and  limitations
 * under the License.
 * The Original Code is Openbravo ERP.
 * The Initial Developer of the Original Code is Openbravo SLU
 * All portions are Copyright (C) 2008-2010 Openbravo SLU
 * All Rights Reserved.
 * Contributor(s):  ______________________________________.
import org.openbravo.base.structure.ActiveEnabled;
import org.openbravo.base.structure.BaseOBObject;
import org.openbravo.base.structure.ClientEnabled;
import org.openbravo.base.structure.OrganizationEnabled;
import org.openbravo.model.common.enterprise.Organization;
import java.lang.Boolean;
import java.lang.Long;
import java.lang.String;
import java.math.BigDecimal;
import java.util.Date;
 * Entity class for entity AD_Audit_Trail_Raw (stored in table AD_Audit_Trail).
 * NOTE: This class should not be instantiated directly. To instantiate this
 * class the {@link org.openbravo.base.provider.OBProvider} should be used.
public class AuditTrailRaw extends BaseOBObject implements ClientEnabled,
    OrganizationEnabled, ActiveEnabled {
    private static final long serialVersionUID = 1L;
    public static final String TABLE_NAME = "AD_Audit_Trail";
    public static final String AD_Audit_Trail_Raw = "AD_Audit_Trail_Raw";
    public static final String PROPERTY_ID = "id";
    public static final String PROPERTY_CLIENT = "client";
    public static final String PROPERTY_ORGANIZATION = "organization";
    public static final String PROPERTY_ACTIVE = "active";
    public static final String PROPERTY_CREATIONDATE = "creationDate";
    public static final String PROPERTY_CREATEDBY = "createdBy";
    public static final String PROPERTY_UPDATED = "updated";
    public static final String PROPERTY_UPDATEDBY = "updatedBy";
    public static final String PROPERTY_TABLE = "table";
    public static final String PROPERTY_RECORDID = "recordID";
    public static final String PROPERTY_RECORDREVISION = "recordRevision";
    public static final String PROPERTY_USERCONTACT = "userContact";
    public static final String PROPERTY_EVENTTIME = "eventTime";
    public static final String PROPERTY_PROCESSTYPE = "processType";
    public static final String PROPERTY_PROCESS = "process";
    public static final String PROPERTY_ACTION = "action";
    public static final String PROPERTY_COLUMN = "column";
    public static final String PROPERTY_OLDCHAR = "oldChar";
    public static final String PROPERTY_NEWCHAR = "newChar";
    public static final String PROPERTY_OLDNCHAR = "oldNChar";
    public static final String PROPERTY_NEWNCHAR = "newNChar";
    public static final String PROPERTY_OLDNUMBER = "oldNumber";
    public static final String PROPERTY_NEWNUMBER = "newNumber";
    public static final String PROPERTY_OLDDATE = "oldDate";
    public static final String PROPERTY_NEWDATE = "newDate";
    public AuditTrailRaw() {
        setDefaultValue(PROPERTY_ACTIVE, true);
        setDefaultValue(PROPERTY_CREATEDBY, "0");
    public String getEntityName() {
        return AD_Audit_Trail_Raw;
    public String getId() {
        return (String) get(PROPERTY_ID);
    public void setId(String id) {
        set(PROPERTY_ID, id);
    public Client getClient() {
        return (Client) get(PROPERTY_CLIENT);
    public void setClient(Client client) {
        set(PROPERTY_CLIENT, client);
    public Organization getOrganization() {
        return (Organization) get(PROPERTY_ORGANIZATION);
    public void setOrganization(Organization organization) {
        set(PROPERTY_ORGANIZATION, organization);
    public Boolean isActive() {
        return (Boolean) get(PROPERTY_ACTIVE);
    public void setActive(Boolean active) {
        set(PROPERTY_ACTIVE, active);
    public Date getCreationDate() {
        return (Date) get(PROPERTY_CREATIONDATE);
    public void setCreationDate(Date creationDate) {
        set(PROPERTY_CREATIONDATE, creationDate);
    public String getCreatedBy() {
        return (String) get(PROPERTY_CREATEDBY);
    public void setCreatedBy(String createdBy) {
        set(PROPERTY_CREATEDBY, createdBy);
    public Date getUpdated() {
        return (Date) get(PROPERTY_UPDATED);
    public void setUpdated(Date updated) {
        set(PROPERTY_UPDATED, updated);
    public String getUpdatedBy() {
        return (String) get(PROPERTY_UPDATEDBY);
    public void setUpdatedBy(String updatedBy) {
        set(PROPERTY_UPDATEDBY, updatedBy);
    public String getTable() {
        return (String) get(PROPERTY_TABLE);
    public void setTable(String table) {
        set(PROPERTY_TABLE, table);
    public String getRecordID() {
        return (String) get(PROPERTY_RECORDID);
    public void setRecordID(String recordID) {
        set(PROPERTY_RECORDID, recordID);
    public Long getRecordRevision() {
        return (Long) get(PROPERTY_RECORDREVISION);
    public void setRecordRevision(Long recordRevision) {
        set(PROPERTY_RECORDREVISION, recordRevision);
    public String getUserContact() {
        return (String) get(PROPERTY_USERCONTACT);
    public void setUserContact(String userContact) {
        set(PROPERTY_USERCONTACT, userContact);
    public Date getEventTime() {
        return (Date) get(PROPERTY_EVENTTIME);
    public void setEventTime(Date eventTime) {
        set(PROPERTY_EVENTTIME, eventTime);
    public String getProcessType() {
        return (String) get(PROPERTY_PROCESSTYPE);
    public void setProcessType(String processType) {
        set(PROPERTY_PROCESSTYPE, processType);
    public String getProcess() {
        return (String) get(PROPERTY_PROCESS);
    public void setProcess(String process) {
        set(PROPERTY_PROCESS, process);
    public String getAction() {
        return (String) get(PROPERTY_ACTION);
    public void setAction(String action) {
        set(PROPERTY_ACTION, action);
    public String getColumn() {
        return (String) get(PROPERTY_COLUMN);
    public void setColumn(String column) {
        set(PROPERTY_COLUMN, column);
    public String getOldChar() {
        return (String) get(PROPERTY_OLDCHAR);
    public void setOldChar(String oldChar) {
        set(PROPERTY_OLDCHAR, oldChar);
    public String getNewChar() {
        return (String) get(PROPERTY_NEWCHAR);
    public void setNewChar(String newChar) {
        set(PROPERTY_NEWCHAR, newChar);
    public String getOldNChar() {
        return (String) get(PROPERTY_OLDNCHAR);
    public void setOldNChar(String oldNChar) {
        set(PROPERTY_OLDNCHAR, oldNChar);
    public String getNewNChar() {
        return (String) get(PROPERTY_NEWNCHAR);
    public void setNewNChar(String newNChar) {
        set(PROPERTY_NEWNCHAR, newNChar);
    public BigDecimal getOldNumber() {
        return (BigDecimal) get(PROPERTY_OLDNUMBER);
    public void setOldNumber(BigDecimal oldNumber) {
        set(PROPERTY_OLDNUMBER, oldNumber);
    public BigDecimal getNewNumber() {
        return (BigDecimal) get(PROPERTY_NEWNUMBER);
    public void setNewNumber(BigDecimal newNumber) {
        set(PROPERTY_NEWNUMBER, newNumber);
    public Date getOldDate() {
        return (Date) get(PROPERTY_OLDDATE);
    public void setOldDate(Date oldDate) {
        set(PROPERTY_OLDDATE, oldDate);
    public Date getNewDate() {
        return (Date) get(PROPERTY_NEWDATE);
    public void setNewDate(Date newDate) {
        set(PROPERTY_NEWDATE, newDate);

Retrieved from ""

This page has been accessed 995 times. This page was last modified on 2 July 2011, at 21:53. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.