Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Keep an eye out for upcoming NetSuite events, including meetups, workshops, and webinars. These sessions are a great way to connect with peers, learn from experts, and stay current on the latest NetSuite updates and best practices. Registration links are provided in each event.
SQL Query Joins not working
Hello,
We are trying to convert queries in our SuiteApps to work with NetSuite2.com but running into issues with some joins. For example, the following works
select itm.id, itm.itemid as item, itm.description as itmdesc, itm.weight , itm.custitem_abc_code, itm.upccode, itm.custitem_pe_eancode
, itm.countryofmanufacture as cntry_origin, itm.custitem_rohs_compliant
, itm.mpn, itm.custitem_msrp, itm.custitem_pe_mappricing, itm.itemtype, itm.custitem_buyer
, uom.abbreviation as purch_uom
, iven.vendorcode
from Item itm
left join unitsTypeUOM uom on uom.internalid = itm.purchaseunit
left join itemVendor iven on iven.item = itm.id and preferredvendor = 'Yes'
0