Class DocumentType

    • Field Detail

      • PROPERTY_ID

        public static final String PROPERTY_ID
        Property id stored in column C_DocType_ID in table C_DocType
        Help: The Document Type determines document sequence and processing rules
        See Also:
        Constant Field Values
      • PROPERTY_CREATIONDATE

        public static final String PROPERTY_CREATIONDATE
        Property creationDate stored in column Created in table C_DocType
        See Also:
        Traceable, Constant Field Values
      • PROPERTY_NAME

        public static final String PROPERTY_NAME
        Property name stored in column Name in table C_DocType
        See Also:
        Constant Field Values
      • PROPERTY_PRINTTEXT

        public static final String PROPERTY_PRINTTEXT
        Property printText stored in column PrintName in table C_DocType
        Help: The Label to be printed indicates the name that will be printed on a document or correspondence. The max length is 2000 characters.
        See Also:
        Constant Field Values
      • PROPERTY_DESCRIPTION

        public static final String PROPERTY_DESCRIPTION
        Property description stored in column Description in table C_DocType
        Help: A description is limited to 255 characters.
        See Also:
        Constant Field Values
      • PROPERTY_DOCUMENTCATEGORY

        public static final String PROPERTY_DOCUMENTCATEGORY
        Property documentCategory stored in column DocBaseType in table C_DocType
        Help: The Document Base Type identifies the base or starting point for a document. Multiple document types may share a single document base type.
        See Also:
        Constant Field Values
      • PROPERTY_SALESTRANSACTION

        public static final String PROPERTY_SALESTRANSACTION
        Property salesTransaction stored in column IsSOTrx in table C_DocType
        Help: The Sales Transaction checkbox indicates if this item is a Sales Transaction.
        See Also:
        Constant Field Values
      • PROPERTY_SOSUBTYPE

        public static final String PROPERTY_SOSUBTYPE
        Property sOSubType stored in column DocSubTypeSO in table C_DocType
        Help: The SO Sub Type indicates the type of sales order this document refers to. This field only appears when the Document Base Type is Sales Order. The selection made here will determine which documents will be generated when an order is processed and which documents must be generated manually or in batches. <BR>The following outlines this process.<BR>SO Sub Type of <b>Standard Order</b> will generate just the <b>Order</b> document when the order is processed. <BR>The <b>Delivery Note</b>, <b>Invoice</b> and <b>Receipt</b> must be generated via other processes. <BR>SO Sub Type of <b>Warehouse Order</b> will generate the <b>Order</b> and <b>Delivery Note</b>. <BR> The <b>Invoice</b> and <b>Receipt</b> must be generated via other processes.<BR>SO Sub Type of <b>Credit Order</b> will generate the <b>Order</b>, <b>Delivery Note</b> and <b>Invoice</b>. <BR> The <b>Reciept</b> must be generated via other processes.<BR>SO Sub Type of <b>POS</b> (Point of Sale) will generate all document
        See Also:
        Constant Field Values
      • PROPERTY_DOCUMENTTYPEFORSHIPMENT

        public static final String PROPERTY_DOCUMENTTYPEFORSHIPMENT
        Property documentTypeForShipment stored in column C_DocTypeShipment_ID in table C_DocType
        Help: The Document Type for Shipments indicates the document type that will be used when a shipment is generated from this sales document. This field will display only when the base document type is Sales Order.
        See Also:
        Constant Field Values
      • PROPERTY_DOCUMENTTYPEFORINVOICE

        public static final String PROPERTY_DOCUMENTTYPEFORINVOICE
        Property documentTypeForInvoice stored in column C_DocTypeInvoice_ID in table C_DocType
        Help: The Document Type for Invoice indicates the document type that will be used when an invoice is generated from this sales document. This field will display only when the base document type is Sales Order.
        See Also:
        Constant Field Values
      • PROPERTY_SEQUENCEDDOCUMENT

        public static final String PROPERTY_SEQUENCEDDOCUMENT
        Property sequencedDocument stored in column IsDocNoControlled in table C_DocType
        Help: The Document Number Controlled checkbox indicates if this document type will have a sequence number.
        See Also:
        Constant Field Values
      • PROPERTY_DOCUMENTSEQUENCE

        public static final String PROPERTY_DOCUMENTSEQUENCE
        Property documentSequence stored in column DocNoSequence_ID in table C_DocType
        Help: The Document Sequence indicates the sequencing rule to use for this document type.
        See Also:
        Constant Field Values
      • PROPERTY_GLCATEGORY

        public static final String PROPERTY_GLCATEGORY
        Property gLCategory stored in column GL_Category_ID in table C_DocType
        Help: The General Ledger Category is an optional, user defined method of grouping journal lines.
        See Also:
        Constant Field Values
      • PROPERTY_COMMENTS

        public static final String PROPERTY_COMMENTS
        Property comments stored in column DocumentNote in table C_DocType
        Help: The Document Note is used for recording any additional information regarding this product.
        See Also:
        Constant Field Values
      • PROPERTY_DEFAULT

        public static final String PROPERTY_DEFAULT
        Property default stored in column IsDefault in table C_DocType
        Help: The Default Checkbox indicates if this record will be used as a default value.
        See Also:
        Constant Field Values
      • PROPERTY_NUMBEROFCOPIES

        public static final String PROPERTY_NUMBEROFCOPIES
        Property numberOfCopies stored in column DocumentCopies in table C_DocType
        Help: The Document Copies indicates the number of copies of each document that will be generated.
        See Also:
        Constant Field Values
      • PROPERTY_TABLE

        public static final String PROPERTY_TABLE
        Property table stored in column AD_Table_ID in table C_DocType
        Help: The Table indicates the table in which a field or fields reside.
        See Also:
        Constant Field Values
      • PROPERTY_FILTERBYORGANIZATION

        public static final String PROPERTY_FILTERBYORGANIZATION
        Property filterByOrganization stored in column Orgfiltered in table C_DocType
        Help: Filters by organization. This is used to calculate the document number by document type.
        See Also:
        Constant Field Values
      • PROPERTY_DOCUMENTCANCELLED

        public static final String PROPERTY_DOCUMENTCANCELLED
        Property documentCancelled stored in column C_Doctype_Reversed_ID in table C_DocType
        See Also:
        Constant Field Values
      • PROPERTY_EXPENSE

        public static final String PROPERTY_EXPENSE
        Property expense stored in column IsExpense in table C_DocType
        Help: Invoices in the Create AP Invoices process will be created preferably with a document type with this flag activated. This way invoices related to expenses will not appear in the Invoice Register Book.
        See Also:
        Constant Field Values
      • PROPERTY_REVERSAL

        public static final String PROPERTY_REVERSAL
        Property reversal stored in column Isreversal in table C_DocType
        Help: Credit Memo checkbox only applies to Invoice document types. Invoices marked as Credit Memo will behave as Credit Memos, which implies that: - "Total gross amount" must always be positive. - "Payment Plan" will be negative. - Accounting will be opposite than Invoice accounting.
        See Also:
        Constant Field Values
      • PROPERTY_RETURN

        public static final String PROPERTY_RETURN
        Property return stored in column IsReturn in table C_DocType
        Help: Return checkbox indicates if the document is of reversal type. Documents with this flag enables implies to use negative quantities.
        See Also:
        Constant Field Values
      • PROPERTY_DOCUMENTTYPEFORORDER

        public static final String PROPERTY_DOCUMENTTYPEFORORDER
        Property documentTypeForOrder stored in column C_Doctypeorder_ID in table C_DocType
        See Also:
        Constant Field Values
      • PROPERTY_DOCTYPESIMPINVOICE

        public static final String PROPERTY_DOCTYPESIMPINVOICE
        Property doctypesimpinvoice stored in column C_Doctypesimpinvoice_ID in table C_DocType
        Help: The Document Type for Simplified Invoice indicates the document type that will be used when a simplified invoice is generated from this sales document. This field will display only when the base document type is Sales Order.
        See Also:
        Constant Field Values
      • PROPERTY_DOCTYPEAGGRINVOICE

        public static final String PROPERTY_DOCTYPEAGGRINVOICE
        Property doctypeaggrinvoice stored in column C_Doctypeaggrinvoice_ID in table C_DocType
        Help: The Document Type for Aggregated Invoice indicates the document type that will be used when an aggregated invoice is generated from this sales document.This field will display only when the base document type is Sales Order.
        See Also:
        Constant Field Values
      • PROPERTY_DOCUMENTTEMPLATELIST

        public static final String PROPERTY_DOCUMENTTEMPLATELIST
        Property documentTemplateList stored in table C_DocType
        See Also:
        Constant Field Values
      • PROPERTY_DOCUMENTTYPETRLLIST

        public static final String PROPERTY_DOCUMENTTYPETRLLIST
        Property documentTypeTrlList stored in table C_DocType
        See Also:
        Constant Field Values
    • Constructor Detail

      • DocumentType

        public DocumentType()