Class X_I_BPartner

    • Constructor Detail

      • X_I_BPartner

        public X_I_BPartner​(Properties ctx,
                            int I_BPartner_ID,
                            String trxName)
        Standard Constructor
    • Method Detail

      • get_AccessLevel

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

        public void setAddress1​(String Address1)
        Set Address 1.
        Specified by:
        setAddress1 in interface I_I_BPartner
        Parameters:
        Address1 - Address line 1 for this location
      • getAddress1

        public String getAddress1()
        Get Address 1.
        Specified by:
        getAddress1 in interface I_I_BPartner
        Returns:
        Address line 1 for this location
      • setAddress2

        public void setAddress2​(String Address2)
        Set Address 2.
        Specified by:
        setAddress2 in interface I_I_BPartner
        Parameters:
        Address2 - Address line 2 for this location
      • getAddress2

        public String getAddress2()
        Get Address 2.
        Specified by:
        getAddress2 in interface I_I_BPartner
        Returns:
        Address line 2 for this location
      • setAD_User_ID

        public void setAD_User_ID​(int AD_User_ID)
        Set User/Contact.
        Specified by:
        setAD_User_ID in interface I_I_BPartner
        Parameters:
        AD_User_ID - User within the system - Internal or Business Partner Contact
      • getAD_User_ID

        public int getAD_User_ID()
        Get User/Contact.
        Specified by:
        getAD_User_ID in interface I_I_BPartner
        Returns:
        User within the system - Internal or Business Partner Contact
      • setBirthday

        public void setBirthday​(Timestamp Birthday)
        Set Birthday.
        Specified by:
        setBirthday in interface I_I_BPartner
        Parameters:
        Birthday - Birthday or Anniversary day
      • setBPContactGreeting

        public void setBPContactGreeting​(String BPContactGreeting)
        Set BP Contact Greeting.
        Specified by:
        setBPContactGreeting in interface I_I_BPartner
        Parameters:
        BPContactGreeting - Greeting for Business Partner Contact
      • getBPContactGreeting

        public String getBPContactGreeting()
        Get BP Contact Greeting.
        Specified by:
        getBPContactGreeting in interface I_I_BPartner
        Returns:
        Greeting for Business Partner Contact
      • setC_BPartner_ID

        public void setC_BPartner_ID​(int C_BPartner_ID)
        Set Business Partner.
        Specified by:
        setC_BPartner_ID in interface I_I_BPartner
        Parameters:
        C_BPartner_ID - Identifies a Business Partner
      • getC_BPartner_ID

        public int getC_BPartner_ID()
        Get Business Partner.
        Specified by:
        getC_BPartner_ID in interface I_I_BPartner
        Returns:
        Identifies a Business Partner
      • setC_BPartner_Location_ID

        public void setC_BPartner_Location_ID​(int C_BPartner_Location_ID)
        Set Partner Location.
        Specified by:
        setC_BPartner_Location_ID in interface I_I_BPartner
        Parameters:
        C_BPartner_Location_ID - Identifies the (ship to) address for this Business Partner
      • getC_BPartner_Location_ID

        public int getC_BPartner_Location_ID()
        Get Partner Location.
        Specified by:
        getC_BPartner_Location_ID in interface I_I_BPartner
        Returns:
        Identifies the (ship to) address for this Business Partner
      • setC_BP_Group_ID

        public void setC_BP_Group_ID​(int C_BP_Group_ID)
        Set Business Partner Group.
        Specified by:
        setC_BP_Group_ID in interface I_I_BPartner
        Parameters:
        C_BP_Group_ID - Business Partner Group
      • getC_BP_Group_ID

        public int getC_BP_Group_ID()
        Get Business Partner Group.
        Specified by:
        getC_BP_Group_ID in interface I_I_BPartner
        Returns:
        Business Partner Group
      • setC_Country_ID

        public void setC_Country_ID​(int C_Country_ID)
        Set Country.
        Specified by:
        setC_Country_ID in interface I_I_BPartner
        Parameters:
        C_Country_ID - Country
      • getC_Country_ID

        public int getC_Country_ID()
        Get Country.
        Specified by:
        getC_Country_ID in interface I_I_BPartner
        Returns:
        Country
      • setC_Greeting_ID

        public void setC_Greeting_ID​(int C_Greeting_ID)
        Set Greeting.
        Specified by:
        setC_Greeting_ID in interface I_I_BPartner
        Parameters:
        C_Greeting_ID - Greeting to print on correspondence
      • getC_Greeting_ID

        public int getC_Greeting_ID()
        Get Greeting.
        Specified by:
        getC_Greeting_ID in interface I_I_BPartner
        Returns:
        Greeting to print on correspondence
      • setCity

        public void setCity​(String City)
        Set City.
        Specified by:
        setCity in interface I_I_BPartner
        Parameters:
        City - Identifies a City
      • setComments

        public void setComments​(String Comments)
        Set Comments.
        Specified by:
        setComments in interface I_I_BPartner
        Parameters:
        Comments - Comments or additional information
      • getComments

        public String getComments()
        Get Comments.
        Specified by:
        getComments in interface I_I_BPartner
        Returns:
        Comments or additional information
      • setContactDescription

        public void setContactDescription​(String ContactDescription)
        Set Contact Description.
        Specified by:
        setContactDescription in interface I_I_BPartner
        Parameters:
        ContactDescription - Description of Contact
      • setContactName

        public void setContactName​(String ContactName)
        Set Contact Name.
        Specified by:
        setContactName in interface I_I_BPartner
        Parameters:
        ContactName - Business Partner Contact Name
      • getContactName

        public String getContactName()
        Get Contact Name.
        Specified by:
        getContactName in interface I_I_BPartner
        Returns:
        Business Partner Contact Name
      • setCountryCode

        public void setCountryCode​(String CountryCode)
        Set ISO Country Code.
        Specified by:
        setCountryCode in interface I_I_BPartner
        Parameters:
        CountryCode - Upper-case two-letter alphanumeric ISO Country code according to ISO 3166-1 - http://www.chemie.fu-berlin.de/diverse/doc/ISO_3166.html
      • getCountryCode

        public String getCountryCode()
        Get ISO Country Code.
        Specified by:
        getCountryCode in interface I_I_BPartner
        Returns:
        Upper-case two-letter alphanumeric ISO Country code according to ISO 3166-1 - http://www.chemie.fu-berlin.de/diverse/doc/ISO_3166.html
      • setC_Region_ID

        public void setC_Region_ID​(int C_Region_ID)
        Set Region.
        Specified by:
        setC_Region_ID in interface I_I_BPartner
        Parameters:
        C_Region_ID - Identifies a geographical Region
      • getC_Region_ID

        public int getC_Region_ID()
        Get Region.
        Specified by:
        getC_Region_ID in interface I_I_BPartner
        Returns:
        Identifies a geographical Region
      • setDescription

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

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

        public void setDUNS​(String DUNS)
        Set D-U-N-S.
        Specified by:
        setDUNS in interface I_I_BPartner
        Parameters:
        DUNS - Dun & Bradstreet Number
      • getDUNS

        public String getDUNS()
        Get D-U-N-S.
        Specified by:
        getDUNS in interface I_I_BPartner
        Returns:
        Dun & Bradstreet Number
      • setEMail

        public void setEMail​(String EMail)
        Set EMail Address.
        Specified by:
        setEMail in interface I_I_BPartner
        Parameters:
        EMail - Electronic Mail Address
      • getEMail

        public String getEMail()
        Get EMail Address.
        Specified by:
        getEMail in interface I_I_BPartner
        Returns:
        Electronic Mail Address
      • setFax

        public void setFax​(String Fax)
        Set Fax.
        Specified by:
        setFax in interface I_I_BPartner
        Parameters:
        Fax - Facsimile number
      • setGroupValue

        public void setGroupValue​(String GroupValue)
        Set Group Key.
        Specified by:
        setGroupValue in interface I_I_BPartner
        Parameters:
        GroupValue - Business Partner Group Key
      • setI_BPartner_ID

        public void setI_BPartner_ID​(int I_BPartner_ID)
        Set Import Business Partner.
        Specified by:
        setI_BPartner_ID in interface I_I_BPartner
        Parameters:
        I_BPartner_ID - Import Business Partner
      • getI_BPartner_ID

        public int getI_BPartner_ID()
        Get Import Business Partner.
        Specified by:
        getI_BPartner_ID in interface I_I_BPartner
        Returns:
        Import Business Partner
      • setI_BPartner_UU

        public void setI_BPartner_UU​(String I_BPartner_UU)
        Set I_BPartner_UU.
        Specified by:
        setI_BPartner_UU in interface I_I_BPartner
        Parameters:
        I_BPartner_UU - I_BPartner_UU
      • setI_ErrorMsg

        public void setI_ErrorMsg​(String I_ErrorMsg)
        Set Import Error Message.
        Specified by:
        setI_ErrorMsg in interface I_I_BPartner
        Parameters:
        I_ErrorMsg - Messages generated from import process
      • getI_ErrorMsg

        public String getI_ErrorMsg()
        Get Import Error Message.
        Specified by:
        getI_ErrorMsg in interface I_I_BPartner
        Returns:
        Messages generated from import process
      • setI_IsImported

        public void setI_IsImported​(boolean I_IsImported)
        Set Imported.
        Specified by:
        setI_IsImported in interface I_I_BPartner
        Parameters:
        I_IsImported - Has this import been processed
      • isI_IsImported

        public boolean isI_IsImported()
        Get Imported.
        Specified by:
        isI_IsImported in interface I_I_BPartner
        Returns:
        Has this import been processed
      • setInterestAreaName

        public void setInterestAreaName​(String InterestAreaName)
        Set Interest Area.
        Specified by:
        setInterestAreaName in interface I_I_BPartner
        Parameters:
        InterestAreaName - Name of the Interest Area
      • setIsCustomer

        public void setIsCustomer​(boolean IsCustomer)
        Set Customer.
        Specified by:
        setIsCustomer in interface I_I_BPartner
        Parameters:
        IsCustomer - Indicates if this Business Partner is a Customer
      • isCustomer

        public boolean isCustomer()
        Get Customer.
        Specified by:
        isCustomer in interface I_I_BPartner
        Returns:
        Indicates if this Business Partner is a Customer
      • setIsEmployee

        public void setIsEmployee​(boolean IsEmployee)
        Set Employee.
        Specified by:
        setIsEmployee in interface I_I_BPartner
        Parameters:
        IsEmployee - Indicates if this Business Partner is an employee
      • isEmployee

        public boolean isEmployee()
        Get Employee.
        Specified by:
        isEmployee in interface I_I_BPartner
        Returns:
        Indicates if this Business Partner is an employee
      • setIsVendor

        public void setIsVendor​(boolean IsVendor)
        Set Vendor.
        Specified by:
        setIsVendor in interface I_I_BPartner
        Parameters:
        IsVendor - Indicates if this Business Partner is a Vendor
      • isVendor

        public boolean isVendor()
        Get Vendor.
        Specified by:
        isVendor in interface I_I_BPartner
        Returns:
        Indicates if this Business Partner is a Vendor
      • setNAICS

        public void setNAICS​(String NAICS)
        Set NAICS/SIC.
        Specified by:
        setNAICS in interface I_I_BPartner
        Parameters:
        NAICS - Standard Industry Code or its successor NAIC - http://www.osha.gov/oshstats/sicser.html
      • getNAICS

        public String getNAICS()
        Get NAICS/SIC.
        Specified by:
        getNAICS in interface I_I_BPartner
        Returns:
        Standard Industry Code or its successor NAIC - http://www.osha.gov/oshstats/sicser.html
      • setName

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

        public String getName()
        Get Name.
        Specified by:
        getName in interface I_I_BPartner
        Returns:
        Alphanumeric identifier of the entity
      • setName2

        public void setName2​(String Name2)
        Set Name 2.
        Specified by:
        setName2 in interface I_I_BPartner
        Parameters:
        Name2 - Additional Name
      • setPassword

        public void setPassword​(String Password)
        Set Password.
        Specified by:
        setPassword in interface I_I_BPartner
        Parameters:
        Password - Password of any length (case sensitive)
      • getPassword

        public String getPassword()
        Get Password.
        Specified by:
        getPassword in interface I_I_BPartner
        Returns:
        Password of any length (case sensitive)
      • setPhone

        public void setPhone​(String Phone)
        Set Phone.
        Specified by:
        setPhone in interface I_I_BPartner
        Parameters:
        Phone - Identifies a telephone number
      • getPhone

        public String getPhone()
        Get Phone.
        Specified by:
        getPhone in interface I_I_BPartner
        Returns:
        Identifies a telephone number
      • setPhone2

        public void setPhone2​(String Phone2)
        Set 2nd Phone.
        Specified by:
        setPhone2 in interface I_I_BPartner
        Parameters:
        Phone2 - Identifies an alternate telephone number.
      • getPhone2

        public String getPhone2()
        Get 2nd Phone.
        Specified by:
        getPhone2 in interface I_I_BPartner
        Returns:
        Identifies an alternate telephone number.
      • setPostal

        public void setPostal​(String Postal)
        Set ZIP.
        Specified by:
        setPostal in interface I_I_BPartner
        Parameters:
        Postal - Postal code
      • setPostal_Add

        public void setPostal_Add​(String Postal_Add)
        Set Additional Zip.
        Specified by:
        setPostal_Add in interface I_I_BPartner
        Parameters:
        Postal_Add - Additional ZIP or Postal code
      • getPostal_Add

        public String getPostal_Add()
        Get Additional Zip.
        Specified by:
        getPostal_Add in interface I_I_BPartner
        Returns:
        Additional ZIP or Postal code
      • setProcessed

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

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

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

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

        public void setRegionName​(String RegionName)
        Set Region.
        Specified by:
        setRegionName in interface I_I_BPartner
        Parameters:
        RegionName - Name of the Region
      • setR_InterestArea_ID

        public void setR_InterestArea_ID​(int R_InterestArea_ID)
        Set Interest Area.
        Specified by:
        setR_InterestArea_ID in interface I_I_BPartner
        Parameters:
        R_InterestArea_ID - Interest Area or Topic
      • getR_InterestArea_ID

        public int getR_InterestArea_ID()
        Get Interest Area.
        Specified by:
        getR_InterestArea_ID in interface I_I_BPartner
        Returns:
        Interest Area or Topic
      • setTaxID

        public void setTaxID​(String TaxID)
        Set Tax ID.
        Specified by:
        setTaxID in interface I_I_BPartner
        Parameters:
        TaxID - Tax Identification
      • setTitle

        public void setTitle​(String Title)
        Set Title.
        Specified by:
        setTitle in interface I_I_BPartner
        Parameters:
        Title - Name this entity is referred to as
      • getTitle

        public String getTitle()
        Get Title.
        Specified by:
        getTitle in interface I_I_BPartner
        Returns:
        Name this entity is referred to as
      • setValue

        public void setValue​(String Value)
        Set Search Key.
        Specified by:
        setValue in interface I_I_BPartner
        Parameters:
        Value - Search key for the record in the format required - must be unique
      • getValue

        public String getValue()
        Get Search Key.
        Specified by:
        getValue in interface I_I_BPartner
        Returns:
        Search key for the record in the format required - must be unique
      • getKeyNamePair

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