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/Reference/Entity Model/TestDocument

TestDocument

This window contains different instructions' documents.

To the database table (AT_TestDocument) of this entity.

Back to the entity model.

Properties

Note:

Property Column Constraints Type Description
id* AT_Testdocument_ID Mandatory
Max Length: 32
java.lang.String
client AD_Client_ID Mandatory ADClient A Client is a company or a legal entity. You cannot share data between Clients.
organization AD_Org_ID Mandatory 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 Mandatory java.util.Date The Created field indicates the date that this record was created.
createdBy Createdby Mandatory ADUser The Created By field indicates the user who created this record.
updated Updated Mandatory java.util.Date The Updated field indicates the date that this record was updated.
updatedBy Updatedby Mandatory ADUser The Updated By field indicates the user who updated this record.
name# Name Mandatory
Max Length: 60
java.lang.String A more descriptive identifier (that does need to be unique) of a record/document that is used as a default search option along with the search key (that is unique and mostly shorter). It is up to 60 characters in length.
description Description Max Length: 255 java.lang.String A description is limited to 255 characters.
extension Extension Mandatory
Max Length: 4
java.lang.String
header1 Header1 Mandatory
Max Length: 2000
java.lang.String
suffix Suffix Max Length: 60 java.lang.String The Suffix indicates the characters to append to the document number.
footer Footer Mandatory
Max Length: 2000
java.lang.String Font size for footer
contentType Contenttype Mandatory
Max Length: 60
java.lang.String
header2 Header2 Max Length: 2000 java.lang.String
header3 Header3 Max Length: 2000 java.lang.String
header4 Header4 Max Length: 2000 java.lang.String
language AD_Language ADLanguage The Language identifies the language to use for display
lineInterchange Line_Interchanger Mandatory java.lang.Boolean
prefix Prefix Mandatory java.lang.Boolean The Prefix indicates the characters to print in front of the document number.
introduction Introduction Mandatory java.lang.Boolean
testDocumentLineList List of TestDocumentLine

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 http://www.openbravo.com/legal/license.html
 * 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):  ______________________________________.
 ************************************************************************
*/
package org.openbravo.model.ad.utility;
 
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.base.structure.Traceable;
import org.openbravo.model.ad.access.User;
import org.openbravo.model.ad.system.Client;
import org.openbravo.model.ad.system.Language;
import org.openbravo.model.common.enterprise.Organization;
 
import java.lang.Boolean;
import java.lang.String;
 
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
 
/**
 * Entity class for entity TestDocument (stored in table AT_TestDocument).
 *
 * NOTE: This class should not be instantiated directly. To instantiate this
 * class the {@link org.openbravo.base.provider.OBProvider} should be used.
 */
public class TestDocument extends BaseOBObject implements Traceable,
    ClientEnabled, OrganizationEnabled, ActiveEnabled {
    private static final long serialVersionUID = 1L;
    public static final String TABLE_NAME = "AT_TestDocument";
    public static final String TestDocument = "TestDocument";
    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_NAME = "name";
    public static final String PROPERTY_DESCRIPTION = "description";
    public static final String PROPERTY_EXTENSION = "extension";
    public static final String PROPERTY_HEADER1 = "header1";
    public static final String PROPERTY_SUFFIX = "suffix";
    public static final String PROPERTY_FOOTER = "footer";
    public static final String PROPERTY_|-
|id<sup>*</sup> || [[ERP/3.0/Developers_Guide/Database_Model/org.openbravo.model.ad.utility/AT_TestDocument#Test Document | AT_Testdocument_ID]] || Mandatory<br/>Max Length: 32 || java.lang.String || 
 
|-
|client || [[ERP/3.0/Developers_Guide/Database_Model/org.openbravo.model.ad.utility/AT_TestDocument#Client | AD_Client_ID]] || Mandatory || [[ERP/3.0/Developers_Guide/Reference/Entity_Model/ADClient | ADClient]] || A Client is a company or a legal entity. You cannot share data between Clients.
 
|-
|organization || [[ERP/3.0/Developers_Guide/Database_Model/org.openbravo.model.ad.utility/AT_TestDocument#Organization | AD_Org_ID]] || Mandatory || [[ERP/3.0/Developers_Guide/Reference/Entity_Model/Organization | Organization]] || An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.
 
|-
|active || [[ERP/3.0/Developers_Guide/Database_Model/org.openbravo.model.ad.utility/AT_TestDocument#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 || [[ERP/3.0/Developers_Guide/Database_Model/org.openbravo.model.ad.utility/AT_TestDocument#Creation Date | Created]] || Mandatory || java.util.Date || The Created field indicates the date that this record was created.
 
|-
|createdBy || [[ERP/3.0/Developers_Guide/Database_Model/org.openbravo.model.ad.utility/AT_TestDocument#Created By | Createdby]] || Mandatory || [[ERP/3.0/Developers_Guide/Reference/Entity_Model/ADUser | ADUser]] || The Created By field indicates the user who created this record.
 
|-
|updated || [[ERP/3.0/Developers_Guide/Database_Model/org.openbravo.model.ad.utility/AT_TestDocument#Updated | Updated]] || Mandatory || java.util.Date || The Updated field indicates the date that this record was updated.
 
|-
|updatedBy || [[ERP/3.0/Developers_Guide/Database_Model/org.openbravo.model.ad.utility/AT_TestDocument#Updated By | Updatedby]] || Mandatory || [[ERP/3.0/Developers_Guide/Reference/Entity_Model/ADUser | ADUser]] || The Updated By field indicates the user who updated this record.
 
|-
|name<sup>#</sup> || [[ERP/3.0/Developers_Guide/Database_Model/org.openbravo.model.ad.utility/AT_TestDocument#Name | Name]] || Mandatory<br/>Max Length: 60 || java.lang.String || A more descriptive identifier (that does need to be unique) of a record/document that is used as a default search option along with the search key (that is unique and mostly shorter). It is up to 60 characters in length.
 
|-
|description || [[ERP/3.0/Developers_Guide/Database_Model/org.openbravo.model.ad.utility/AT_TestDocument#Description | Description]] || Max Length: 255 || java.lang.String || A description is limited to 255 characters.
 
|-
|extension || [[ERP/3.0/Developers_Guide/Database_Model/org.openbravo.model.ad.utility/AT_TestDocument#Extension | Extension]] || Mandatory<br/>Max Length: 4 || java.lang.String || 
 
|-
|header1 || [[ERP/3.0/Developers_Guide/Database_Model/org.openbravo.model.ad.utility/AT_TestDocument#Header 1 | Header1]] || Mandatory<br/>Max Length: 2000 || java.lang.String || 
 
|-
|suffix || [[ERP/3.0/Developers_Guide/Database_Model/org.openbravo.model.ad.utility/AT_TestDocument#Suffix | Suffix]] || Max Length: 60 || java.lang.String || The Suffix indicates the characters to append to the document number.
 
|-
|footer || [[ERP/3.0/Developers_Guide/Database_Model/org.openbravo.model.ad.utility/AT_TestDocument#Footer | Footer]] || Mandatory<br/>Max Length: 2000 || java.lang.String || Font size for footer
 
|-
|contentType || [[ERP/3.0/Developers_Guide/Database_Model/org.openbravo.model.ad.utility/AT_TestDocument#Content Type | Contenttype]] || Mandatory<br/>Max Length: 60 || java.lang.String || 
 
|-
|header2 || [[ERP/3.0/Developers_Guide/Database_Model/org.openbravo.model.ad.utility/AT_TestDocument#Header 2 | Header2]] || Max Length: 2000 || java.lang.String || 
 
|-
|header3 || [[ERP/3.0/Developers_Guide/Database_Model/org.openbravo.model.ad.utility/AT_TestDocument#Header 3 | Header3]] || Max Length: 2000 || java.lang.String || 
 
|-
|header4 || [[ERP/3.0/Developers_Guide/Database_Model/org.openbravo.model.ad.utility/AT_TestDocument#Header 4 | Header4]] || Max Length: 2000 || java.lang.String || 
 
|-
|language || [[ERP/3.0/Developers_Guide/Database_Model/org.openbravo.model.ad.utility/AT_TestDocument#Language | AD_Language]] ||  || [[ERP/3.0/Developers_Guide/Reference/Entity_Model/ADLanguage | ADLanguage]] || The Language identifies the language to use for display
 
|-
|lineInterchange || [[ERP/3.0/Developers_Guide/Database_Model/org.openbravo.model.ad.utility/AT_TestDocument#Line Interchange | Line_Interchanger]] || Mandatory || java.lang.Boolean || 
 
|-
|prefix || [[ERP/3.0/Developers_Guide/Database_Model/org.openbravo.model.ad.utility/AT_TestDocument#Prefix | Prefix]] || Mandatory || java.lang.Boolean || The Prefix indicates the characters to print in front of the document number.
 
|-
|introduction || [[ERP/3.0/Developers_Guide/Database_Model/org.openbravo.model.ad.utility/AT_TestDocument#Introduction | Introduction]] || Mandatory || java.lang.Boolean || 
 
|-
|testDocumentLineList ||  ||  || List of [[ERP/3.0/Developers_Guide/Reference/Entity_Model/TestDocumentLine | TestDocumentLine]] || TYPE = "contentType";
    public static final String PROPERTY_HEADER2 = "header2";
    public static final String PROPERTY_HEADER3 = "header3";
    public static final String PROPERTY_HEADER4 = "header4";
    public static final String PROPERTY_LANGUAGE = "language";
    public static final String PROPERTY_LINEINTERCHANGE = "lineInterchange";
    public static final String PROPERTY_PREFIX = "prefix";
    public static final String PROPERTY_INTRODUCTION = "introduction";
    public static final String PROPERTY_TESTDOCUMENTLINELIST =
        "testDocumentLineList";
 
    public TestDocument() {
        setDefaultValue(PROPERTY_ACTIVE, true);
        setDefaultValue(PROPERTY_LINEINTERCHANGE, false);
        setDefaultValue(PROPERTY_PREFIX, false);
        setDefaultValue(PROPERTY_INTRODUCTION, false);
        setDefaultValue(PROPERTY_TESTDOCUMENTLINELIST, new ArrayList<Object>());
    }
 
    @Override
    public String getEntityName() {
        return TestDocument;
    }
 
    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 User getCreatedBy() {
        return (User) get(PROPERTY_CREATEDBY);
    }
 
    public void setCreatedBy(User createdBy) {
        set(PROPERTY_CREATEDBY, createdBy);
    }
 
    public Date getUpdated() {
        return (Date) get(PROPERTY_UPDATED);
    }
 
    public void setUpdated(Date updated) {
        set(PROPERTY_UPDATED, updated);
    }
 
    public User getUpdatedBy() {
        return (User) get(PROPERTY_UPDATEDBY);
    }
 
    public void setUpdatedBy(User updatedBy) {
        set(PROPERTY_UPDATEDBY, updatedBy);
    }
 
    public String getName() {
        return (String) get(PROPERTY_NAME);
    }
 
    public void setName(String name) {
        set(PROPERTY_NAME, name);
    }
 
    public String getDescription() {
        return (String) get(PROPERTY_DESCRIPTION);
    }
 
    public void setDescription(String description) {
        set(PROPERTY_DESCRIPTION, description);
    }
 
    public String getExtension() {
        return (String) get(PROPERTY_EXTENSION);
    }
 
    public void setExtension(String extension) {
        set(PROPERTY_EXTENSION, extension);
    }
 
    public String getHeader1() {
        return (String) get(PROPERTY_HEADER1);
    }
 
    public void setHeader1(String header1) {
        set(PROPERTY_HEADER1, header1);
    }
 
    public String getSuffix() {
        return (String) get(PROPERTY_SUFFIX);
    }
 
    public void setSuffix(String suffix) {
        set(PROPERTY_SUFFIX, suffix);
    }
 
    public String getFooter() {
        return (String) get(PROPERTY_FOOTER);
    }
 
    public void setFooter(String footer) {
        set(PROPERTY_FOOTER, footer);
    }
 
    public String getContentType() {
        return (String) get(PROPERTY_|-
|id<sup>*</sup> || [[ERP/3.0/Developers_Guide/Database_Model/org.openbravo.model.ad.utility/AT_TestDocument#Test Document | AT_Testdocument_ID]] || Mandatory<br/>Max Length: 32 || java.lang.String || 
 
|-
|client || [[ERP/3.0/Developers_Guide/Database_Model/org.openbravo.model.ad.utility/AT_TestDocument#Client | AD_Client_ID]] || Mandatory || [[ERP/3.0/Developers_Guide/Reference/Entity_Model/ADClient | ADClient]] || A Client is a company or a legal entity. You cannot share data between Clients.
 
|-
|organization || [[ERP/3.0/Developers_Guide/Database_Model/org.openbravo.model.ad.utility/AT_TestDocument#Organization | AD_Org_ID]] || Mandatory || [[ERP/3.0/Developers_Guide/Reference/Entity_Model/Organization | Organization]] || An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.
 
|-
|active || [[ERP/3.0/Developers_Guide/Database_Model/org.openbravo.model.ad.utility/AT_TestDocument#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 || [[ERP/3.0/Developers_Guide/Database_Model/org.openbravo.model.ad.utility/AT_TestDocument#Creation Date | Created]] || Mandatory || java.util.Date || The Created field indicates the date that this record was created.
 
|-
|createdBy || [[ERP/3.0/Developers_Guide/Database_Model/org.openbravo.model.ad.utility/AT_TestDocument#Created By | Createdby]] || Mandatory || [[ERP/3.0/Developers_Guide/Reference/Entity_Model/ADUser | ADUser]] || The Created By field indicates the user who created this record.
 
|-
|updated || [[ERP/3.0/Developers_Guide/Database_Model/org.openbravo.model.ad.utility/AT_TestDocument#Updated | Updated]] || Mandatory || java.util.Date || The Updated field indicates the date that this record was updated.
 
|-
|updatedBy || [[ERP/3.0/Developers_Guide/Database_Model/org.openbravo.model.ad.utility/AT_TestDocument#Updated By | Updatedby]] || Mandatory || [[ERP/3.0/Developers_Guide/Reference/Entity_Model/ADUser | ADUser]] || The Updated By field indicates the user who updated this record.
 
|-
|name<sup>#</sup> || [[ERP/3.0/Developers_Guide/Database_Model/org.openbravo.model.ad.utility/AT_TestDocument#Name | Name]] || Mandatory<br/>Max Length: 60 || java.lang.String || A more descriptive identifier (that does need to be unique) of a record/document that is used as a default search option along with the search key (that is unique and mostly shorter). It is up to 60 characters in length.
 
|-
|description || [[ERP/3.0/Developers_Guide/Database_Model/org.openbravo.model.ad.utility/AT_TestDocument#Description | Description]] || Max Length: 255 || java.lang.String || A description is limited to 255 characters.
 
|-
|extension || [[ERP/3.0/Developers_Guide/Database_Model/org.openbravo.model.ad.utility/AT_TestDocument#Extension | Extension]] || Mandatory<br/>Max Length: 4 || java.lang.String || 
 
|-
|header1 || [[ERP/3.0/Developers_Guide/Database_Model/org.openbravo.model.ad.utility/AT_TestDocument#Header 1 | Header1]] || Mandatory<br/>Max Length: 2000 || java.lang.String || 
 
|-
|suffix || [[ERP/3.0/Developers_Guide/Database_Model/org.openbravo.model.ad.utility/AT_TestDocument#Suffix | Suffix]] || Max Length: 60 || java.lang.String || The Suffix indicates the characters to append to the document number.
 
|-
|footer || [[ERP/3.0/Developers_Guide/Database_Model/org.openbravo.model.ad.utility/AT_TestDocument#Footer | Footer]] || Mandatory<br/>Max Length: 2000 || java.lang.String || Font size for footer
 
|-
|contentType || [[ERP/3.0/Developers_Guide/Database_Model/org.openbravo.model.ad.utility/AT_TestDocument#Content Type | Contenttype]] || Mandatory<br/>Max Length: 60 || java.lang.String || 
 
|-
|header2 || [[ERP/3.0/Developers_Guide/Database_Model/org.openbravo.model.ad.utility/AT_TestDocument#Header 2 | Header2]] || Max Length: 2000 || java.lang.String || 
 
|-
|header3 || [[ERP/3.0/Developers_Guide/Database_Model/org.openbravo.model.ad.utility/AT_TestDocument#Header 3 | Header3]] || Max Length: 2000 || java.lang.String || 
 
|-
|header4 || [[ERP/3.0/Developers_Guide/Database_Model/org.openbravo.model.ad.utility/AT_TestDocument#Header 4 | Header4]] || Max Length: 2000 || java.lang.String || 
 
|-
|language || [[ERP/3.0/Developers_Guide/Database_Model/org.openbravo.model.ad.utility/AT_TestDocument#Language | AD_Language]] ||  || [[ERP/3.0/Developers_Guide/Reference/Entity_Model/ADLanguage | ADLanguage]] || The Language identifies the language to use for display
 
|-
|lineInterchange || [[ERP/3.0/Developers_Guide/Database_Model/org.openbravo.model.ad.utility/AT_TestDocument#Line Interchange | Line_Interchanger]] || Mandatory || java.lang.Boolean || 
 
|-
|prefix || [[ERP/3.0/Developers_Guide/Database_Model/org.openbravo.model.ad.utility/AT_TestDocument#Prefix | Prefix]] || Mandatory || java.lang.Boolean || The Prefix indicates the characters to print in front of the document number.
 
|-
|introduction || [[ERP/3.0/Developers_Guide/Database_Model/org.openbravo.model.ad.utility/AT_TestDocument#Introduction | Introduction]] || Mandatory || java.lang.Boolean || 
 
|-
|testDocumentLineList ||  ||  || List of [[ERP/3.0/Developers_Guide/Reference/Entity_Model/TestDocumentLine | TestDocumentLine]] || TYPE);
    }
 
    public void setContentType(String contentType) {
        set(PROPERTY_|-
|id<sup>*</sup> || [[ERP/3.0/Developers_Guide/Database_Model/org.openbravo.model.ad.utility/AT_TestDocument#Test Document | AT_Testdocument_ID]] || Mandatory<br/>Max Length: 32 || java.lang.String || 
 
|-
|client || [[ERP/3.0/Developers_Guide/Database_Model/org.openbravo.model.ad.utility/AT_TestDocument#Client | AD_Client_ID]] || Mandatory || [[ERP/3.0/Developers_Guide/Reference/Entity_Model/ADClient | ADClient]] || A Client is a company or a legal entity. You cannot share data between Clients.
 
|-
|organization || [[ERP/3.0/Developers_Guide/Database_Model/org.openbravo.model.ad.utility/AT_TestDocument#Organization | AD_Org_ID]] || Mandatory || [[ERP/3.0/Developers_Guide/Reference/Entity_Model/Organization | Organization]] || An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.
 
|-
|active || [[ERP/3.0/Developers_Guide/Database_Model/org.openbravo.model.ad.utility/AT_TestDocument#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 || [[ERP/3.0/Developers_Guide/Database_Model/org.openbravo.model.ad.utility/AT_TestDocument#Creation Date | Created]] || Mandatory || java.util.Date || The Created field indicates the date that this record was created.
 
|-
|createdBy || [[ERP/3.0/Developers_Guide/Database_Model/org.openbravo.model.ad.utility/AT_TestDocument#Created By | Createdby]] || Mandatory || [[ERP/3.0/Developers_Guide/Reference/Entity_Model/ADUser | ADUser]] || The Created By field indicates the user who created this record.
 
|-
|updated || [[ERP/3.0/Developers_Guide/Database_Model/org.openbravo.model.ad.utility/AT_TestDocument#Updated | Updated]] || Mandatory || java.util.Date || The Updated field indicates the date that this record was updated.
 
|-
|updatedBy || [[ERP/3.0/Developers_Guide/Database_Model/org.openbravo.model.ad.utility/AT_TestDocument#Updated By | Updatedby]] || Mandatory || [[ERP/3.0/Developers_Guide/Reference/Entity_Model/ADUser | ADUser]] || The Updated By field indicates the user who updated this record.
 
|-
|name<sup>#</sup> || [[ERP/3.0/Developers_Guide/Database_Model/org.openbravo.model.ad.utility/AT_TestDocument#Name | Name]] || Mandatory<br/>Max Length: 60 || java.lang.String || A more descriptive identifier (that does need to be unique) of a record/document that is used as a default search option along with the search key (that is unique and mostly shorter). It is up to 60 characters in length.
 
|-
|description || [[ERP/3.0/Developers_Guide/Database_Model/org.openbravo.model.ad.utility/AT_TestDocument#Description | Description]] || Max Length: 255 || java.lang.String || A description is limited to 255 characters.
 
|-
|extension || [[ERP/3.0/Developers_Guide/Database_Model/org.openbravo.model.ad.utility/AT_TestDocument#Extension | Extension]] || Mandatory<br/>Max Length: 4 || java.lang.String || 
 
|-
|header1 || [[ERP/3.0/Developers_Guide/Database_Model/org.openbravo.model.ad.utility/AT_TestDocument#Header 1 | Header1]] || Mandatory<br/>Max Length: 2000 || java.lang.String || 
 
|-
|suffix || [[ERP/3.0/Developers_Guide/Database_Model/org.openbravo.model.ad.utility/AT_TestDocument#Suffix | Suffix]] || Max Length: 60 || java.lang.String || The Suffix indicates the characters to append to the document number.
 
|-
|footer || [[ERP/3.0/Developers_Guide/Database_Model/org.openbravo.model.ad.utility/AT_TestDocument#Footer | Footer]] || Mandatory<br/>Max Length: 2000 || java.lang.String || Font size for footer
 
|-
|contentType || [[ERP/3.0/Developers_Guide/Database_Model/org.openbravo.model.ad.utility/AT_TestDocument#Content Type | Contenttype]] || Mandatory<br/>Max Length: 60 || java.lang.String || 
 
|-
|header2 || [[ERP/3.0/Developers_Guide/Database_Model/org.openbravo.model.ad.utility/AT_TestDocument#Header 2 | Header2]] || Max Length: 2000 || java.lang.String || 
 
|-
|header3 || [[ERP/3.0/Developers_Guide/Database_Model/org.openbravo.model.ad.utility/AT_TestDocument#Header 3 | Header3]] || Max Length: 2000 || java.lang.String || 
 
|-
|header4 || [[ERP/3.0/Developers_Guide/Database_Model/org.openbravo.model.ad.utility/AT_TestDocument#Header 4 | Header4]] || Max Length: 2000 || java.lang.String || 
 
|-
|language || [[ERP/3.0/Developers_Guide/Database_Model/org.openbravo.model.ad.utility/AT_TestDocument#Language | AD_Language]] ||  || [[ERP/3.0/Developers_Guide/Reference/Entity_Model/ADLanguage | ADLanguage]] || The Language identifies the language to use for display
 
|-
|lineInterchange || [[ERP/3.0/Developers_Guide/Database_Model/org.openbravo.model.ad.utility/AT_TestDocument#Line Interchange | Line_Interchanger]] || Mandatory || java.lang.Boolean || 
 
|-
|prefix || [[ERP/3.0/Developers_Guide/Database_Model/org.openbravo.model.ad.utility/AT_TestDocument#Prefix | Prefix]] || Mandatory || java.lang.Boolean || The Prefix indicates the characters to print in front of the document number.
 
|-
|introduction || [[ERP/3.0/Developers_Guide/Database_Model/org.openbravo.model.ad.utility/AT_TestDocument#Introduction | Introduction]] || Mandatory || java.lang.Boolean || 
 
|-
|testDocumentLineList ||  ||  || List of [[ERP/3.0/Developers_Guide/Reference/Entity_Model/TestDocumentLine | TestDocumentLine]] || TYPE, contentType);
    }
 
    public String getHeader2() {
        return (String) get(PROPERTY_HEADER2);
    }
 
    public void setHeader2(String header2) {
        set(PROPERTY_HEADER2, header2);
    }
 
    public String getHeader3() {
        return (String) get(PROPERTY_HEADER3);
    }
 
    public void setHeader3(String header3) {
        set(PROPERTY_HEADER3, header3);
    }
 
    public String getHeader4() {
        return (String) get(PROPERTY_HEADER4);
    }
 
    public void setHeader4(String header4) {
        set(PROPERTY_HEADER4, header4);
    }
 
    public Language getLanguage() {
        return (Language) get(PROPERTY_LANGUAGE);
    }
 
    public void setLanguage(Language language) {
        set(PROPERTY_LANGUAGE, language);
    }
 
    public Boolean isLineInterchange() {
        return (Boolean) get(PROPERTY_LINEINTERCHANGE);
    }
 
    public void setLineInterchange(Boolean lineInterchange) {
        set(PROPERTY_LINEINTERCHANGE, lineInterchange);
    }
 
    public Boolean isPrefix() {
        return (Boolean) get(PROPERTY_PREFIX);
    }
 
    public void setPrefix(Boolean prefix) {
        set(PROPERTY_PREFIX, prefix);
    }
 
    public Boolean isIntroduction() {
        return (Boolean) get(PROPERTY_INTRODUCTION);
    }
 
    public void setIntroduction(Boolean introduction) {
        set(PROPERTY_INTRODUCTION, introduction);
    }
 
    @SuppressWarnings("unchecked")
    public List<TestDocumentLine> getTestDocumentLineList() {
        return (List<TestDocumentLine>) get(PROPERTY_TESTDOCUMENTLINELIST);
    }
 
    public void setTestDocumentLineList(
        List<TestDocumentLine> testDocumentLineList) {
        set(PROPERTY_TESTDOCUMENTLINELIST, testDocumentLineList);
    }
}

Retrieved from "http://wiki.openbravo.com/wiki/ERP/3.0/Developers_Guide/Reference/Entity_Model/TestDocument"

This page has been accessed 226 times. This page was last modified on 15 April 2011, at 22:36. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.