psdi.app.rfq

Class QuotationLine

  • All Implemented Interfaces:
    java.rmi.Remote, PurchasingLineMboRemote, QuotationLineRemote, MboConstants, MboRemote, MaxRemoteProxy


    public class QuotationLine
    extends PurchasingLineMbo
    implements QuotationLineRemote
    MBO object to represent QuotationLine attrbiutes. A QuotationLine stores the quotations that are received from the vendors. This includes such data as item, quantity, unit cost, taxes, and other order type information.

    See RFQ Package description.

    This is a site level object.

    The key attributes for this object are SiteID, RFQNum, RFQLineNum, Vendor and QuotationLineID

    The attributes in this object are as follows:

    Attribute NameDescription
    CatalogCodeVendor's catalog code for the item.
    DeliveryDate, DeliveryTimeDelivery date; delivery lead time.
    DescriptionItem Description.
    EnterBy, EnterDateThe person who entered this quotation line; date and time when quotation line was entered.
    EOQEconomic order quantity.
    GLCreditAcctGL Credit Account.
    IsAwardedIs the quotation awarded?
    ItemNumItem number.
    LDKeyLong Description Key. This is a link to text stored in the LongDescription table.
    LineCostExtended or lump sum cost of this transaction line.
    LineCost2Base currency line cost 2.
    LineTypeThe type of quotation line. It could be ITEM, MATERIAL or SERVICE type.
    ManufacturerCompany that manufactured item.
    MemoNotes/Comments about quote. Could be from vendor or written by buyer.
    ModelNumVendor model number.
    OrderQtyOrder quantity.
    OrderUnitOrder unit.
    OrgIDIdentifier of the organization for this quotation line.
    QuotationLineIdInternal quotation line identifier.
    QuoteEndDateEnd date of period when quote is valid.
    QuoteStartDateStart date of period when quote is valid.
    RFQLineNumRFQ line item number.
    RFQNumRequest for Quotation (RFQ) Number.
    SelectedForDisplayQuotation line selected for display?
    SiteIDIdentifier of the site for this quotation line.
    Tax1....TaxNAmount of tax due on line item levied by Tax-N-Code column.
    TaxNCodeTax code used for calculation of TaxN column.
    UnitCostUnit cost.
    VendorVendor company.
    VendorPackCodeThe pack code of the product. It is the code of how the items will be packed. For example, BOX (12 to a box) or PALLET (30 to a pallet).
    VendorPackQuantityThe quantity of the pack code. For example, pack code is box, pack quantity is 12.
    VendorWareHouseVendor warehouse that the product will come from.
    • Constructor Detail

      • QuotationLine

        public QuotationLine(MboSet ms)
                      throws MXException,
                             java.rmi.RemoteException
        Constructs the QuotationLine object
        Throws:
        MXException
        java.rmi.RemoteException
    • Method Detail

      • init

        public void init()
                  throws MXException
        Initialization routine. The following fields are set to read only:

        • itemnum

        Overrides:
        init in class Mbo
        Throws:
        MXException
      • add

        public void add()
                 throws MXException,
                        java.rmi.RemoteException
        Adds a new QuotationLine. Required fields for the QuotationLine are initialized. The table below shows the default values for each of the attributes listed.

        Attribute NameAttribute Value
        enterbyCurrent User
        enterdateCurrent Date
        eoq0 (zero)
        isawardedFalse
        linetype ITEM
        quotationlineidNew Unique ID
        selectedfordisplayTrue

        Specified by:
        add in interface MboRemote
        Overrides:
        add in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • canDelete

        public void canDelete()
                       throws MXException,
                              java.rmi.RemoteException
        Sets the condition on which the QuotationLine can be deleted.
        • The QuotationLine can only be deleted if the status of the RFQ(to which this quotation line belongs) is SENT.
        • Cannot delete if the RFQ has any other status.
        • Cannot delete a QuotationLine if it has already been awarded to a vendor.

        Overrides:
        canDelete in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • createContractLine

        public void createContractLine(MboRemote newContract,
                                       MboRemote rfqLineRemote,
                                       MboRemote prLineRemote)
                                throws MXException,
                                       java.rmi.RemoteException
        Create ContractLine from this QuotationLine.
        Specified by:
        createContractLine in interface QuotationLineRemote
        Parameters:
        newContract - The newly created Contract from PO.
        rfqLineRemote - RFQ Line
        prLineRemote - PR Line
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        psdi.app.rfq.RFQVendor#createContractFromRFQ