Hi Amit, There is also a field in *SupplierProduct* entity named *supplierPrefOrderId* in which we can store this supplier is the main or alternative supplier of the product. Currently, this is not entertained in SupplierProductServices.getSuppliersForProduct() method. HTH.
-- Best Regards, *Suraj Khurana* | Sr. Enterprise Software Engineer *HotWax Commerce* by *HotWax Systems* Plot no. 80, Scheme no. 78, Vijay Nagar, Indore, M.P. India 452010 On Thu, Sep 28, 2017 at 10:42 AM, Amit Gadaley < [email protected]> wrote: > Hello Aditi, > > Is there any way to give priority to any supplier over other suppliers > regardless the last price, min order qty or any other parameters? > > On Mon, Sep 25, 2017 at 7:37 PM, Aditi Patidar < > [email protected]> wrote: > > > Hello James, > > > > The SupplierProductServices.getSuppliersForProduct() returns a list of > > SupplierProduct records in ascending order(lowest first) of lastPrice. > This > > method also filters out records on the basis of minimumOrderQuantity of > the > > product against the quantity ordered. > > > > I hope this answers your query. > > > > Thanks. > > Aditi Patidar > > > > On Thu, Sep 21, 2017 at 3:53 PM, Rishi Solanki <[email protected]> > > wrote: > > > > > James, > > > > > > Please check PriceServices.calculatePurchasePrice() and it calls the > > > SupplierProductServices.getSuppliersForProduct() service. As per > > > implementation it always use latest lastPrice from SupplierProuct. > > > > > > HTH! > > > > > > > > > > > > Rishi Solanki > > > Sr Manager, Enterprise Software Development > > > HotWax Systems Pvt. Ltd. > > > Direct: +91-9893287847 > > > http://www.hotwaxsystems.com > > > www.hotwax.co > > > > > > On Thu, Sep 21, 2017 at 3:26 PM, <[email protected]> wrote: > > > > > > > Does it always use the latest last price? > > > > > > > > -------- Original Message -------- > > > > Subject: Re: Where is the costs of Purchase Order Pulled From > > > > From: Akash Jain <[email protected]> > > > > Date: Wed, September 20, 2017 8:56 pm > > > > To: [email protected] > > > > > > > > Hello James, > > > > > > > > Please check lastPrice in SupplierProduct entity. > > > > > > > > Thanks and Regards > > > > -- > > > > Akash Jain > > > > www.hotwaxsystems.com > > > > www.hotwax.co > > > > > > > > On Thu, Sep 21, 2017 at 2:18 AM, <[email protected]> wrote: > > > > > > > > > Anyone know where do I find the costs that is used on a Purchase > > Order? > > > > > > > > > > Thanks, > > > > > > > > > > James > > > > > > > > > > -------- Original Message -------- > > > > > Subject: Vendor Credit Memo Missing in OFbiz > > > > > From: <[email protected]> > > > > > Date: Mon, September 18, 2017 6:31 am > > > > > To: [email protected] > > > > > > > > > > > > > > > Am I missing something or is there not a Vendor Credit memo in > > Ofbiz? I > > > > > see a Customer Credit Memo but not a Vendor? Experts please let me > > > > > know. > > > > > > > > > > Thanks, > > > > > > > > > > James > > > > > > > > > > > > > > > > > > -- > Thanks and Regards, > *Amit Gadaley <https://about.me/amit_gadaley>* | Senior Enterprise > Software > Engineer > HotWax Commerce <http://www.hotwax.co/> by HotWax Systems > <http://www.hotwaxsystems.com/> > Plot no. 80, Scheme no. 78 Part 2, Near Brilliant Convention Center, > Indore, > M.P., India - 452010 > Cell phone: +91 958.459.3069 > > <https://about.me/amit_gadaley?promo=email_sig> >
