Class X_PP_Order

    • Constructor Detail

      • X_PP_Order

        public X_PP_Order​(Properties ctx,
                          int PP_Order_ID,
                          String trxName)
        Standard Constructor
    • Method Detail

      • get_AccessLevel

        protected int get_AccessLevel()
        AccessLevel
        Specified by:
        get_AccessLevel in class PO
        Returns:
        1 - Org
      • 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_OrgTrx_ID

        public void setAD_OrgTrx_ID​(int AD_OrgTrx_ID)
        Set Trx Organization.
        Specified by:
        setAD_OrgTrx_ID in interface I_PP_Order
        Parameters:
        AD_OrgTrx_ID - Performing or initiating organization
      • getAD_OrgTrx_ID

        public int getAD_OrgTrx_ID()
        Get Trx Organization.
        Specified by:
        getAD_OrgTrx_ID in interface I_PP_Order
        Returns:
        Performing or initiating organization
      • setAD_Workflow_ID

        public void setAD_Workflow_ID​(int AD_Workflow_ID)
        Set Workflow.
        Specified by:
        setAD_Workflow_ID in interface I_PP_Order
        Parameters:
        AD_Workflow_ID - Workflow or combination of tasks
      • getAD_Workflow_ID

        public int getAD_Workflow_ID()
        Get Workflow.
        Specified by:
        getAD_Workflow_ID in interface I_PP_Order
        Returns:
        Workflow or combination of tasks
      • setAssay

        public void setAssay​(BigDecimal Assay)
        Set Quantity Assay.
        Specified by:
        setAssay in interface I_PP_Order
        Parameters:
        Assay - Indicated the Quantity Assay to use into Quality Order
      • getAssay

        public BigDecimal getAssay()
        Get Quantity Assay.
        Specified by:
        getAssay in interface I_PP_Order
        Returns:
        Indicated the Quantity Assay to use into Quality Order
      • setC_Activity_ID

        public void setC_Activity_ID​(int C_Activity_ID)
        Set Activity.
        Specified by:
        setC_Activity_ID in interface I_PP_Order
        Parameters:
        C_Activity_ID - Business Activity
      • getC_Activity_ID

        public int getC_Activity_ID()
        Get Activity.
        Specified by:
        getC_Activity_ID in interface I_PP_Order
        Returns:
        Business Activity
      • setC_Campaign_ID

        public void setC_Campaign_ID​(int C_Campaign_ID)
        Set Campaign.
        Specified by:
        setC_Campaign_ID in interface I_PP_Order
        Parameters:
        C_Campaign_ID - Marketing Campaign
      • getC_Campaign_ID

        public int getC_Campaign_ID()
        Get Campaign.
        Specified by:
        getC_Campaign_ID in interface I_PP_Order
        Returns:
        Marketing Campaign
      • setC_DocType_ID

        public void setC_DocType_ID​(int C_DocType_ID)
        Set Document Type.
        Specified by:
        setC_DocType_ID in interface I_PP_Order
        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_PP_Order
        Returns:
        Document type or rules
      • setC_DocTypeTarget_ID

        public void setC_DocTypeTarget_ID​(int C_DocTypeTarget_ID)
        Set Target Document Type.
        Specified by:
        setC_DocTypeTarget_ID in interface I_PP_Order
        Parameters:
        C_DocTypeTarget_ID - Target document type for conversing documents
      • getC_DocTypeTarget_ID

        public int getC_DocTypeTarget_ID()
        Get Target Document Type.
        Specified by:
        getC_DocTypeTarget_ID in interface I_PP_Order
        Returns:
        Target document type for conversing documents
      • setCopyFrom

        public void setCopyFrom​(String CopyFrom)
        Set Copy From.
        Specified by:
        setCopyFrom in interface I_PP_Order
        Parameters:
        CopyFrom - Copy From Record
      • getCopyFrom

        public String getCopyFrom()
        Get Copy From.
        Specified by:
        getCopyFrom in interface I_PP_Order
        Returns:
        Copy From Record
      • setC_OrderLine_ID

        public void setC_OrderLine_ID​(int C_OrderLine_ID)
        Set Sales Order Line.
        Specified by:
        setC_OrderLine_ID in interface I_PP_Order
        Parameters:
        C_OrderLine_ID - Sales Order Line
      • getC_OrderLine_ID

        public int getC_OrderLine_ID()
        Get Sales Order Line.
        Specified by:
        getC_OrderLine_ID in interface I_PP_Order
        Returns:
        Sales Order Line
      • setC_Project_ID

        public void setC_Project_ID​(int C_Project_ID)
        Set Project.
        Specified by:
        setC_Project_ID in interface I_PP_Order
        Parameters:
        C_Project_ID - Financial Project
      • getC_Project_ID

        public int getC_Project_ID()
        Get Project.
        Specified by:
        getC_Project_ID in interface I_PP_Order
        Returns:
        Financial Project
      • setC_UOM_ID

        public void setC_UOM_ID​(int C_UOM_ID)
        Set UOM.
        Specified by:
        setC_UOM_ID in interface I_PP_Order
        Parameters:
        C_UOM_ID - Unit of Measure
      • getC_UOM_ID

        public int getC_UOM_ID()
        Get UOM.
        Specified by:
        getC_UOM_ID in interface I_PP_Order
        Returns:
        Unit of Measure
      • setDateConfirm

        public void setDateConfirm​(Timestamp DateConfirm)
        Set Date Confirm.
        Specified by:
        setDateConfirm in interface I_PP_Order
        Parameters:
        DateConfirm - Date Confirm of this Order
      • setDateDelivered

        public void setDateDelivered​(Timestamp DateDelivered)
        Set Date Delivered.
        Specified by:
        setDateDelivered in interface I_PP_Order
        Parameters:
        DateDelivered - Date when the product was delivered
      • getDateDelivered

        public Timestamp getDateDelivered()
        Get Date Delivered.
        Specified by:
        getDateDelivered in interface I_PP_Order
        Returns:
        Date when the product was delivered
      • setDateFinish

        public void setDateFinish​(Timestamp DateFinish)
        Set Finish Date.
        Specified by:
        setDateFinish in interface I_PP_Order
        Parameters:
        DateFinish - Finish or (planned) completion date
      • getDateFinish

        public Timestamp getDateFinish()
        Get Finish Date.
        Specified by:
        getDateFinish in interface I_PP_Order
        Returns:
        Finish or (planned) completion date
      • setDateFinishSchedule

        public void setDateFinishSchedule​(Timestamp DateFinishSchedule)
        Set Date Finish Schedule.
        Specified by:
        setDateFinishSchedule in interface I_PP_Order
        Parameters:
        DateFinishSchedule - Scheduled Finish date for this Order
      • getDateFinishSchedule

        public Timestamp getDateFinishSchedule()
        Get Date Finish Schedule.
        Specified by:
        getDateFinishSchedule in interface I_PP_Order
        Returns:
        Scheduled Finish date for this Order
      • setDateOrdered

        public void setDateOrdered​(Timestamp DateOrdered)
        Set Date Ordered.
        Specified by:
        setDateOrdered in interface I_PP_Order
        Parameters:
        DateOrdered - Date of Order
      • setDatePromised

        public void setDatePromised​(Timestamp DatePromised)
        Set Date Promised.
        Specified by:
        setDatePromised in interface I_PP_Order
        Parameters:
        DatePromised - Date Order was promised
      • setDateStart

        public void setDateStart​(Timestamp DateStart)
        Set Date Start.
        Specified by:
        setDateStart in interface I_PP_Order
        Parameters:
        DateStart - Date Start for this Order
      • setDateStartSchedule

        public void setDateStartSchedule​(Timestamp DateStartSchedule)
        Set Date Start Schedule.
        Specified by:
        setDateStartSchedule in interface I_PP_Order
        Parameters:
        DateStartSchedule - Scheduled start date for this Order
      • getDateStartSchedule

        public Timestamp getDateStartSchedule()
        Get Date Start Schedule.
        Specified by:
        getDateStartSchedule in interface I_PP_Order
        Returns:
        Scheduled start date for this Order
      • setDescription

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

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

        public void setDocAction​(String DocAction)
        Set Document Action.
        Specified by:
        setDocAction in interface I_PP_Order
        Parameters:
        DocAction - The targeted status of the document
      • getDocAction

        public String getDocAction()
        Get Document Action.
        Specified by:
        getDocAction in interface I_PP_Order
        Returns:
        The targeted status of the document
      • setDocStatus

        public void setDocStatus​(String DocStatus)
        Set Document Status.
        Specified by:
        setDocStatus in interface I_PP_Order
        Parameters:
        DocStatus - The current status of the document
      • getDocStatus

        public String getDocStatus()
        Get Document Status.
        Specified by:
        getDocStatus in interface I_PP_Order
        Returns:
        The current status of the document
      • setDocumentNo

        public void setDocumentNo​(String DocumentNo)
        Set Document No.
        Specified by:
        setDocumentNo in interface I_PP_Order
        Parameters:
        DocumentNo - Document sequence number of the document
      • getDocumentNo

        public String getDocumentNo()
        Get Document No.
        Specified by:
        getDocumentNo in interface I_PP_Order
        Returns:
        Document sequence number of the document
      • getKeyNamePair

        public KeyNamePair getKeyNamePair()
        Get Record ID/ColumnName
        Returns:
        ID/ColumnName pair
      • setFloatAfter

        public void setFloatAfter​(BigDecimal FloatAfter)
        Set Float After.
        Specified by:
        setFloatAfter in interface I_PP_Order
        Parameters:
        FloatAfter - Float After
      • setFloatBefored

        public void setFloatBefored​(BigDecimal FloatBefored)
        Set Float Befored.
        Specified by:
        setFloatBefored in interface I_PP_Order
        Parameters:
        FloatBefored - Float Befored
      • setIsApproved

        public void setIsApproved​(boolean IsApproved)
        Set Approved.
        Specified by:
        setIsApproved in interface I_PP_Order
        Parameters:
        IsApproved - Indicates if this document requires approval
      • isApproved

        public boolean isApproved()
        Get Approved.
        Specified by:
        isApproved in interface I_PP_Order
        Returns:
        Indicates if this document requires approval
      • setIsPrinted

        public void setIsPrinted​(boolean IsPrinted)
        Set Printed.
        Specified by:
        setIsPrinted in interface I_PP_Order
        Parameters:
        IsPrinted - Indicates if this document / line is printed
      • isPrinted

        public boolean isPrinted()
        Get Printed.
        Specified by:
        isPrinted in interface I_PP_Order
        Returns:
        Indicates if this document / line is printed
      • setIsQtyPercentage

        public void setIsQtyPercentage​(boolean IsQtyPercentage)
        Set Is Qty Percentage.
        Specified by:
        setIsQtyPercentage in interface I_PP_Order
        Parameters:
        IsQtyPercentage - Indicate that this component is based in % Quantity
      • isQtyPercentage

        public boolean isQtyPercentage()
        Get Is Qty Percentage.
        Specified by:
        isQtyPercentage in interface I_PP_Order
        Returns:
        Indicate that this component is based in % Quantity
      • setIsSelected

        public void setIsSelected​(boolean IsSelected)
        Set Selected.
        Specified by:
        setIsSelected in interface I_PP_Order
        Parameters:
        IsSelected - Selected
      • isSelected

        public boolean isSelected()
        Get Selected.
        Specified by:
        isSelected in interface I_PP_Order
        Returns:
        Selected
      • setIsSOTrx

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

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

        public void setLine​(int Line)
        Set Line No.
        Specified by:
        setLine in interface I_PP_Order
        Parameters:
        Line - Unique line for this document
      • getLine

        public int getLine()
        Get Line No.
        Specified by:
        getLine in interface I_PP_Order
        Returns:
        Unique line for this document
      • setLot

        public void setLot​(String Lot)
        Set Lot No.
        Specified by:
        setLot in interface I_PP_Order
        Parameters:
        Lot - Lot number (alphanumeric)
      • getLot

        public String getLot()
        Get Lot No.
        Specified by:
        getLot in interface I_PP_Order
        Returns:
        Lot number (alphanumeric)
      • setM_AttributeSetInstance_ID

        public void setM_AttributeSetInstance_ID​(int M_AttributeSetInstance_ID)
        Set Attribute Set Instance.
        Specified by:
        setM_AttributeSetInstance_ID in interface I_PP_Order
        Parameters:
        M_AttributeSetInstance_ID - Product Attribute Set Instance
      • getM_AttributeSetInstance_ID

        public int getM_AttributeSetInstance_ID()
        Get Attribute Set Instance.
        Specified by:
        getM_AttributeSetInstance_ID in interface I_PP_Order
        Returns:
        Product Attribute Set Instance
      • setM_Product_ID

        public void setM_Product_ID​(int M_Product_ID)
        Set Product.
        Specified by:
        setM_Product_ID in interface I_PP_Order
        Parameters:
        M_Product_ID - Product, Service, Item
      • getM_Product_ID

        public int getM_Product_ID()
        Get Product.
        Specified by:
        getM_Product_ID in interface I_PP_Order
        Returns:
        Product, Service, Item
      • setM_Warehouse_ID

        public void setM_Warehouse_ID​(int M_Warehouse_ID)
        Set Warehouse.
        Specified by:
        setM_Warehouse_ID in interface I_PP_Order
        Parameters:
        M_Warehouse_ID - Storage Warehouse and Service Point
      • getM_Warehouse_ID

        public int getM_Warehouse_ID()
        Get Warehouse.
        Specified by:
        getM_Warehouse_ID in interface I_PP_Order
        Returns:
        Storage Warehouse and Service Point
      • setOrderType

        public void setOrderType​(String OrderType)
        Set Order Type.
        Specified by:
        setOrderType in interface I_PP_Order
        Parameters:
        OrderType - Type of Order: MRP records grouped by source (Sales Order, Purchase Order, Distribution Order, Requisition)
      • getOrderType

        public String getOrderType()
        Get Order Type.
        Specified by:
        getOrderType in interface I_PP_Order
        Returns:
        Type of Order: MRP records grouped by source (Sales Order, Purchase Order, Distribution Order, Requisition)
      • setPlanner_ID

        public void setPlanner_ID​(int Planner_ID)
        Set Planner.
        Specified by:
        setPlanner_ID in interface I_PP_Order
        Parameters:
        Planner_ID - Planner
      • getPlanner_ID

        public int getPlanner_ID()
        Get Planner.
        Specified by:
        getPlanner_ID in interface I_PP_Order
        Returns:
        Planner
      • setPosted

        public void setPosted​(boolean Posted)
        Set Posted.
        Specified by:
        setPosted in interface I_PP_Order
        Parameters:
        Posted - Posting status
      • isPosted

        public boolean isPosted()
        Get Posted.
        Specified by:
        isPosted in interface I_PP_Order
        Returns:
        Posting status
      • setPP_Order_ID

        public void setPP_Order_ID​(int PP_Order_ID)
        Set Manufacturing Order.
        Specified by:
        setPP_Order_ID in interface I_PP_Order
        Parameters:
        PP_Order_ID - Manufacturing Order
      • getPP_Order_ID

        public int getPP_Order_ID()
        Get Manufacturing Order.
        Specified by:
        getPP_Order_ID in interface I_PP_Order
        Returns:
        Manufacturing Order
      • setPP_Order_UU

        public void setPP_Order_UU​(String PP_Order_UU)
        Set PP_Order_UU.
        Specified by:
        setPP_Order_UU in interface I_PP_Order
        Parameters:
        PP_Order_UU - PP_Order_UU
      • setPP_Product_BOM_ID

        public void setPP_Product_BOM_ID​(int PP_Product_BOM_ID)
        Set BOM & Formula.
        Specified by:
        setPP_Product_BOM_ID in interface I_PP_Order
        Parameters:
        PP_Product_BOM_ID - BOM & Formula
      • getPP_Product_BOM_ID

        public int getPP_Product_BOM_ID()
        Get BOM & Formula.
        Specified by:
        getPP_Product_BOM_ID in interface I_PP_Order
        Returns:
        BOM & Formula
      • setPriorityRule

        public void setPriorityRule​(String PriorityRule)
        Set Priority.
        Specified by:
        setPriorityRule in interface I_PP_Order
        Parameters:
        PriorityRule - Priority of a document
      • setProcessed

        public void setProcessed​(boolean Processed)
        Set Processed.
        Specified by:
        setProcessed in interface I_PP_Order
        Parameters:
        Processed - The document has been processed
      • isProcessed

        public boolean isProcessed()
        Get Processed.
        Specified by:
        isProcessed in interface I_PP_Order
        Returns:
        The document has been processed
      • setProcessedOn

        public void setProcessedOn​(BigDecimal ProcessedOn)
        Set Processed On.
        Specified by:
        setProcessedOn in interface I_PP_Order
        Parameters:
        ProcessedOn - The date+time (expressed in decimal format) when the document has been processed
      • getProcessedOn

        public BigDecimal getProcessedOn()
        Get Processed On.
        Specified by:
        getProcessedOn in interface I_PP_Order
        Returns:
        The date+time (expressed in decimal format) when the document has been processed
      • setProcessing

        public void setProcessing​(boolean Processing)
        Set Process Now.
        Specified by:
        setProcessing in interface I_PP_Order
        Parameters:
        Processing - Process Now
      • isProcessing

        public boolean isProcessing()
        Get Process Now.
        Specified by:
        isProcessing in interface I_PP_Order
        Returns:
        Process Now
      • setQtyBatchs

        public void setQtyBatchs​(BigDecimal QtyBatchs)
        Set Qty Batchs.
        Specified by:
        setQtyBatchs in interface I_PP_Order
        Parameters:
        QtyBatchs - Qty Batchs
      • setQtyBatchSize

        public void setQtyBatchSize​(BigDecimal QtyBatchSize)
        Set Qty Batch Size.
        Specified by:
        setQtyBatchSize in interface I_PP_Order
        Parameters:
        QtyBatchSize - Qty Batch Size
      • setQtyDelivered

        public void setQtyDelivered​(BigDecimal QtyDelivered)
        Set Delivered Quantity.
        Specified by:
        setQtyDelivered in interface I_PP_Order
        Parameters:
        QtyDelivered - Delivered Quantity
      • setQtyEntered

        public void setQtyEntered​(BigDecimal QtyEntered)
        Set Quantity.
        Specified by:
        setQtyEntered in interface I_PP_Order
        Parameters:
        QtyEntered - The Quantity Entered is based on the selected UoM
      • getQtyEntered

        public BigDecimal getQtyEntered()
        Get Quantity.
        Specified by:
        getQtyEntered in interface I_PP_Order
        Returns:
        The Quantity Entered is based on the selected UoM
      • setQtyOrdered

        public void setQtyOrdered​(BigDecimal QtyOrdered)
        Set Ordered Quantity.
        Specified by:
        setQtyOrdered in interface I_PP_Order
        Parameters:
        QtyOrdered - Ordered Quantity
      • setQtyReject

        public void setQtyReject​(BigDecimal QtyReject)
        Set Qty Reject.
        Specified by:
        setQtyReject in interface I_PP_Order
        Parameters:
        QtyReject - Qty Reject
      • setQtyReserved

        public void setQtyReserved​(BigDecimal QtyReserved)
        Set Reserved Quantity.
        Specified by:
        setQtyReserved in interface I_PP_Order
        Parameters:
        QtyReserved - Reserved Quantity
      • setQtyScrap

        public void setQtyScrap​(BigDecimal QtyScrap)
        Set Scrap %.
        Specified by:
        setQtyScrap in interface I_PP_Order
        Parameters:
        QtyScrap - Scrap % Quantity for this componet
      • getQtyScrap

        public BigDecimal getQtyScrap()
        Get Scrap %.
        Specified by:
        getQtyScrap in interface I_PP_Order
        Returns:
        Scrap % Quantity for this componet
      • setScheduleType

        public void setScheduleType​(String ScheduleType)
        Set Schedule Type.
        Specified by:
        setScheduleType in interface I_PP_Order
        Parameters:
        ScheduleType - Type of schedule
      • setSerNo

        public void setSerNo​(String SerNo)
        Set Serial No.
        Specified by:
        setSerNo in interface I_PP_Order
        Parameters:
        SerNo - Product Serial Number
      • getSerNo

        public String getSerNo()
        Get Serial No.
        Specified by:
        getSerNo in interface I_PP_Order
        Returns:
        Product Serial Number
      • setS_Resource_ID

        public void setS_Resource_ID​(int S_Resource_ID)
        Set Resource.
        Specified by:
        setS_Resource_ID in interface I_PP_Order
        Parameters:
        S_Resource_ID - Resource
      • getS_Resource_ID

        public int getS_Resource_ID()
        Get Resource.
        Specified by:
        getS_Resource_ID in interface I_PP_Order
        Returns:
        Resource
      • setUser1_ID

        public void setUser1_ID​(int User1_ID)
        Set User Element List 1.
        Specified by:
        setUser1_ID in interface I_PP_Order
        Parameters:
        User1_ID - User defined list element #1
      • getUser1_ID

        public int getUser1_ID()
        Get User Element List 1.
        Specified by:
        getUser1_ID in interface I_PP_Order
        Returns:
        User defined list element #1
      • setUser2_ID

        public void setUser2_ID​(int User2_ID)
        Set User Element List 2.
        Specified by:
        setUser2_ID in interface I_PP_Order
        Parameters:
        User2_ID - User defined list element #2
      • getUser2_ID

        public int getUser2_ID()
        Get User Element List 2.
        Specified by:
        getUser2_ID in interface I_PP_Order
        Returns:
        User defined list element #2
      • setYield

        public void setYield​(BigDecimal Yield)
        Set Yield %.
        Specified by:
        setYield in interface I_PP_Order
        Parameters:
        Yield - The Yield is the percentage of a lot that is expected to be of acceptable wuality may fall below 100 percent
      • getYield

        public BigDecimal getYield()
        Get Yield %.
        Specified by:
        getYield in interface I_PP_Order
        Returns:
        The Yield is the percentage of a lot that is expected to be of acceptable wuality may fall below 100 percent