Class X_A_Asset

    • Constructor Detail

      • X_A_Asset

        public X_A_Asset​(Properties ctx,
                         int A_Asset_ID,
                         String trxName)
        Standard Constructor
    • Method Detail

      • get_AccessLevel

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

        public void setA_Asset_Action​(String A_Asset_Action)
        Set Asset Action.
        Specified by:
        setA_Asset_Action in interface I_A_Asset
        Parameters:
        A_Asset_Action - Asset Action
      • setA_Asset_Class_ID

        public void setA_Asset_Class_ID​(int A_Asset_Class_ID)
        Set Asset class.
        Specified by:
        setA_Asset_Class_ID in interface I_A_Asset
        Parameters:
        A_Asset_Class_ID - Asset class
      • getA_Asset_Class_ID

        public int getA_Asset_Class_ID()
        Get Asset class.
        Specified by:
        getA_Asset_Class_ID in interface I_A_Asset
        Returns:
        Asset class
      • setA_Asset_CreateDate

        public void setA_Asset_CreateDate​(Timestamp A_Asset_CreateDate)
        Set Create Date.
        Specified by:
        setA_Asset_CreateDate in interface I_A_Asset
        Parameters:
        A_Asset_CreateDate - Create Date
      • setA_Asset_Group_ID

        public void setA_Asset_Group_ID​(int A_Asset_Group_ID)
        Set Asset Group.
        Specified by:
        setA_Asset_Group_ID in interface I_A_Asset
        Parameters:
        A_Asset_Group_ID - Group of Assets
      • getA_Asset_Group_ID

        public int getA_Asset_Group_ID()
        Get Asset Group.
        Specified by:
        getA_Asset_Group_ID in interface I_A_Asset
        Returns:
        Group of Assets
      • setA_Asset_ID

        public void setA_Asset_ID​(int A_Asset_ID)
        Set Asset.
        Specified by:
        setA_Asset_ID in interface I_A_Asset
        Parameters:
        A_Asset_ID - Asset used internally or by customers
      • getA_Asset_ID

        public int getA_Asset_ID()
        Get Asset.
        Specified by:
        getA_Asset_ID in interface I_A_Asset
        Returns:
        Asset used internally or by customers
      • setA_Asset_RevalDate

        public void setA_Asset_RevalDate​(Timestamp A_Asset_RevalDate)
        Set Revaluation Date.
        Specified by:
        setA_Asset_RevalDate in interface I_A_Asset
        Parameters:
        A_Asset_RevalDate - Revaluation Date
      • setA_Asset_Status

        public void setA_Asset_Status​(String A_Asset_Status)
        Set Asset Status.
        Specified by:
        setA_Asset_Status in interface I_A_Asset
        Parameters:
        A_Asset_Status - Asset Status
      • setA_AssetType

        public void setA_AssetType​(String A_AssetType)
        Set Asset Type.
        Specified by:
        setA_AssetType in interface I_A_Asset
        Parameters:
        A_AssetType - Asset Type
      • setA_Asset_Type_ID

        public void setA_Asset_Type_ID​(int A_Asset_Type_ID)
        Set Asset Type.
        Specified by:
        setA_Asset_Type_ID in interface I_A_Asset
        Parameters:
        A_Asset_Type_ID - Asset Type
      • getA_Asset_Type_ID

        public int getA_Asset_Type_ID()
        Get Asset Type.
        Specified by:
        getA_Asset_Type_ID in interface I_A_Asset
        Returns:
        Asset Type
      • setA_Asset_UU

        public void setA_Asset_UU​(String A_Asset_UU)
        Set A_Asset_UU.
        Specified by:
        setA_Asset_UU in interface I_A_Asset
        Parameters:
        A_Asset_UU - A_Asset_UU
      • setAD_User_ID

        public void setAD_User_ID​(int AD_User_ID)
        Set User/Contact.
        Specified by:
        setAD_User_ID in interface I_A_Asset
        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_A_Asset
        Returns:
        User within the system - Internal or Business Partner Contact
      • setA_Parent_Asset_ID

        public void setA_Parent_Asset_ID​(int A_Parent_Asset_ID)
        Set Parent Asset.
        Specified by:
        setA_Parent_Asset_ID in interface I_A_Asset
        Parameters:
        A_Parent_Asset_ID - Parent Asset
      • getA_Parent_Asset_ID

        public int getA_Parent_Asset_ID()
        Get Parent Asset.
        Specified by:
        getA_Parent_Asset_ID in interface I_A_Asset
        Returns:
        Parent Asset
      • setA_QTY_Current

        public void setA_QTY_Current​(BigDecimal A_QTY_Current)
        Set Current Qty.
        Specified by:
        setA_QTY_Current in interface I_A_Asset
        Parameters:
        A_QTY_Current - Current Qty
      • setA_QTY_Original

        public void setA_QTY_Original​(BigDecimal A_QTY_Original)
        Set A_QTY_Original.
        Specified by:
        setA_QTY_Original in interface I_A_Asset
        Parameters:
        A_QTY_Original - A_QTY_Original
      • setAssetActivationDate

        public void setAssetActivationDate​(Timestamp AssetActivationDate)
        Set Activation Date.
        Specified by:
        setAssetActivationDate in interface I_A_Asset
        Parameters:
        AssetActivationDate - Activation Date
      • setAssetDepreciationDate

        public void setAssetDepreciationDate​(Timestamp AssetDepreciationDate)
        Set Asset Depreciation Date.
        Specified by:
        setAssetDepreciationDate in interface I_A_Asset
        Parameters:
        AssetDepreciationDate - Date of last depreciation
      • setAssetDisposalDate

        public void setAssetDisposalDate​(Timestamp AssetDisposalDate)
        Set Asset Disposal Date.
        Specified by:
        setAssetDisposalDate in interface I_A_Asset
        Parameters:
        AssetDisposalDate - Date when the asset is/was disposed
      • getAssetDisposalDate

        public Timestamp getAssetDisposalDate()
        Get Asset Disposal Date.
        Specified by:
        getAssetDisposalDate in interface I_A_Asset
        Returns:
        Date when the asset is/was disposed
      • setAssetServiceDate

        public void setAssetServiceDate​(Timestamp AssetServiceDate)
        Set In Service Date.
        Specified by:
        setAssetServiceDate in interface I_A_Asset
        Parameters:
        AssetServiceDate - Date when Asset was put into service
      • getAssetServiceDate

        public Timestamp getAssetServiceDate()
        Get In Service Date.
        Specified by:
        getAssetServiceDate in interface I_A_Asset
        Returns:
        Date when Asset was put into service
      • setC_Activity_ID

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

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

        public void setC_BPartner_ID​(int C_BPartner_ID)
        Set Business Partner.
        Specified by:
        setC_BPartner_ID in interface I_A_Asset
        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_A_Asset
        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_A_Asset
        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_A_Asset
        Returns:
        Identifies the (ship to) address for this Business Partner
      • setC_BPartnerSR_ID

        public void setC_BPartnerSR_ID​(int C_BPartnerSR_ID)
        Set BPartner (Agent).
        Specified by:
        setC_BPartnerSR_ID in interface I_A_Asset
        Parameters:
        C_BPartnerSR_ID - Business Partner (Agent or Sales Rep)
      • getC_BPartnerSR_ID

        public int getC_BPartnerSR_ID()
        Get BPartner (Agent).
        Specified by:
        getC_BPartnerSR_ID in interface I_A_Asset
        Returns:
        Business Partner (Agent or Sales Rep)
      • setC_Location_ID

        public void setC_Location_ID​(int C_Location_ID)
        Set Address.
        Specified by:
        setC_Location_ID in interface I_A_Asset
        Parameters:
        C_Location_ID - Location or Address
      • getC_Location_ID

        public int getC_Location_ID()
        Get Address.
        Specified by:
        getC_Location_ID in interface I_A_Asset
        Returns:
        Location or Address
      • setC_Project_ID

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

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

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

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

        public void setGuaranteeDate​(Timestamp GuaranteeDate)
        Set Guarantee Date.
        Specified by:
        setGuaranteeDate in interface I_A_Asset
        Parameters:
        GuaranteeDate - Date when guarantee expires
      • setHelp

        public void setHelp​(String Help)
        Set Comment/Help.
        Specified by:
        setHelp in interface I_A_Asset
        Parameters:
        Help - Comment or Hint
      • getHelp

        public String getHelp()
        Get Comment/Help.
        Specified by:
        getHelp in interface I_A_Asset
        Returns:
        Comment or Hint
      • setInventoryNo

        public void setInventoryNo​(String InventoryNo)
        Set Inventory No.
        Specified by:
        setInventoryNo in interface I_A_Asset
        Parameters:
        InventoryNo - Inventory No
      • setIsDepreciated

        public void setIsDepreciated​(boolean IsDepreciated)
        Set Depreciate.
        Specified by:
        setIsDepreciated in interface I_A_Asset
        Parameters:
        IsDepreciated - The asset will be depreciated
      • isDepreciated

        public boolean isDepreciated()
        Get Depreciate.
        Specified by:
        isDepreciated in interface I_A_Asset
        Returns:
        The asset will be depreciated
      • setIsDisposed

        public void setIsDisposed​(boolean IsDisposed)
        Set Disposed.
        Specified by:
        setIsDisposed in interface I_A_Asset
        Parameters:
        IsDisposed - The asset is disposed
      • isDisposed

        public boolean isDisposed()
        Get Disposed.
        Specified by:
        isDisposed in interface I_A_Asset
        Returns:
        The asset is disposed
      • setIsFullyDepreciated

        public void setIsFullyDepreciated​(boolean IsFullyDepreciated)
        Set Fully depreciated.
        Specified by:
        setIsFullyDepreciated in interface I_A_Asset
        Parameters:
        IsFullyDepreciated - The asset is fully depreciated
      • isFullyDepreciated

        public boolean isFullyDepreciated()
        Get Fully depreciated.
        Specified by:
        isFullyDepreciated in interface I_A_Asset
        Returns:
        The asset is fully depreciated
      • setIsInPosession

        public void setIsInPosession​(boolean IsInPosession)
        Set In Possession.
        Specified by:
        setIsInPosession in interface I_A_Asset
        Parameters:
        IsInPosession - The asset is in the possession of the organization
      • isInPosession

        public boolean isInPosession()
        Get In Possession.
        Specified by:
        isInPosession in interface I_A_Asset
        Returns:
        The asset is in the possession of the organization
      • setIsOwned

        public void setIsOwned​(boolean IsOwned)
        Set Owned.
        Specified by:
        setIsOwned in interface I_A_Asset
        Parameters:
        IsOwned - The asset is owned by the organization
      • isOwned

        public boolean isOwned()
        Get Owned.
        Specified by:
        isOwned in interface I_A_Asset
        Returns:
        The asset is owned by the organization
      • setLastMaintenanceDate

        public void setLastMaintenanceDate​(Timestamp LastMaintenanceDate)
        Set Last Maintenance.
        Specified by:
        setLastMaintenanceDate in interface I_A_Asset
        Parameters:
        LastMaintenanceDate - Last Maintenance Date
      • setLastMaintenanceNote

        public void setLastMaintenanceNote​(String LastMaintenanceNote)
        Set Last Note.
        Specified by:
        setLastMaintenanceNote in interface I_A_Asset
        Parameters:
        LastMaintenanceNote - Last Maintenance Note
      • setLastMaintenanceUnit

        public void setLastMaintenanceUnit​(int LastMaintenanceUnit)
        Set Last Unit.
        Specified by:
        setLastMaintenanceUnit in interface I_A_Asset
        Parameters:
        LastMaintenanceUnit - Last Maintenance Unit
      • getLastMaintenanceUnit

        public int getLastMaintenanceUnit()
        Get Last Unit.
        Specified by:
        getLastMaintenanceUnit in interface I_A_Asset
        Returns:
        Last Maintenance Unit
      • setLease_BPartner_ID

        public void setLease_BPartner_ID​(int Lease_BPartner_ID)
        Set Lessor.
        Specified by:
        setLease_BPartner_ID in interface I_A_Asset
        Parameters:
        Lease_BPartner_ID - The Business Partner who rents or leases
      • getLease_BPartner_ID

        public int getLease_BPartner_ID()
        Get Lessor.
        Specified by:
        getLease_BPartner_ID in interface I_A_Asset
        Returns:
        The Business Partner who rents or leases
      • setLeaseTerminationDate

        public void setLeaseTerminationDate​(Timestamp LeaseTerminationDate)
        Set Lease Termination.
        Specified by:
        setLeaseTerminationDate in interface I_A_Asset
        Parameters:
        LeaseTerminationDate - Lease Termination Date
      • setLifeUseUnits

        public void setLifeUseUnits​(int LifeUseUnits)
        Set Life use.
        Specified by:
        setLifeUseUnits in interface I_A_Asset
        Parameters:
        LifeUseUnits - Units of use until the asset is not usable anymore
      • getLifeUseUnits

        public int getLifeUseUnits()
        Get Life use.
        Specified by:
        getLifeUseUnits in interface I_A_Asset
        Returns:
        Units of use until the asset is not usable anymore
      • setLocationComment

        public void setLocationComment​(String LocationComment)
        Set Location comment.
        Specified by:
        setLocationComment in interface I_A_Asset
        Parameters:
        LocationComment - Additional comments or remarks concerning the location
      • getLocationComment

        public String getLocationComment()
        Get Location comment.
        Specified by:
        getLocationComment in interface I_A_Asset
        Returns:
        Additional comments or remarks concerning the location
      • setLot

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

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

        public void setManufacturedYear​(int ManufacturedYear)
        Set Manufactured Year.
        Specified by:
        setManufacturedYear in interface I_A_Asset
        Parameters:
        ManufacturedYear - Manufactured Year
      • getManufacturedYear

        public int getManufacturedYear()
        Get Manufactured Year.
        Specified by:
        getManufacturedYear in interface I_A_Asset
        Returns:
        Manufactured Year
      • setManufacturer

        public void setManufacturer​(String Manufacturer)
        Set Manufacturer.
        Specified by:
        setManufacturer in interface I_A_Asset
        Parameters:
        Manufacturer - Manufacturer of the Product
      • getManufacturer

        public String getManufacturer()
        Get Manufacturer.
        Specified by:
        getManufacturer in interface I_A_Asset
        Returns:
        Manufacturer of the Product
      • setM_AttributeSetInstance_ID

        public void setM_AttributeSetInstance_ID​(int M_AttributeSetInstance_ID)
        Set Attribute Set Instance.
        Specified by:
        setM_AttributeSetInstance_ID in interface I_A_Asset
        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_A_Asset
        Returns:
        Product Attribute Set Instance
      • setM_InOutLine_ID

        public void setM_InOutLine_ID​(int M_InOutLine_ID)
        Set Shipment/Receipt Line.
        Specified by:
        setM_InOutLine_ID in interface I_A_Asset
        Parameters:
        M_InOutLine_ID - Line on Shipment or Receipt document
      • getM_InOutLine_ID

        public int getM_InOutLine_ID()
        Get Shipment/Receipt Line.
        Specified by:
        getM_InOutLine_ID in interface I_A_Asset
        Returns:
        Line on Shipment or Receipt document
      • setM_Locator_ID

        public void setM_Locator_ID​(int M_Locator_ID)
        Set Locator.
        Specified by:
        setM_Locator_ID in interface I_A_Asset
        Parameters:
        M_Locator_ID - Warehouse Locator
      • getM_Locator_ID

        public int getM_Locator_ID()
        Get Locator.
        Specified by:
        getM_Locator_ID in interface I_A_Asset
        Returns:
        Warehouse Locator
      • setM_Product_ID

        public void setM_Product_ID​(int M_Product_ID)
        Set Product.
        Specified by:
        setM_Product_ID in interface I_A_Asset
        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_A_Asset
        Returns:
        Product, Service, Item
      • setName

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

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

        public void setNextMaintenenceDate​(Timestamp NextMaintenenceDate)
        Set Next Maintenence.
        Specified by:
        setNextMaintenenceDate in interface I_A_Asset
        Parameters:
        NextMaintenenceDate - Next Maintenence Date
      • setNextMaintenenceUnit

        public void setNextMaintenenceUnit​(int NextMaintenenceUnit)
        Set Next Unit.
        Specified by:
        setNextMaintenenceUnit in interface I_A_Asset
        Parameters:
        NextMaintenenceUnit - Next Maintenence Unit
      • getNextMaintenenceUnit

        public int getNextMaintenenceUnit()
        Get Next Unit.
        Specified by:
        getNextMaintenenceUnit in interface I_A_Asset
        Returns:
        Next Maintenence Unit
      • setProcessed

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

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

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

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

        public void setQty​(BigDecimal Qty)
        Set Quantity.
        Specified by:
        setQty in interface I_A_Asset
        Parameters:
        Qty - Quantity
      • setSerNo

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

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

        public void setUseLifeMonths​(int UseLifeMonths)
        Set Usable Life - Months.
        Specified by:
        setUseLifeMonths in interface I_A_Asset
        Parameters:
        UseLifeMonths - Months of the usable life of the asset
      • getUseLifeMonths

        public int getUseLifeMonths()
        Get Usable Life - Months.
        Specified by:
        getUseLifeMonths in interface I_A_Asset
        Returns:
        Months of the usable life of the asset
      • setUseLifeYears

        public void setUseLifeYears​(int UseLifeYears)
        Set Usable Life - Years.
        Specified by:
        setUseLifeYears in interface I_A_Asset
        Parameters:
        UseLifeYears - Years of the usable life of the asset
      • getUseLifeYears

        public int getUseLifeYears()
        Get Usable Life - Years.
        Specified by:
        getUseLifeYears in interface I_A_Asset
        Returns:
        Years of the usable life of the asset
      • setUseUnits

        public void setUseUnits​(int UseUnits)
        Set Use units.
        Specified by:
        setUseUnits in interface I_A_Asset
        Parameters:
        UseUnits - Currently used units of the assets
      • getUseUnits

        public int getUseUnits()
        Get Use units.
        Specified by:
        getUseUnits in interface I_A_Asset
        Returns:
        Currently used units of the assets
      • setValue

        public void setValue​(String Value)
        Set Search Key.
        Specified by:
        setValue in interface I_A_Asset
        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_A_Asset
        Returns:
        Search key for the record in the format required - must be unique
      • setVersionNo

        public void setVersionNo​(String VersionNo)
        Set Version No.
        Specified by:
        setVersionNo in interface I_A_Asset
        Parameters:
        VersionNo - Version Number
      • getVersionNo

        public String getVersionNo()
        Get Version No.
        Specified by:
        getVersionNo in interface I_A_Asset
        Returns:
        Version Number