Sage 2014 I had help with a different script before, but that just checked if there was any customer pricing for an item. Now I need to find out if there is Item pricing with a specific Price Level "B" I need PriceCodeRecord = 1, PriceCode="". I can get the ItemCode and I am looking for Price Level B and the Customer DIV/Number should be blank. How do I change the GetResultsSets below? I tried just changing KCUSTOMER TO KITEM and making the Div and Cust null, but that did not work. I did try to google GetResultSets, but I did not find anything to help me. The code below worked for find a specific customers pricing. results = oPrice.GetResultSets("ItemCode$", "ItemCode$", results, "", "", cDiv & cCust & cItem, cDiv & cCust & cItem & CHR(254), "KCUSTOMER") Thank you in Advance.
↧