Checking for existence of Debtor Class specific price  Topic is solved

Discussions relating to Jiwa 7 plugin development, and the Jiwa 7 API.

Checking for existence of Debtor Class specific price

Postby indikad » Fri Dec 04, 2015 10:07 am

Jiwa 7
will the existence of a record in the IN_DebtorClassificationSpecificPrice table confirm that there is a Debtor Class Specific price for a give InventoryId amd given DebtorClass Description ?
( such as - the following query I am using to see if any row exists - can I take if the query gives me a row then there is a debtor class specific price ?)

Code: Select all
  SELECT IN_DebtorClassificationSpecificPrice.InventoryId
           FROM IN_DebtorClassificationSpecificPrice INNER JOIN
           DB_Classification ON IN_DebtorClassificationSpecificPrice.DebtorClassificationID =
           DB_Classification.DebtorClassificationID
           WHERE  (DB_Classification.Description = 'something')
           And (IN_DebtorClassificationSpecificPrice.InventoryID = 'some id')

indikad
Frequent Contributor
Frequent Contributor
 
Posts: 182
Joined: Thu Jun 18, 2009 1:14 pm
Topics Solved: 2

Re: Checking for existence of Debtor Class specific price  Topic is solved

Postby Mike.Sheen » Fri Dec 04, 2015 1:49 pm

indikad wrote:can I take if the query gives me a row then there is a debtor class specific price ?...


Yes.
Mike Sheen
Chief Software Engineer
Jiwa Financials

If I do answer your question to your satisfaction, please mark it as the post solving the topic so others with the same issue can readily identify the solution
User avatar
Mike.Sheen
Overflow Error
Overflow Error
 
Posts: 2583
Joined: Tue Feb 12, 2008 11:12 am
Location: Perth, Republic of Western Australia
Topics Solved: 807


Return to Technical and or Programming

Who is online

Users browsing this forum: No registered users and 4 guests