Desktop version

Main > Forum > 1C:Enterprise Platform > 1C:Query language and DCS > How to get items without of prices?

Forum

Search UsersRules
How to get items without of prices?
#1
Active user
Points:: 0
Joined:: Sep 27, 2011

Hello!

I need to get items which have no prices to set prices or mark those items for deletion. How can I do so? Prices are in information register with dimension Item as reference to Items catalog.

Profile
#2
Active user
Points:: 0
Joined:: Nov 1, 2011

Code
SEL ECT
   Products.Ref
FR OM
   Catalog.Products AS Products
      LEFT JOIN InformationRegister.PriceList.SliceLast AS PriceListSliceLast
      ON (PriceListSliceLast.Product = Products.Ref)
WHERE
   PriceListSliceLast.Price IS NULL

Profile
#3
Active user
Points:: 0
Joined:: Sep 27, 2011

Thank you, that was so easy!

Profile
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)



© 1C LLC. All rights reserved
1C Company respects the privacy of our customers and visitors
to our Web-site.