Set Primary supplier to the lowest cost

Jan 19, 2006 4 Replies

Has anyone worked our the SQL to set the primary supplier in Item table to the lowest cost from supplierlist? We now have a large number of items where the price fluctuates and it would be really useful to 'order from the primary supplier' knowing that it was the lowest cost.


When you create a PO select the order from lowest cost supplier option.

Mihir Diviasoft, Inc

732-791-2894 snipped-for-privacy@diviasoft.com
formatting link
Microsoft Business Solutions Certified Partner. Microsoft Retail Management System Microsoft Small Business Financials

David,

Unless I not following with you, you can't do what you are asking for. The PO is going to be generated by the primary supplier or the lowest cost supplier. They won't necessarily be the same. Think through the Boolean logic. It's just like creating a report filter. It must meet all of the criteria.

Assumptions; Generate for all items in the selected group. All items in group selection Order from Primary in Supplier selection

item 123 from abc (primary) @ 1.00, from xyz @ 1.00. PO for abc.

item 456 from sex @ 1.00, from toe (primary) @ 1.01. PO for toe

Assumptions; Generate for all items in the selected group. All items in group selection Order from low cost in Supplier selection

item 123 from abc (primary) @ 1.00, from xyz @ 1.00. PO for abc

item 456 from sex @ 1.00, from toe (primary) @ 1.01. PO for sex

Assumptions; Generate for all items in the selected group. Specified filter, selected departments, select categories will all return similar Order from Primary in Supplier selection

item 123 from abc (primary) @ 1.00, from xyz @ 1.00. PO for abc.

item 456 from sex @ 1.00, from toe (primary) @ 1.01. PO for toe

Assumptions; Generate for all items in the selected group. Only for selected suppliers in group selection Order from low cost in Supplier selection

item 123 from abc (primary) @ 1.00, from xyz @ 1.00. PO for abc If abc is a selected supplier in the group. else no PO

item 456 from sex @ 1.00, from toe (primary) @ 1.01. no PO If sex was in the selected group, but no PO because it wasn't the low cost vendor

***** what you are looking for ****

Assumptions; Generate for all items in the selected group. Only for selected primary suppliers in group selection Order from low cost in Supplier selection

item 123 from abc (primary) @ 1.00, from xyz @ 1.00. PO for abc It matched the first criteria if in the selected group and met the second as lowest cost supplier

item 456 from sex @ 1.00, from toe (primary) @ 1.01. no PO Toe matched the first criteria if in the selected group, but failed because it didn't meet the second as lowest cost

Hope this hasn't confused you more!

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required