SAP B1 - Query Generator Introduction Vid 1

  Рет қаралды 2,656

Gerry Reynolds

Gerry Reynolds

Күн бұрын

Пікірлер: 14
@brianminoff6760
@brianminoff6760 4 жыл бұрын
Hi Gerry. Are you available to hire for training me & my staff in SAP B1?
@deepakpoddar3097
@deepakpoddar3097 4 жыл бұрын
I'm from India
@K11M0RE1NN
@K11M0RE1NN 6 жыл бұрын
/* **************************************** Purchase Orders for this Year, with related GRNs and Purchase Invoice Created By G.Reynolds - 25 June 2018 ************************************** */ SELECT T0.[CardCode], T0.[DocNum] as [PO #] , case when T0.[CANCELED] = 'Y' then 'Cancelled' else NULL end as 'PO Cancelled?' , T1.[ItemCode], T1.[Quantity], T1.[OpenQty] as [O/s Qty] , CASE WHEN T1.[Quantity] 0 THEN (T1.[LineTotal] / T1.[Quantity] ) * ( T1.[OpenQty] ) ELSE 0 END AS [Open PO Value] , T3.[DocNum] as [GRN #] , T2.[Quantity] as [Qty Recd] , T2.[OpenCreQty] as [UnInvoiced Qty] , CASE WHEN T2.[Quantity] 0 THEN (T2.[LineTotal] / T2.[Quantity] ) * ( T2.[OpenCreQty] ) ELSE 0 END AS [UnInvoiced Value] , T5.[DocNum] as [Inv #] , T4.[Quantity] [Qty Invd] , T4.[LineTotal] as [Total Invoiced] FROM [OPOR] T0 INNER JOIN POR1 T1 ON T0.[DocEntry] = T1.[DocEntry] LEFT JOIN PDN1 T2 ON T2.BaseEntry = T1.DocEntry and T2.BaseLine = T1.LineNum and T2.[BaseType] = 22 LEFT JOIN OPDN T3 ON T2.[DocEntry] = T3.[DocEntry] LEFT JOIN PCH1 T4 ON T4.BaseEntry = T2.DocEntry and T4.BaseLine = T2.LineNum and T4.[BaseType] = 20 LEFT JOIN OPCH T5 ON T4.[DocEntry] = T5.[DocEntry] WHERE year( T0.[DocDate] ) = year(getdate()) --AND T0.[CANCELED] = 'N' ORDER BY T0.[DocNum], T1.[LineNum]
@deepakpoddar3097
@deepakpoddar3097 4 жыл бұрын
I want to ask u, how can I generate an item group report there particular whs stock in sap b1.
@K11M0RE1NN
@K11M0RE1NN 4 жыл бұрын
Hi Deepak, Please try below. Hope it helps. Best regards, Gerry SELECT T0.[ItemCode], T0.[ItemName], T0.[ItmsGrpCod], T1.[ItmsGrpNam], T2.[WhsCode], T3.[WhsName], T2.[OnHand], T2.[IsCommited], T2.[OnOrder] FROM OITM T0 INNER JOIN OITB T1 ON T0.ItmsGrpCod = T1.ItmsGrpCod INNER JOIN OITW T2 ON T0.[ItemCode] = T2.[ItemCode] INNER JOIN OWHS T3 ON T2.WhsCode = T3.WhsCode WHERE /******* the replace functions here are not all necessary, but I copied from a much bigger query ******/ replace ( replace ( ISNULL( T2.[WhsCode] , '') , '-' , '') , ' ' , '') like replace (replace( '%[%1]%' , '-' , ''), ' ' , '') AND replace ( replace ( ISNULL( T0.[ItemCode] , '') , '-' , '') , ' ' , '') like replace (replace( '%[%2]%' , '-' , ''), ' ' , '') AND replace ( replace ( ISNULL( T1.[ItmsGrpNam] , '') , '-' , '') , ' ' , '') like replace (replace( '%[%3]%' , '-' , ''), ' ' , '')
@deepakpoddar3097
@deepakpoddar3097 4 жыл бұрын
Thank u sir.
@deepakpoddar3097
@deepakpoddar3097 4 жыл бұрын
@@K11M0RE1NN I didn't think you would answer my question
@deepakpoddar3097
@deepakpoddar3097 4 жыл бұрын
@@K11M0RE1NN goodevning sir. I need ur help 9831244258 chat with me on whatsapp
@deepakpoddar3097
@deepakpoddar3097 4 жыл бұрын
@@K11M0RE1NN report generation of active item group wise with mrp (sale price) sap b1
@deepakpoddar3097
@deepakpoddar3097 4 жыл бұрын
Hello sir.
@K11M0RE1NN
@K11M0RE1NN 6 жыл бұрын
SELECT T0.[CardCode], Row_Number() OVER (ORDER BY T0.[CreateDate]) as [Row Number] , --T0.[CardName], CONVERT(VARCHAR(15), T0.[CreateDate] , 103) as [Date Created] , Max(T1.[DocDate]) as [Last Inv Date], T10.[Open Pos] FROM OCRD T0 LEFT JOIN OPCH T1 ON T0.[CardCode] = T1.[CardCode] LEFT JOIN (SELECT T0.[CardCode], count( T0.[DocNum]) as [Open Pos] FROM OPOR T0 WHERE T0.[DocStatus] = 'O' and T0.[CANCELED] = 'N' GROUP BY T0.[CardCode]) T10 on T0.CardCode = T10.CardCode WHERE T0.[CardType] = 'S' GROUP BY T0.[CardCode], T0.[CardName] ,T0.[CreateDate], T10.[Open Pos] ORDER BY Max(T1.[DocDate]) , T0.[CreateDate]
SAP B1 - Query Generator Introduction Vid 2
12:25
Gerry Reynolds
Рет қаралды 524
SAP Business One Query Generator
8:01
Tegrous Consulting
Рет қаралды 10 М.
Ouch.. 🤕
00:30
Celine & Michiel
Рет қаралды 24 МЛН
Slow motion boy #shorts by Tsuriki Show
00:14
Tsuriki Show
Рет қаралды 10 МЛН
ЧУТЬ НЕ УТОНУЛ #shorts
00:27
Паша Осадчий
Рет қаралды 10 МЛН
SAP Business One How To: Introduction to the Query Generator
7:24
NOBL Q (Previously LBSi)
Рет қаралды 5 М.
SAP Business One SQL Query Training SQL
37:36
Clients First Business Solutions
Рет қаралды 15 М.
GRPO Transaction in SAP Business One
22:13
ESA
Рет қаралды 6 М.
Why I Quit the Scrum Alliance
7:58
The Passionate Programmer
Рет қаралды 12 М.
SAP B1 Pick and Pack Process
8:58
Gerry Reynolds
Рет қаралды 6 М.
15 Minute Fundamentals for SAP Business One - Item Master Data
29:49
Richard Duffy Cloud ERP Evangelist
Рет қаралды 7 М.
SAP Business One Query Wizard Tutorial | Create Ad-hoc Reports in Minutes
13:06
ProjectLine Solutions
Рет қаралды 4,6 М.
SAP BUSINESS ONE - HOW TO CREATE UDT, UDF AND UDO_PART 1
38:26
SAP B1 TUTORIALS
Рет қаралды 29 М.
Ouch.. 🤕
00:30
Celine & Michiel
Рет қаралды 24 МЛН