-
Type: Customer Defect
-
Status: Done (View Workflow)
-
Priority: Major
-
Resolution: Done
-
Affects Version/s: CFA 2022R3
-
Fix Version/s: CFA 2022R5
-
Component/s: Reports
-
Labels:None
-
Root cause - Reason:Functionality new
-
Root Cause:new functionality
Based on the issue we found for some items where we see the amounts or the Quantities are out of their normal ranges ( For more information - Reference ticket # CFAMX-20671)
Can we get a SQL script that we can put in the server manager Query Mailer so we can get an alert email when the values go our of normal range.
I have been using the following query to detect these items.
Select A.ItemID,ItemCode,Description,Count(A.ItemID) as Count_oF_Records from tbTransactionStockAdjust A with (nolock) Join tbItem B with ( nolock ) ON A.ItemID = B.ItemID where (TransactionWasteID = 0 or TransactionWasteID is NULL) and ((StockAdjust_qty > 9999999 or StockAdjust_qty < -9999999) or (StockAdjust_amt > 9999999 or StockAdjust_amt < -9999999)) Group by A.ItemID,ItemCode,Description Order by 4 desc
- blocks
-
CFAMX-11540 Production Defects
- Open