|
Posted by Kris on March 3, 2006, 12:28 am
Please log in for more thread options Rob,
It worked perfectly. Thank you very much!
--
Kris
"Rob" wrote:
> Run this query, this will change all items to have the ReorderNumber equal to
> the ItemLookupCode, then run your other query, that will change all Matrix
> Items ReorderNumber back to Matrix ILC.
>
> UPDATE SupplierList
> SET SupplierList.ReorderNumber = Item.ItemLookupCode
> From SupplierList
> INNER JOIN Item ON SupplierList.ItemID = Item.ID
>
> Rob
>
> "Kris" wrote:
>
> > I'm using the following commands to fill the Reorder Number field on Matrix
> > Components with the ILC from the Matrix Parent and it works well...
> >
> > UPDATE SupplierList
> > SET SupplierList.ReorderNumber = ItemClass.ItemLookupCode
> > FROM SupplierList
> > INNER JOIN ItemClassComponent ON SupplierList.ItemID =
> > ItemClassComponent.ItemID
> > LEFT JOIN ItemClass ON ItemClassComponent.ItemClassID = ItemClass.ID
> >
> > This leaves the Reorder Number field blank for all of my Standard items.
> > What coding would I need to fill the Reorder Number field with the ILC for
my
> > Standard items?
> >
> > Thanks in advance!
> > --
> > Kris
|