Class SubOrder

    • Constructor Detail

      • SubOrder

        public SubOrder​(PosBasePanel posPanel)
        Constructor
        Parameters:
        posPanel - POS Panel
    • Method Detail

      • init

        public void init()
        Initialize
        Specified by:
        init in class PosSubPanel
      • dispose

        public void dispose()
        Dispose - Free Resources
        Overrides:
        dispose in class PosSubPanel
      • setC_BPartner_ID

        public void setC_BPartner_ID​(int C_BPartner_ID)
        Set BPartner
        Parameters:
        C_BPartner_ID - id
      • getC_BPartner_ID

        public int getC_BPartner_ID()
        Get BPartner
        Returns:
        C_BPartner_ID
      • getBPartner

        public MBPartner getBPartner()
        Get BPartner
        Returns:
        BPartner
      • getC_BPartner_Location_ID

        public int getC_BPartner_Location_ID()
        Get BPartner Location
        Returns:
        C_BPartner_Location_ID
      • getAD_User_ID

        public int getAD_User_ID()
        Get BPartner Contact
        Returns:
        AD_User_ID
      • getM_PriceList_Version_ID

        public int getM_PriceList_Version_ID()
        Get M_PriceList_Version_ID. Set Currency
        Returns:
        plv
      • setCurrency

        public void setCurrency​(String currency)
        Set Currency
        Parameters:
        currency - currency
      • isOrderFullyPaid

        public boolean isOrderFullyPaid()
        Is order fully pay ? Calculates if the given money is sufficient to pay the order
      • updateOrder

        public void updateOrder()
        Display cash return Display the difference between tender amount and bill amount
      • openCashDrawer

        public void openCashDrawer()
        Abrir caja Abre la caja registradora