SAP Business One: High Quantity on a Sales Order

By Mark Chinsky • February 11th, 2009

Use this query to check for high order quantities on a Sales Orders.

If you make an alert out of this query, then you can be notified when potential keying errors occur.

/* Shows all sales orders where the qty ordered is greater */
/* than or equal to the amount within the WHERE Clause below */
Select
DocNum as ‘Order#’
,itemcode as ‘Item#’
,dscription as ‘Description’
,Quantity
,Gtotal ‘Line Total’
,cardcode as ‘BP’
,cardname as ‘BP Name’

FROM rdr1 dtl
INNER JOIN ordr hdr on dtl.docentry = hdr.docentry

WHERE
Linestatus = ‘O’
and Quantity>=100

Order By DocNum, LineNum
FOR BROWSE

Thanks to Ed Monk of SBONotes.com

© 2009, Mark Chinsky. All rights reserved. Formed in 2005. the 90 Minds Consulting Group is a collaboration of 100 Sage partners who independently join together online in a 24 x 7 private communication network to solve difficult issues for their customers. The group is not affiliated with Sage and our collaboration provides for unparalleled member access to early warnings of bugs and other issues which members in turn are encouraged to use to provide an exceptional customer experience.

Mark is a partner at Clients First Business Solutions, LLC. He is based out of the NY/NJ office. Mark has been in ERP sales and service for more than 20 years and at least 15 with Sage
Mark Chinsky
View all posts by Mark Chinsky
Mark's website
Share
 

Leave a Comment

You must be logged in to post a comment.

« | Home | »