Class X_C_DocType

    • Constructor Detail

      • X_C_DocType

        public X_C_DocType​(Properties ctx,
                           int C_DocType_ID,
                           String trxName)
        Standard Constructor
    • Method Detail

      • get_AccessLevel

        protected int get_AccessLevel()
        AccessLevel
        Specified by:
        get_AccessLevel in class PO
        Returns:
        6 - System - Client
      • initPO

        protected POInfo initPO​(Properties ctx)
        Load Meta Data
        Specified by:
        initPO in class PO
        Parameters:
        ctx - context
        Returns:
        POInfo
      • toString

        public String toString()
        Description copied from class: PO
        String representation
        Overrides:
        toString in class PO
        Returns:
        String representation
      • setAD_PrintFormat_ID

        public void setAD_PrintFormat_ID​(int AD_PrintFormat_ID)
        Set Print Format.
        Specified by:
        setAD_PrintFormat_ID in interface I_C_DocType
        Parameters:
        AD_PrintFormat_ID - Data Print Format
      • getAD_PrintFormat_ID

        public int getAD_PrintFormat_ID()
        Get Print Format.
        Specified by:
        getAD_PrintFormat_ID in interface I_C_DocType
        Returns:
        Data Print Format
      • setC_DocTypeDifference_ID

        public void setC_DocTypeDifference_ID​(int C_DocTypeDifference_ID)
        Set Difference Document.
        Specified by:
        setC_DocTypeDifference_ID in interface I_C_DocType
        Parameters:
        C_DocTypeDifference_ID - Document type for generating in dispute Shipments
      • getC_DocTypeDifference_ID

        public int getC_DocTypeDifference_ID()
        Get Difference Document.
        Specified by:
        getC_DocTypeDifference_ID in interface I_C_DocType
        Returns:
        Document type for generating in dispute Shipments
      • setC_DocType_ID

        public void setC_DocType_ID​(int C_DocType_ID)
        Set Document Type.
        Specified by:
        setC_DocType_ID in interface I_C_DocType
        Parameters:
        C_DocType_ID - Document type or rules
      • getC_DocType_ID

        public int getC_DocType_ID()
        Get Document Type.
        Specified by:
        getC_DocType_ID in interface I_C_DocType
        Returns:
        Document type or rules
      • setC_DocTypeInvoice_ID

        public void setC_DocTypeInvoice_ID​(int C_DocTypeInvoice_ID)
        Set Document Type for Invoice.
        Specified by:
        setC_DocTypeInvoice_ID in interface I_C_DocType
        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.
        Specified by:
        getC_DocTypeInvoice_ID in interface I_C_DocType
        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.
        Specified by:
        setC_DocTypeProforma_ID in interface I_C_DocType
        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.
        Specified by:
        getC_DocTypeProforma_ID in interface I_C_DocType
        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.
        Specified by:
        setC_DocTypeShipment_ID in interface I_C_DocType
        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.
        Specified by:
        getC_DocTypeShipment_ID in interface I_C_DocType
        Returns:
        Document type used for shipments generated from this sales document
      • setC_DocType_UU

        public void setC_DocType_UU​(String C_DocType_UU)
        Set C_DocType_UU.
        Specified by:
        setC_DocType_UU in interface I_C_DocType
        Parameters:
        C_DocType_UU - C_DocType_UU
      • setDefiniteSequence_ID

        public void setDefiniteSequence_ID​(int DefiniteSequence_ID)
        Set Definite Sequence.
        Specified by:
        setDefiniteSequence_ID in interface I_C_DocType
        Parameters:
        DefiniteSequence_ID - Definite Sequence
      • getDefiniteSequence_ID

        public int getDefiniteSequence_ID()
        Get Definite Sequence.
        Specified by:
        getDefiniteSequence_ID in interface I_C_DocType
        Returns:
        Definite Sequence
      • setDescription

        public void setDescription​(String Description)
        Set Description.
        Specified by:
        setDescription in interface I_C_DocType
        Parameters:
        Description - Optional short description of the record
      • getDescription

        public String getDescription()
        Get Description.
        Specified by:
        getDescription in interface I_C_DocType
        Returns:
        Optional short description of the record
      • setDocBaseType

        public void setDocBaseType​(String DocBaseType)
        Set Document BaseType.
        Specified by:
        setDocBaseType in interface I_C_DocType
        Parameters:
        DocBaseType - Logical type of document
      • getDocBaseType

        public String getDocBaseType()
        Get Document BaseType.
        Specified by:
        getDocBaseType in interface I_C_DocType
        Returns:
        Logical type of document
      • setDocNoSequence_ID

        public void setDocNoSequence_ID​(int DocNoSequence_ID)
        Set Document Sequence.
        Specified by:
        setDocNoSequence_ID in interface I_C_DocType
        Parameters:
        DocNoSequence_ID - Document sequence determines the numbering of documents
      • getDocNoSequence_ID

        public int getDocNoSequence_ID()
        Get Document Sequence.
        Specified by:
        getDocNoSequence_ID in interface I_C_DocType
        Returns:
        Document sequence determines the numbering of documents
      • setDocSubTypeInv

        public void setDocSubTypeInv​(String DocSubTypeInv)
        Set Inv Sub Type.
        Specified by:
        setDocSubTypeInv in interface I_C_DocType
        Parameters:
        DocSubTypeInv - Inventory Sub Type
      • setDocSubTypeSO

        public void setDocSubTypeSO​(String DocSubTypeSO)
        Set SO Sub Type.
        Specified by:
        setDocSubTypeSO in interface I_C_DocType
        Parameters:
        DocSubTypeSO - Sales Order Sub Type
      • setDocumentCopies

        public void setDocumentCopies​(int DocumentCopies)
        Set Document Copies.
        Specified by:
        setDocumentCopies in interface I_C_DocType
        Parameters:
        DocumentCopies - Number of copies to be printed
      • getDocumentCopies

        public int getDocumentCopies()
        Get Document Copies.
        Specified by:
        getDocumentCopies in interface I_C_DocType
        Returns:
        Number of copies to be printed
      • setDocumentNote

        public void setDocumentNote​(String DocumentNote)
        Set Document Note.
        Specified by:
        setDocumentNote in interface I_C_DocType
        Parameters:
        DocumentNote - Additional information for a Document
      • getDocumentNote

        public String getDocumentNote()
        Get Document Note.
        Specified by:
        getDocumentNote in interface I_C_DocType
        Returns:
        Additional information for a Document
      • setGL_Category_ID

        public void setGL_Category_ID​(int GL_Category_ID)
        Set GL Category.
        Specified by:
        setGL_Category_ID in interface I_C_DocType
        Parameters:
        GL_Category_ID - General Ledger Category
      • getGL_Category_ID

        public int getGL_Category_ID()
        Get GL Category.
        Specified by:
        getGL_Category_ID in interface I_C_DocType
        Returns:
        General Ledger Category
      • setHasCharges

        public void setHasCharges​(boolean HasCharges)
        Set Charges.
        Specified by:
        setHasCharges in interface I_C_DocType
        Parameters:
        HasCharges - Charges can be added to the document
      • isHasCharges

        public boolean isHasCharges()
        Get Charges.
        Specified by:
        isHasCharges in interface I_C_DocType
        Returns:
        Charges can be added to the document
      • setHasProforma

        public void setHasProforma​(boolean HasProforma)
        Set Pro forma Invoice.
        Specified by:
        setHasProforma in interface I_C_DocType
        Parameters:
        HasProforma - Indicates if Pro Forma Invoices can be generated from this document
      • isHasProforma

        public boolean isHasProforma()
        Get Pro forma Invoice.
        Specified by:
        isHasProforma in interface I_C_DocType
        Returns:
        Indicates if Pro Forma Invoices can be generated from this document
      • setIsChargeOrProductMandatory

        public void setIsChargeOrProductMandatory​(boolean IsChargeOrProductMandatory)
        Set Mandatory Charge or Product.
        Specified by:
        setIsChargeOrProductMandatory in interface I_C_DocType
        Parameters:
        IsChargeOrProductMandatory - Mandatory Charge or Product
      • isChargeOrProductMandatory

        public boolean isChargeOrProductMandatory()
        Get Mandatory Charge or Product.
        Specified by:
        isChargeOrProductMandatory in interface I_C_DocType
        Returns:
        Mandatory Charge or Product
      • setIsCreateCounter

        public void setIsCreateCounter​(boolean IsCreateCounter)
        Set Create Counter Document.
        Specified by:
        setIsCreateCounter in interface I_C_DocType
        Parameters:
        IsCreateCounter - Create Counter Document
      • isCreateCounter

        public boolean isCreateCounter()
        Get Create Counter Document.
        Specified by:
        isCreateCounter in interface I_C_DocType
        Returns:
        Create Counter Document
      • setIsDefault

        public void setIsDefault​(boolean IsDefault)
        Set Default.
        Specified by:
        setIsDefault in interface I_C_DocType
        Parameters:
        IsDefault - Default value
      • isDefault

        public boolean isDefault()
        Get Default.
        Specified by:
        isDefault in interface I_C_DocType
        Returns:
        Default value
      • setIsDefaultCounterDoc

        public void setIsDefaultCounterDoc​(boolean IsDefaultCounterDoc)
        Set Default Counter Document.
        Specified by:
        setIsDefaultCounterDoc in interface I_C_DocType
        Parameters:
        IsDefaultCounterDoc - The document type is the default counter document type
      • isDefaultCounterDoc

        public boolean isDefaultCounterDoc()
        Get Default Counter Document.
        Specified by:
        isDefaultCounterDoc in interface I_C_DocType
        Returns:
        The document type is the default counter document type
      • setIsDocNoControlled

        public void setIsDocNoControlled​(boolean IsDocNoControlled)
        Set Document is Number Controlled.
        Specified by:
        setIsDocNoControlled in interface I_C_DocType
        Parameters:
        IsDocNoControlled - The document has a document sequence
      • isDocNoControlled

        public boolean isDocNoControlled()
        Get Document is Number Controlled.
        Specified by:
        isDocNoControlled in interface I_C_DocType
        Returns:
        The document has a document sequence
      • setIsIndexed

        public void setIsIndexed​(boolean IsIndexed)
        Set Indexed.
        Specified by:
        setIsIndexed in interface I_C_DocType
        Parameters:
        IsIndexed - Index the document for the internal search engine
      • isIndexed

        public boolean isIndexed()
        Get Indexed.
        Specified by:
        isIndexed in interface I_C_DocType
        Returns:
        Index the document for the internal search engine
      • setIsInTransit

        public void setIsInTransit​(boolean IsInTransit)
        Set In Transit.
        Specified by:
        setIsInTransit in interface I_C_DocType
        Parameters:
        IsInTransit - Movement is in transit
      • isInTransit

        public boolean isInTransit()
        Get In Transit.
        Specified by:
        isInTransit in interface I_C_DocType
        Returns:
        Movement is in transit
      • setIsNoPriceListCheck

        public void setIsNoPriceListCheck​(boolean IsNoPriceListCheck)
        Set Allow Product Without Pricelist.
        Specified by:
        setIsNoPriceListCheck in interface I_C_DocType
        Parameters:
        IsNoPriceListCheck - Allow Product Without Pricelist
      • isNoPriceListCheck

        public boolean isNoPriceListCheck()
        Get Allow Product Without Pricelist.
        Specified by:
        isNoPriceListCheck in interface I_C_DocType
        Returns:
        Allow Product Without Pricelist
      • setIsOverwriteDateOnComplete

        public void setIsOverwriteDateOnComplete​(boolean IsOverwriteDateOnComplete)
        Set Overwrite Date on Complete.
        Specified by:
        setIsOverwriteDateOnComplete in interface I_C_DocType
        Parameters:
        IsOverwriteDateOnComplete - Overwrite Date on Complete
      • isOverwriteDateOnComplete

        public boolean isOverwriteDateOnComplete()
        Get Overwrite Date on Complete.
        Specified by:
        isOverwriteDateOnComplete in interface I_C_DocType
        Returns:
        Overwrite Date on Complete
      • setIsOverwriteSeqOnComplete

        public void setIsOverwriteSeqOnComplete​(boolean IsOverwriteSeqOnComplete)
        Set Overwrite Sequence on Complete.
        Specified by:
        setIsOverwriteSeqOnComplete in interface I_C_DocType
        Parameters:
        IsOverwriteSeqOnComplete - Overwrite Sequence on Complete
      • isOverwriteSeqOnComplete

        public boolean isOverwriteSeqOnComplete()
        Get Overwrite Sequence on Complete.
        Specified by:
        isOverwriteSeqOnComplete in interface I_C_DocType
        Returns:
        Overwrite Sequence on Complete
      • setIsPickQAConfirm

        public void setIsPickQAConfirm​(boolean IsPickQAConfirm)
        Set Pick/QA Confirmation.
        Specified by:
        setIsPickQAConfirm in interface I_C_DocType
        Parameters:
        IsPickQAConfirm - Require Pick or QA Confirmation before processing
      • isPickQAConfirm

        public boolean isPickQAConfirm()
        Get Pick/QA Confirmation.
        Specified by:
        isPickQAConfirm in interface I_C_DocType
        Returns:
        Require Pick or QA Confirmation before processing
      • setIsPrepareSplitDocument

        public void setIsPrepareSplitDocument​(boolean IsPrepareSplitDocument)
        Set Prepare Split Document.
        Specified by:
        setIsPrepareSplitDocument in interface I_C_DocType
        Parameters:
        IsPrepareSplitDocument - Prepare generated split shipment/receipt document
      • isPrepareSplitDocument

        public boolean isPrepareSplitDocument()
        Get Prepare Split Document.
        Specified by:
        isPrepareSplitDocument in interface I_C_DocType
        Returns:
        Prepare generated split shipment/receipt document
      • setIsShipConfirm

        public void setIsShipConfirm​(boolean IsShipConfirm)
        Set Ship/Receipt Confirmation.
        Specified by:
        setIsShipConfirm in interface I_C_DocType
        Parameters:
        IsShipConfirm - Require Ship or Receipt Confirmation before processing
      • isShipConfirm

        public boolean isShipConfirm()
        Get Ship/Receipt Confirmation.
        Specified by:
        isShipConfirm in interface I_C_DocType
        Returns:
        Require Ship or Receipt Confirmation before processing
      • setIsSOTrx

        public void setIsSOTrx​(boolean IsSOTrx)
        Set Sales Transaction.
        Specified by:
        setIsSOTrx in interface I_C_DocType
        Parameters:
        IsSOTrx - This is a Sales Transaction
      • isSOTrx

        public boolean isSOTrx()
        Get Sales Transaction.
        Specified by:
        isSOTrx in interface I_C_DocType
        Returns:
        This is a Sales Transaction
      • setIsSplitWhenDifference

        public void setIsSplitWhenDifference​(boolean IsSplitWhenDifference)
        Set Split when Difference.
        Specified by:
        setIsSplitWhenDifference in interface I_C_DocType
        Parameters:
        IsSplitWhenDifference - Split document when there is a difference
      • isSplitWhenDifference

        public boolean isSplitWhenDifference()
        Get Split when Difference.
        Specified by:
        isSplitWhenDifference in interface I_C_DocType
        Returns:
        Split document when there is a difference
      • setName

        public void setName​(String Name)
        Set Name.
        Specified by:
        setName in interface I_C_DocType
        Parameters:
        Name - Alphanumeric identifier of the entity
      • getName

        public String getName()
        Get Name.
        Specified by:
        getName in interface I_C_DocType
        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.
        Specified by:
        setPrintName in interface I_C_DocType
        Parameters:
        PrintName - The label text to be printed on a document or correspondence.
      • getPrintName

        public String getPrintName()
        Get Print Text.
        Specified by:
        getPrintName in interface I_C_DocType
        Returns:
        The label text to be printed on a document or correspondence.