Advertisement
| Hall of Fame |
|
[x]
Posted via EE Mobile
|
||
Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again. |
||
| Question |
|
[x]
Attachment Details
|
||
|
[x]
The Solution Rating System
|
||
With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.
Your Input Matters If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support. Thank you! |
||
1: 2: 3: 4: 5: 6: 7: 8: 9: |
SELECT DISTINCT B.[Serial Number], B.[Item Number], B.[F/W Ver], IIf([qryMaxOfConfigTable].[datMax]>[C].[datMax],[qryMaxOfConfigTable].[FieldValue],[B].[UID]) AS UID, "" AS HUB, "" AS A2sw, "" AS [Slf Test], "" AS Ntwrk, "" AS [P/F], "" AS Comments, "" AS [Final P/F] FROM (Invoice AS A INNER JOIN ([Invoice Lineitems] AS B INNER JOIN [SELECT [Invoice Lineitems].[Item Number], [Invoice Lineitems].[Serial Number], Max([Invoice Lineitems].[Ship Date]) AS datMax FROM [Invoice Lineitems] GROUP BY [Invoice Lineitems].[Item Number], [Invoice Lineitems].[Serial Number] ORDER BY [Invoice Lineitems].[Item Number], [Invoice Lineitems].[Serial Number]]. AS C ON (B.[Item Number] = C.[Item Number]) AND (B.[Serial Number] = C.[Serial Number])) ON A.[Invoice Number] = B.[Invoice Number]) LEFT JOIN qryMaxOfConfigTable ON C.[Serial Number] = qryMaxOfConfigTable.[Serial Number] WHERE (((B.[Serial Number]) Not In (SELECT [Inventory Serialized Items].[Serial Number] FROM [Invoice Lineitems] LEFT JOIN [Inventory Serialized Items] ON [Invoice Lineitems].[Item Number] = [Inventory Serialized Items].[Item Number] WHERE ((([Invoice Lineitems].[Serial Number])=[Inventory Serialized Items].[Serial Number])))) AND ((B.[Item Number]) In ([Forms]![frmTandI2]![txtItemNumber1],[Forms]![frmTandI2]![txtItemNumber2])) AND ((A.[Invoice Type])="I") AND ((A.[Issued to User]) Like [Forms]![frmTandI2]![txtIssuedToUserCriteria]) AND ((A.[Invoice Date])>=[C].[datMax])) ORDER BY B.[Item Number], B.[Serial Number]; |