psdi.app.item

Class InvVendorSet

    • Method Detail

      • defaultVendorFound

        public boolean defaultVendorFound(java.lang.String itemnum,
                                          MboRemote currentMbo)
                                   throws MXException,
                                          java.rmi.RemoteException
        Returns true if at least one of the records in the set is a default vendor, false if none of the records in the set is set to default vendor. Assumes that all all are in the same item set.
        Parameters:
        itemnum - only care about the invvendor records for the itemnum passed.
        when - checking the default vendor status from the set, bypass the mbo specified by the mboIndexToExclude.
        Throws:
        MXException
        java.rmi.RemoteException
      • defaultVendorFound

        public boolean defaultVendorFound(MboRemote currentMbo)
                                   throws MXException,
                                          java.rmi.RemoteException
        returns true if at least one of the records in the set is a default vendor, false if none of the record in the set is set to default vendor.
        Parameters:
        itemnum - only care about the invvendor records for the itemnum passed.
        mboIndexToExclude - when check default vendor, do not query the mbo specified by the mboIndextoExclude
        Throws:
        MXException
        java.rmi.RemoteException
      • countDefaultVendor

        public int countDefaultVendor(MboRemote currentMbo)
                               throws MXException,
                                      java.rmi.RemoteException
        Returns the number of records in the set that are marked as the default vendor
        Throws:
        MXException
        java.rmi.RemoteException