psdi.app.po

Class ShipmentLine

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


    public class ShipmentLine
    extends Mbo
    implements ShipmentLineRemote
    MBO to represent ShipmentLine. The Advanced Ship Notice transaction will be sent by the vendor when the goods are being shipped. This transaction will detail all of the shipping related information.

    See Purchase Order Package description.

    This is a site level object.

    The key attributes for this object are SiteId, ShipmentId and ShipmentLineId.

    The attributes in this object are as follows:

    Attribute Name Description
    BackOrderQty The Back Order Qty.
    BillOfLading Bill of lading details.
    CatalogCode Catalog Code of this item.
    Comments Comments on the shipped item.
    CountryOfOrigin Country of origin of the shipped item.
    Hazard Hazard of the shipped item.
    InvoicedQty Quantity of Invoice.
    ItemDescription Description of the shipped item.
    ItemNum The code for the item.
    OrderUnit Standard unit by which this item is ordered. An orderunit can be something like a dozen or box.
    OrgIdIdentifier of the organization for this shipment line.
    PackingCode Code of packing.
    PackingSlipNum The Packing Slip Number.
    POLineId The unique identifier for the POLine that is associated with this Shipment line.
    POLineNum The line number on the purchase order to which this Shipment Line is associated.
    PONum The Purchase Order Number to which this Shipment line is associated.
    RecTransId The MatRecTrans Id from the MatRecTrans that was created from this Shipment line.
    ShipmentId The foreign key of this table. Used to associate each Shipment line to a Shipment.
    ShipmentLineId Unique identifier of each Shipment line.
    ShipmentLineNum The line number of the Shipment line.
    ShippedQty Quantity that was shipped.
    SiteIdIdentifier of the site for this shipment line.
    TrackingIdTracking Id for the shipment line.
    Vendor Vendor that sent the Shipment.
    VendorLotNum Vendor's lot number of the item shipped.
    • Constructor Detail

      • ShipmentLine

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

      • init

        public void init()
                  throws MXException
        Description copied from class: Mbo
        Called by the framework when the Mbo has been constructed and the MboValues have been initialized. This can be overridden by the programmer to provide any custom initialization they would like to do.
        Overrides:
        init in class Mbo
        Throws:
        MXException
      • add

        public void add()
                 throws MXException,
                        java.rmi.RemoteException
        Add a new ShipmentLine Field defaults are set
        Specified by:
        add in interface MboRemote
        Overrides:
        add in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • appValidate

        public void appValidate()
                         throws MXException,
                                java.rmi.RemoteException
        Appvalidate for a new ShipmentLine Added for Transfers via shipment. PONUM and VENDOR fields are no longer required via the database, but need to be made required through the code for ASNs.
        Overrides:
        appValidate in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException