Compiere 3.1

org.compiere.model
Class X_C_DocType

java.lang.Object
  extended by org.compiere.framework.PO
      extended by org.compiere.model.X_C_DocType
All Implemented Interfaces:
Serializable, Cloneable, Comparator<PO>, Evaluatee
Direct Known Subclasses:
MDocType

public class X_C_DocType
extends PO

Generated Model for C_DocType

Version:
Release 3.1.0 - $Id$
Author:
Jorg Janke (generated)
See Also:
Serialized Form

Field Summary
protected  BigDecimal accessLevel
           
static int C_DOCTYPEDIFFERENCE_ID_AD_Reference_ID
          C_DocTypeDifference_ID AD_Reference_ID=170
static int C_DOCTYPEINVOICE_ID_AD_Reference_ID
          C_DocTypeInvoice_ID AD_Reference_ID=170
static int C_DOCTYPEPROFORMA_ID_AD_Reference_ID
          C_DocTypeProforma_ID AD_Reference_ID=170
static int C_DOCTYPESHIPMENT_ID_AD_Reference_ID
          C_DocTypeShipment_ID AD_Reference_ID=170
static int DOCBASETYPE_AD_Reference_ID
          DocBaseType AD_Reference_ID=432
static int DOCNOSEQUENCE_ID_AD_Reference_ID
          DocNoSequence_ID AD_Reference_ID=128
static int DOCSUBTYPESO_AD_Reference_ID
          DocSubTypeSO AD_Reference_ID=148
static String DOCSUBTYPESO_OnCreditOrder
          On Credit Order = WI
static String DOCSUBTYPESO_POSOrder
          POS Order = WR
static String DOCSUBTYPESO_PrepayOrder
          Prepay Order = PR
static String DOCSUBTYPESO_Proposal
          Proposal = ON
static String DOCSUBTYPESO_Quotation
          Quotation = OB
static String DOCSUBTYPESO_StandardOrder
          Standard Order = SO
static String DOCSUBTYPESO_WarehouseOrder
          Warehouse Order = WP
protected static KeyNamePair Model
           
static int Table_ID
          AD_Table_ID=217
static String Table_Name
          TableName=C_DocType
static long updatedMS
          Last Updated Timestamp 2008-06-10 15:12:06.0
 
Fields inherited from class org.compiere.framework.PO
ACCESSLEVEL_ALL, ACCESSLEVEL_CLIENT, ACCESSLEVEL_CLIENTORG, ACCESSLEVEL_ORG, ACCESSLEVEL_SYSTEM, ACCESSLEVEL_SYSTEMCLIENT, ENTITYTYPE_Dictionary, ENTITYTYPE_UserMaintained, I_ZERO, log, p_changeVO, p_info, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID
 
Constructor Summary
X_C_DocType(Ctx ctx, int C_DocType_ID, String trxName)
          Standard Constructor
X_C_DocType(Ctx ctx, ResultSet rs, String trxName)
          Load Constructor
 
Method Summary
protected  int get_AccessLevel()
          AccessLevel
 int getAD_PrintFormat_ID()
          Get Print Format.
 int getC_DocType_ID()
          Get Document Type.
 int getC_DocTypeDifference_ID()
          Get Difference Document.
 int getC_DocTypeInvoice_ID()
          Get Document Type for Invoice.
 int getC_DocTypeProforma_ID()
          Get Document Type for ProForma.
 int getC_DocTypeShipment_ID()
          Get Document Type for Shipment.
 String getDescription()
          Get Description.
 String getDocBaseType()
          Get Document BaseType.
 int getDocNoSequence_ID()
          Get Document Sequence.
 String getDocSubTypeSO()
          Get SO Sub Type.
 int getDocumentCopies()
          Get Document Copies.
 String getDocumentNote()
          Get Document Note.
 int getGL_Category_ID()
          Get GL Category.
 KeyNamePair getKeyNamePair()
          Get Record ID/ColumnName
 String getName()
          Get Name.
 String getPrintName()
          Get Print Text.
protected  POInfo initPO(Ctx ctx)
          Load Meta Data
 boolean isCreateCounter()
          Get Create Counter Document.
 boolean isDefault()
          Get Default.
 boolean isDefaultCounterDoc()
          Get Default Counter Document.
 boolean isDocNoControlled()
          Get Document is Number Controlled.
 boolean isDocSubTypeSOValid(String test)
          Is test a valid value.
 boolean isHasCharges()
          Get Charges.
 boolean isHasProforma()
          Get Pro forma Invoice.
 boolean isIndexed()
          Get Indexed.
 boolean isInTransit()
          Get In Transit.
 boolean isPickQAConfirm()
          Get Pick/QA Confirmation.
 boolean isReturnTrx()
          Get Return Transaction.
 boolean isShipConfirm()
          Get Ship/Receipt Confirmation.
 boolean isSOTrx()
          Get Sales Transaction.
 boolean isSplitWhenDifference()
          Get Split when Difference.
 void setAD_PrintFormat_ID(int AD_PrintFormat_ID)
          Set Print Format.
 void setC_DocType_ID(int C_DocType_ID)
          Set Document Type.
 void setC_DocTypeDifference_ID(int C_DocTypeDifference_ID)
          Set Difference Document.
 void setC_DocTypeInvoice_ID(int C_DocTypeInvoice_ID)
          Set Document Type for Invoice.
 void setC_DocTypeProforma_ID(int C_DocTypeProforma_ID)
          Set Document Type for ProForma.
 void setC_DocTypeShipment_ID(int C_DocTypeShipment_ID)
          Set Document Type for Shipment.
 void setDescription(String Description)
          Set Description.
 void setDocBaseType(String DocBaseType)
          Set Document BaseType.
 void setDocNoSequence_ID(int DocNoSequence_ID)
          Set Document Sequence.
 void setDocSubTypeSO(String DocSubTypeSO)
          Set SO Sub Type.
 void setDocumentCopies(int DocumentCopies)
          Set Document Copies.
 void setDocumentNote(String DocumentNote)
          Set Document Note.
 void setGL_Category_ID(int GL_Category_ID)
          Set GL Category.
 void setHasCharges(boolean HasCharges)
          Set Charges.
 void setHasProforma(boolean HasProforma)
          Set Pro forma Invoice.
 void setIsCreateCounter(boolean IsCreateCounter)
          Set Create Counter Document.
 void setIsDefault(boolean IsDefault)
          Set Default.
 void setIsDefaultCounterDoc(boolean IsDefaultCounterDoc)
          Set Default Counter Document.
 void setIsDocNoControlled(boolean IsDocNoControlled)
          Set Document is Number Controlled.
 void setIsIndexed(boolean IsIndexed)
          Set Indexed.
 void setIsInTransit(boolean IsInTransit)
          Set In Transit.
 void setIsPickQAConfirm(boolean IsPickQAConfirm)
          Set Pick/QA Confirmation.
 void setIsReturnTrx(boolean IsReturnTrx)
          Set Return Transaction.
 void setIsShipConfirm(boolean IsShipConfirm)
          Set Ship/Receipt Confirmation.
 void setIsSOTrx(boolean IsSOTrx)
          Set Sales Transaction.
 void setIsSplitWhenDifference(boolean IsSplitWhenDifference)
          Set Split when Difference.
 void setName(String Name)
          Set Name.
 void setPrintName(String PrintName)
          Set Print Text.
 String toString()
          Info
 
Methods inherited from class org.compiere.framework.PO
addAttachment, addAttachment, addError, afterDelete, afterSave, beforeDelete, beforeSave, compare, convertToBigDecimal, convertToBoolean, convertToInt, convertToTimestamp, copy, copyValues, copyValues, createAttachment, delete_Accounting, delete, delete, dump, dump, equals, get_ChangeVO, get_ColumnCount, get_ColumnDescription, get_ColumnDisplayType, get_ColumnIndex, get_ColumnLabel, get_ColumnLookup, get_ColumnName, get_DisplayValue, get_EntityType, get_HashMap, get_ID, get_IDOld, get_Info, get_KeyColumns, get_Logger, get_Table_ID, get_Table_ID, get_TableName, get_Translation, get_TrxName, get_Value, get_Value, get_ValueAsInt, get_ValueAsInt, get_ValueAsString, get_ValueDifference, get_ValueDifference, get_ValueOfColumn, get_ValueOld, get_ValueOld, get_ValueOldAsInt, get_ValuesAsString, get_WhereClause, get_xmlDocument, get_xmlString, get_xmlString, getAD_Client_ID, getAD_Org_ID, getAllIDs, getAttachment, getAttachment, getAttachmentData, getCreated, getCreatedBy, getCtx, getFindParameter, getPdfAttachment, getUpdated, getUpdatedBy, getVO, hashCode, insert_Accounting, is_Changed, is_KeyColumn, is_new, is_ValueChanged, is_ValueChanged, isActive, isAttachment, isColumnMandatory, isColumnUpdateable, isMandatoryOK, isPdfAttachment, load, load, load, load, loadComplete, loadDefaults, loadSpecial, lock, save, save, saveNew_getID, saveNewInsertSQL, saveNewSpecial, saveUpdate, set_ChangeVO, set_ColumnUpdateable, set_CustomColumn, set_TrxName, set_Value, set_Value, set_ValueE, set_ValueNoCheck, set_ValueNoCheckE, set_ValueOfColumn, set_ValueString, setAD_Client_ID, setAD_Org_ID, setClientOrg, setClientOrg, setContext, setCtx, setDocWorkflowMgr, setIsActive, setStandardDefaults, setUpdateable, setUpdatedBy, toStringX, unlock, update
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

updatedMS

public static final long updatedMS
Last Updated Timestamp 2008-06-10 15:12:06.0

See Also:
Constant Field Values

Table_ID

public static final int Table_ID
AD_Table_ID=217

See Also:
Constant Field Values

Table_Name

public static final String Table_Name
TableName=C_DocType

See Also:
Constant Field Values

Model

protected static KeyNamePair Model

accessLevel

protected BigDecimal accessLevel

C_DOCTYPEDIFFERENCE_ID_AD_Reference_ID

public static final int C_DOCTYPEDIFFERENCE_ID_AD_Reference_ID
C_DocTypeDifference_ID AD_Reference_ID=170

See Also:
Constant Field Values

C_DOCTYPEINVOICE_ID_AD_Reference_ID

public static final int C_DOCTYPEINVOICE_ID_AD_Reference_ID
C_DocTypeInvoice_ID AD_Reference_ID=170

See Also:
Constant Field Values

C_DOCTYPEPROFORMA_ID_AD_Reference_ID

public static final int C_DOCTYPEPROFORMA_ID_AD_Reference_ID
C_DocTypeProforma_ID AD_Reference_ID=170

See Also:
Constant Field Values

C_DOCTYPESHIPMENT_ID_AD_Reference_ID

public static final int C_DOCTYPESHIPMENT_ID_AD_Reference_ID
C_DocTypeShipment_ID AD_Reference_ID=170

See Also:
Constant Field Values

DOCBASETYPE_AD_Reference_ID

public static final int DOCBASETYPE_AD_Reference_ID
DocBaseType AD_Reference_ID=432

See Also:
Constant Field Values

DOCNOSEQUENCE_ID_AD_Reference_ID

public static final int DOCNOSEQUENCE_ID_AD_Reference_ID
DocNoSequence_ID AD_Reference_ID=128

See Also:
Constant Field Values

DOCSUBTYPESO_AD_Reference_ID

public static final int DOCSUBTYPESO_AD_Reference_ID
DocSubTypeSO AD_Reference_ID=148

See Also:
Constant Field Values

DOCSUBTYPESO_Quotation

public static final String DOCSUBTYPESO_Quotation
Quotation = OB

See Also:
Constant Field Values

DOCSUBTYPESO_Proposal

public static final String DOCSUBTYPESO_Proposal
Proposal = ON

See Also:
Constant Field Values

DOCSUBTYPESO_PrepayOrder

public static final String DOCSUBTYPESO_PrepayOrder
Prepay Order = PR

See Also:
Constant Field Values

DOCSUBTYPESO_StandardOrder

public static final String DOCSUBTYPESO_StandardOrder
Standard Order = SO

See Also:
Constant Field Values

DOCSUBTYPESO_OnCreditOrder

public static final String DOCSUBTYPESO_OnCreditOrder
On Credit Order = WI

See Also:
Constant Field Values

DOCSUBTYPESO_WarehouseOrder

public static final String DOCSUBTYPESO_WarehouseOrder
Warehouse Order = WP

See Also:
Constant Field Values

DOCSUBTYPESO_POSOrder

public static final String DOCSUBTYPESO_POSOrder
POS Order = WR

See Also:
Constant Field Values
Constructor Detail

X_C_DocType

public X_C_DocType(Ctx ctx,
                   int C_DocType_ID,
                   String trxName)
Standard Constructor

Parameters:
ctx - context
C_DocType_ID - id
trxName - transaction

X_C_DocType

public X_C_DocType(Ctx ctx,
                   ResultSet rs,
                   String trxName)
Load Constructor

Parameters:
ctx - context
rs - result set
trxName - transaction
Method Detail

get_AccessLevel

protected int get_AccessLevel()
AccessLevel

Specified by:
get_AccessLevel in class PO
Returns:
6 - System - Client

initPO

protected POInfo initPO(Ctx ctx)
Load Meta Data

Specified by:
initPO in class PO
Parameters:
ctx - context
Returns:
PO Info

toString

public String toString()
Info

Overrides:
toString in class PO
Returns:
info

setAD_PrintFormat_ID

public void setAD_PrintFormat_ID(int AD_PrintFormat_ID)
Set Print Format.

Parameters:
AD_PrintFormat_ID - Data Print Format

getAD_PrintFormat_ID

public int getAD_PrintFormat_ID()
Get Print Format.

Returns:
Data Print Format

setC_DocTypeDifference_ID

public void setC_DocTypeDifference_ID(int C_DocTypeDifference_ID)
Set Difference Document.

Parameters:
C_DocTypeDifference_ID - Document type for generating in dispute Shipments

getC_DocTypeDifference_ID

public int getC_DocTypeDifference_ID()
Get Difference Document.

Returns:
Document type for generating in dispute Shipments

setC_DocTypeInvoice_ID

public void setC_DocTypeInvoice_ID(int C_DocTypeInvoice_ID)
Set Document Type for Invoice.

Parameters:
C_DocTypeInvoice_ID - Document type used for invoices generated from this sales document

getC_DocTypeInvoice_ID

public int getC_DocTypeInvoice_ID()
Get Document Type for Invoice.

Returns:
Document type used for invoices generated from this sales document

setC_DocTypeProforma_ID

public void setC_DocTypeProforma_ID(int C_DocTypeProforma_ID)
Set Document Type for ProForma.

Parameters:
C_DocTypeProforma_ID - Document type used for pro forma invoices generated from this sales document

getC_DocTypeProforma_ID

public int getC_DocTypeProforma_ID()
Get Document Type for ProForma.

Returns:
Document type used for pro forma invoices generated from this sales document

setC_DocTypeShipment_ID

public void setC_DocTypeShipment_ID(int C_DocTypeShipment_ID)
Set Document Type for Shipment.

Parameters:
C_DocTypeShipment_ID - Document type used for shipments generated from this sales document

getC_DocTypeShipment_ID

public int getC_DocTypeShipment_ID()
Get Document Type for Shipment.

Returns:
Document type used for shipments generated from this sales document

setC_DocType_ID

public void setC_DocType_ID(int C_DocType_ID)
Set Document Type.

Parameters:
C_DocType_ID - Document type or rules

getC_DocType_ID

public int getC_DocType_ID()
Get Document Type.

Returns:
Document type or rules

setDescription

public void setDescription(String Description)
Set Description.

Parameters:
Description - Optional short description of the record

getDescription

public String getDescription()
Get Description.

Returns:
Optional short description of the record

setDocBaseType

public void setDocBaseType(String DocBaseType)
Set Document BaseType.

Parameters:
DocBaseType - Logical type of document

getDocBaseType

public String getDocBaseType()
Get Document BaseType.

Returns:
Logical type of document

setDocNoSequence_ID

public void setDocNoSequence_ID(int DocNoSequence_ID)
Set Document Sequence.

Parameters:
DocNoSequence_ID - Document sequence determines the numbering of documents

getDocNoSequence_ID

public int getDocNoSequence_ID()
Get Document Sequence.

Returns:
Document sequence determines the numbering of documents

isDocSubTypeSOValid

public boolean isDocSubTypeSOValid(String test)
Is test a valid value.

Parameters:
test - testvalue
Returns:
true if valid

setDocSubTypeSO

public void setDocSubTypeSO(String DocSubTypeSO)
Set SO Sub Type.

Parameters:
DocSubTypeSO - Sales Order Sub Type

getDocSubTypeSO

public String getDocSubTypeSO()
Get SO Sub Type.

Returns:
Sales Order Sub Type

setDocumentCopies

public void setDocumentCopies(int DocumentCopies)
Set Document Copies.

Parameters:
DocumentCopies - Number of copies to be printed

getDocumentCopies

public int getDocumentCopies()
Get Document Copies.

Returns:
Number of copies to be printed

setDocumentNote

public void setDocumentNote(String DocumentNote)
Set Document Note.

Parameters:
DocumentNote - Additional information for a Document

getDocumentNote

public String getDocumentNote()
Get Document Note.

Returns:
Additional information for a Document

setGL_Category_ID

public void setGL_Category_ID(int GL_Category_ID)
Set GL Category.

Parameters:
GL_Category_ID - General Ledger Category

getGL_Category_ID

public int getGL_Category_ID()
Get GL Category.

Returns:
General Ledger Category

setHasCharges

public void setHasCharges(boolean HasCharges)
Set Charges.

Parameters:
HasCharges - Charges can be added to the document

isHasCharges

public boolean isHasCharges()
Get Charges.

Returns:
Charges can be added to the document

setHasProforma

public void setHasProforma(boolean HasProforma)
Set Pro forma Invoice.

Parameters:
HasProforma - Indicates if Pro Forma Invoices can be generated from this document

isHasProforma

public boolean isHasProforma()
Get Pro forma Invoice.

Returns:
Indicates if Pro Forma Invoices can be generated from this document

setIsCreateCounter

public void setIsCreateCounter(boolean IsCreateCounter)
Set Create Counter Document.

Parameters:
IsCreateCounter - Create Counter Document

isCreateCounter

public boolean isCreateCounter()
Get Create Counter Document.

Returns:
Create Counter Document

setIsDefault

public void setIsDefault(boolean IsDefault)
Set Default.

Parameters:
IsDefault - Default value

isDefault

public boolean isDefault()
Get Default.

Returns:
Default value

setIsDefaultCounterDoc

public void setIsDefaultCounterDoc(boolean IsDefaultCounterDoc)
Set Default Counter Document.

Parameters:
IsDefaultCounterDoc - The document type is the default counter document type

isDefaultCounterDoc

public boolean isDefaultCounterDoc()
Get Default Counter Document.

Returns:
The document type is the default counter document type

setIsDocNoControlled

public void setIsDocNoControlled(boolean IsDocNoControlled)
Set Document is Number Controlled.

Parameters:
IsDocNoControlled - The document has a document sequence

isDocNoControlled

public boolean isDocNoControlled()
Get Document is Number Controlled.

Returns:
The document has a document sequence

setIsInTransit

public void setIsInTransit(boolean IsInTransit)
Set In Transit.

Parameters:
IsInTransit - Movement is in transit

isInTransit

public boolean isInTransit()
Get In Transit.

Returns:
Movement is in transit

setIsIndexed

public void setIsIndexed(boolean IsIndexed)
Set Indexed.

Parameters:
IsIndexed - Index the document for the internal search engine

isIndexed

public boolean isIndexed()
Get Indexed.

Returns:
Index the document for the internal search engine

setIsPickQAConfirm

public void setIsPickQAConfirm(boolean IsPickQAConfirm)
Set Pick/QA Confirmation.

Parameters:
IsPickQAConfirm - Require Pick or QA Confirmation before processing

isPickQAConfirm

public boolean isPickQAConfirm()
Get Pick/QA Confirmation.

Returns:
Require Pick or QA Confirmation before processing

setIsReturnTrx

public void setIsReturnTrx(boolean IsReturnTrx)
Set Return Transaction.

Parameters:
IsReturnTrx - This is a return transaction

isReturnTrx

public boolean isReturnTrx()
Get Return Transaction.

Returns:
This is a return transaction

setIsSOTrx

public void setIsSOTrx(boolean IsSOTrx)
Set Sales Transaction.

Parameters:
IsSOTrx - This is a Sales Transaction

isSOTrx

public boolean isSOTrx()
Get Sales Transaction.

Returns:
This is a Sales Transaction

setIsShipConfirm

public void setIsShipConfirm(boolean IsShipConfirm)
Set Ship/Receipt Confirmation.

Parameters:
IsShipConfirm - Require Ship or Receipt Confirmation before processing

isShipConfirm

public boolean isShipConfirm()
Get Ship/Receipt Confirmation.

Returns:
Require Ship or Receipt Confirmation before processing

setIsSplitWhenDifference

public void setIsSplitWhenDifference(boolean IsSplitWhenDifference)
Set Split when Difference.

Parameters:
IsSplitWhenDifference - Split document when there is a difference

isSplitWhenDifference

public boolean isSplitWhenDifference()
Get Split when Difference.

Returns:
Split document when there is a difference

setName

public void setName(String Name)
Set Name.

Parameters:
Name - Alphanumeric identifier of the entity

getName

public String getName()
Get Name.

Returns:
Alphanumeric identifier of the entity

getKeyNamePair

public KeyNamePair getKeyNamePair()
Get Record ID/ColumnName

Returns:
ID/ColumnName pair

setPrintName

public void setPrintName(String PrintName)
Set Print Text.

Parameters:
PrintName - The label text to be printed on a document or correspondence.

getPrintName

public String getPrintName()
Get Print Text.

Returns:
The label text to be printed on a document or correspondence.

Compiere 3.1

Compiere® is a registered trademark of ComPiere, Inc. ©2004-2008 HumanFlash.com All rights reserved.