Quantcast
Viewing all articles
Browse latest Browse all 59474

Forum Post: Need a SQL Script created - Multi-Part Identifier not bound

I am trying to write a script that will update the value of the Safety Stock and Order Upto Quantity in the Item Resource Planning table.

I know the basics of what I want, however, I can not get the syntax figured out - I think  am close, but the error in SQL is Multi-part Identifier can not be bound keeps coming up.

set the value of IV00102.Field 1 = IV00102_Bup.Field 2

set the value of IV00102.Field 3 = IV00102_Bup.Field 4

Fields will get updated if -

IV00102.Locncode = 'blank'

IV00102_Bup.Locncode = 'EDM'

IV00102.itemnmbr = IV00102_bup.itemnmbr

IV00102_bup is a copy of the IV00102 table.

Each of the inventory items in the IV00102 table will have many line items, as there are many location codes, for each location code there is a complete line of data.

I am only interested in the values when the location code (locncode) in IV00102 is blank and the value in the IV00102_bup - for the same ITEMNMBR - is equal to "EDM"

I know, pretty simple for all you SQL brains, but, I am missing one small thing.

Help


Viewing all articles
Browse latest Browse all 59474

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>