STOCK query for audit
Hi people
I have a query regarding the stock
im from garment industry
i have a fabric store location 0001
cutting location 0002
stiching loc 0004
finishing loc 0006
ware house loc 0010
i have a sales order of order qty 1000
production orders for cutting, stiching finishing were made for 1000 pcs in system
cutting material was consumed by stiching material by 261e movment type
stiching material was consumed by finishing material by 261e movment type
Used T-code
coois
co11n
mb31 -101 movment type
Mb1b - transfer posting 311e
now the scene is
physically we made only 900 pcs and in system the stock is showing 1000 pcs
how can i compensate the difference of 100 pcs?
someone suggested me do the reverse bu mb31 using 102 movment type for 100 pcs
but will that not show increase in WIP stock?
will not it effect the accounting entries
some one told me use the movment type for scrapping
buti need to clear the stockin many sales order
please advise wht should be done
Hi dear,
As you said you have 900 PCs physically and in system 1000 PCs are confirmed this is contradiction.You have to reverse the 100 PCs so that physical quantity and confirmed quantity in the system will be same even though reversal will hit the accouting entries.Wont you asked by auditor for the difference seen in physical quantity and confirmed quantity in COOIS? How would you justify the variace of 100 PCs?
Similar Messages
-
Hi GUYS
I am working for a Garment Industry and the audit is in next month end.
I need your advice in how to catch up with the things related to Stock for Audit.
We have 3-4 locations in System
Like
FABRIC STORE
CUTTING STORE
STICHING STORE
FINISHING STORE
FINISHED GOOD STORE(from there the material gets dispached EXPORT/LOCAL)
I need to maintain the STOCK from Cutting to Finishing , Stock at Sub Contractor, How much dispached and how much left, rejected etc
Please Advice how to do the things.
I know its all related to MB51 MB52, MBLB, ME2L, MC.9, MB5B ETC
But i am Confused from where to start and how to proceed.
I dont even know from which report the auditor will get the details and ask us
SHD i take the Physical report ie Work in progress report in my hand first or shd i take the SAP Reports first
I am looking after the following things
SUB COntracting PO
STO
GRN(Fabric, CUT PART , ACCESSORIES ETC)
Out Bound Dillivery
PI
CI
EI
Work Related to PP Making production orders etc
Need a procedure to maintain the stuff in SAP
Thanks & REGards
AbhishekDear Abhishek,
It all depends on how efficiently your company Uses SAP, If company has properly entered all the transactions that take place on a day to day basis in SAP, then there is nothing which can't be answered to the Auditor, its all Integrated and you can see all the stock movements that have happend, If required you can go for a Physical Inventory Count Also so that these is no discrepancy in the system stock and Physical Stock.
Rest for any material if any question comes up then you can readily use MB5B which will give the material movements in a specified period along with Opening and Closing Stock. The basic questions which Auditors Put up is on the movement of Stock and sometimes the reason for the movement, so if everything is maintained properly in SAP you will have no issues in getting any data. -
Query for Inventory Audit Report
hi experts,
I would like to create a inventory report using Crystal Reports 2008 which looks exactly the same as Inventory Audit Report in SAP Business One 2007A
Report requirement:
List down all the items with its Item Code, Description, Quantity and Item Cost (easy right?)
The only condition:
I would like to filter my report by FromDate and ToDate.
For example:
Current date 15.07.2009
If I run the report by putting in 01.01.2009 to 31.01.2009, the result will show me:
item, with its respective info and most importantly the Quantity and Item Cost as at 31.01.2009 (similar to closing stock)
Any query for above report?
Please help.
Thank you.Hi,
It may not be so simple as you are trying to reproduce the historical value. I believe you have to create a temporary table first. Or you may use Command feather to get the required data in advance.
Thanks,
Gordon -
Re:Query for Stock Statement for a particular item..!!!!
Dear SAP Experts,
I need a stock statement query for a particular item which contains:
1.ItemCode
2.Item Description
3.Item Price
4.Opening
5.Receipts
6.Issues
7.Closing
8. Value
The selection criteria are:
1.Warehouse code
2.Item Name
3.Posting Date
Plz give me a good solution for this issue.
With Regards,
RevathyCheck this
Declare @FromDate Datetime
Declare @ToDate Datetime
set @FromDate =
(Select min(S0.Docdate) from OINM S0 where S0.Docdate >='[%0]')
set @ToDate =
(Select max(S1.Docdate) from OINM S1 where S1.Docdate <='[%1]')
select * from
SELECT T0.itemcode,
min(T0.Dscription) as 'Item Description',
min(B1.ItmsGrpNam) as 'Item Group', W1.Whscode, C1.Location,
(isnull((
Select sum(isnull(inqty,0))
from OINM O1
where O1.itemcode=T1.itemcode
and O1.Warehouse=W1.Whscode
and O1.docdate<@FromDate ),0)-
isnull((
Select sum(isnull(outqty,0))
from OINM O1
where O1.itemcode=T1.itemcode
and O1.Warehouse=W1.Whscode
and O1.docdate<@FromDate),0)
) as [Opening Stock],
isnull((
Select sum(isnull(inqty,0))
from OINM O1
where O1.itemcode=T1.itemcode
and O1.Warehouse=W1.Whscode
and O1.docdate>=@FromDate
and O1.docdate<=@ToDate and O1.inqty>0
and O1.transtype in (20,18)),0
) as [Purchase Quantity],
isnull((
Select sum(isnull(outqty,0))
from OINM O1
where O1.itemcode=T1.itemcode and O1.Warehouse=W1.Whscode
and O1.docdate>=@FromDate and O1.docdate<=@ToDate
and O1.outqty>0 and O1.transtype in (21,19)),0
) as [Purchase Return Quantity],
isnull((
Select sum(isnull(outqty,0))
from OINM O1
where O1.itemcode=T1.itemcode and O1.Warehouse=W1.Whscode
and O1.docdate>=@FromDate and O1.docdate<=@ToDate and O1.outqty>0
and O1.transtype in (13,15)),0
) as [sale Quatity],
(isnull
Select sum(isnull(inqty,0))
from OINM O1
where O1.itemcode=T1.itemcode and O1.Warehouse=W1.Whscode
and O1.docdate<=@ToDate),0
isnull((
Select sum(isnull(outqty,0))
from OINM O1
where O1.itemcode=T1.itemcode and O1.Warehouse=W1.Whscode
and O1.docdate<=@ToDate),0)
) as [Closing Stock]
FROM OINM T0
INNER JOIN OITM T1 ON T0.ItemCode = T1.ItemCode
INNER JOIN OITW T2 ON T1.ItemCode = T2.ItemCode
INNER JOIN OITB B1 ON T1.ItmsGrpCod=B1.ItmsGrpCod
INNER JOIN OWHS W1 ON T2.WhsCode = W1.WhsCode
INNER JOIN OLCT C1 ON W1.Location=C1.Code
Group by T1.itemcode, T0.Itemcode, W1.WhsCode, C1.Location
) a
where (a.[Opening Stock]
+a.[Purchase Quantity]
+ a.[Purchase Return Quantity]
+a.[sale Quatity]+a.[Closing Stock]
) !=0
Regards,
Bala -
Query for Price difference account when item is not sold but not on stock
Hi Experts!
One of my clients accountant requires a report which will help for what to do with the balance of the price difference account.
At the and of the year there are some postings on this account, but not every item that hadnt been on stock when A/P Invoice arrived were sold. Some item were waistrel and put into a waistrel warehouse, but not sold.Some item were sent back to the supplier, but not sold.
Is it possibble to make a query for knowing where to post the balance of the price difference account? Not all should be post to the Cost of goods sold.
Thank you in advance!Hi,
The query is possible. However, it is a complicated one. It is also need to involve detailed analysis to your transaction histories. You may start from OINM table to check.
Thanks,
Gordon -
I would like to know if it is possible to create a query that would display the stocks of all items on a specific date and will display the item cost or the purchase price of each item in stock. Let say for example, today is January 14, 2010. I would like to check how many stocks in my inventory last January 8, 2010. Does anybody knows how to create this?
Thank you.Hi Don Elicor,
Check the below thread, you will be get some idea or Solution.
Inventory Report by Query
Query for Inventory Activity for whse & dates
Item Stock Report
Item Stock Report
Regards,
Madhan. -
Query for Closing Stock goes beyond a particular value.
Hi,
The query for the following requirement:
The Closing Stock goes beyond a particular value. The Closing Value of items crosses the pre-defined value.Hi,
Yes it is related to the user selected date and stock level. Not answered Closing the thread.
Edited by: Neela M B on Aug 28, 2010 3:08 PM -
Query for Opening Stock + Purchase Qty + Sales Qty
Hi ,
Can anyboday help me by how to develop a query for the following requirement. If any custom query is available please provide me .We are working on SBO 2007B PL 8. The required report structure is
ItemNo ***OpeningStock**** Purchase ********* Sales****
(Batchwise)** Qty*** Value ****Qty** Value ***Qty***Value
Thanks & Regards
SriniHi Srini,
I found this on the forum, see if it helps you;
select b.Itemcode,b.Item_Description,b.UOM, b.rate as Rate,b.Opening_Stock,b.Receipt,b.Issue, b.Material_Revalue,b.Closing_Stock,b.Closing_Value from (select *,(case closing_stock when 0 then 0 else(Closing_Value/Closing_Stock)end) as Rate from( SELECT T0.Itemcode as 'Itemcode' ,min(T0.Dscription) as 'Item_Description', max(T1.InvntryUom) as UOM, (isnull((Select sum(isnull(inqty,0)) from OINM O1 where O1.itemcode=T1.itemcode and O1.docdate<'[%0]' and O1.transtype in (58,59,20,16,67,-2)),0) - isnull((Select sum(isnull(outqty,0)) from OINM O1 where O1.itemcode=T1.itemcode and O1.docdate<'[%0]' and O1.transtype in (58,21,19,60,15,67,-2,13)),0)+ (isnull((Select sum(isnull(inqty,0)) from OINM O1 where O1.itemcode=T1.itemcode and O1.docdate>='[%0]' and O1.docdate<='[%1]' and O1.transtype in (-2)),0) - isnull((Select sum(isnull(outqty,0)) from OINM O1 where O1.itemcode=T1.itemcode and O1.docdate>='[%0]' and O1.docdate<='[%1]' and O1.transtype in (-2)),0)))as Opening_Stock, (isnull((Select sum(isnull(inqty,0)) from OINM O1 where O1.itemcode=T1.itemcode and O1.docdate>='[%0]' and O1.docdate<='[%1]' and O1.inqty>0 and O1.transtype in (20,18)),0) + isnull((Select sum(isnull(inqty,0)) from OINM O1 where O1.itemcode=T1.itemcode and O1.docdate>='[%0]' and O1.docdate<='[%1]' and O1.inqty>0 and O1.transtype in (67)),0) + isnull((Select sum(isnull(inqty,0)) from OINM O1 where O1.itemcode=T1.itemcode and O1.docdate>='[%0]' and O1.docdate<='[%1]' and O1.inqty>0 and O1.transtype in (58,59,16,14)),0)) as Receipt, (isnull((Select sum(isnull(outqty,0)) from OINM O1 where O1.itemcode=T1.itemcode and O1.docdate>='[%0]' and O1.docdate<='[%1]' and O1.outqty>0 and O1.transtype in (13,15)),0) + isnull((Select sum(isnull(outqty,0)) from OINM O1 where O1.itemcode=T1.itemcode and O1.docdate>='[%0]' and O1.docdate<='[%1]' and O1.outqty>0 and O1.transtype in (67)),0)+ isnull((Select sum(isnull(outqty,0)) from OINM O1 where O1.itemcode=T1.itemcode and O1.docdate>='[%0]' and O1.docdate<='[%1]' and O1.outqty>0 and O1.transtype in (58,60,21,19)),0)) as Issue, isnull((select sum(Transvalue) from OINM O1 where O1.itemcode=T1.itemcode and O1.docdate<='[%1]' and O1.transtype in (162)),0) as Material_Revalue, (isnull((Select sum(isnull(inqty,0)) from OINM O1 where O1.itemcode=T1.itemcode and O1.docdate<='[%1]' and O1.transtype in (58,59,20,16,14,19,67,-2)),0) - isnull((Select sum(isnull(outqty,0)) from OINM O1 where O1.itemcode=T1.itemcode and O1.docdate<='[%1]' and O1.transtype in (58,21,19,60,15,67,-2,13)),0))as Closing_Stock, isnull((select sum(Transvalue) from OINM O1 where O1.itemcode=T1.itemcode and O1.docdate<='[%1]' and O1.transtype in (58,18,-2,67,59,20,16,14,15,13,21,19,60,69,162)),0) as Closing_Value FROM OINM T0 INNER JOIN OITM T1 ON T0.ItemCode = T1.ItemCode INNER JOIN OITW T2 ON T1.ItemCode = T2.ItemCode INNER JOIN OITB B1 ON T1.ItmsGrpCod=B1.ItmsGrpCod where ((B1.ItmsGrpNam>='[%2]' and B1.ItmsGrpNam<='[%3]') or ('[%2]'='' and '[%3]'='')) GROUP BY T1.itemcode,T0.Itemcode )a Where (a.Opening_Stock + a.Receipt + a.Issue + a.Material_Revalue + a.Closing_Stock + a.Closing_Value) <> 0 )b
Thanks,
Joseph -
Hi Members,
We Want a report for closing stock according to the following parameters,
1-Date from
2-Date to
3-Warehouse
4-Document Series
Query Report should contain with,
Item Code - Item Description - Inventory UOM - Quantity - Item cost(FIFO Value) - Value
(Inventory Audit Report can not use with document Series)
Thank You
SamanHi Rahul,
thank you for reply. You are correct. but in our company we use only 10 document series. under this 10 series all type of
documents are available . so when we select a one series it is containing all of SAP B1 document type.
Example-
Series A- (Delivery , GRN, Return, A/P invoice,A/R Invoice, Payment .....ect)
Series B- (Delivery , GRN, Return, A/P invoice,A/R Invoice, Payment .....ect)
Series C- (Delivery , GRN, Return, A/P invoice,A/R Invoice, Paymet .....ect)
So Results of this Query will be a meaning full One.
Can You Suggest a Query for my requirement. I Hope Your Idea.
Saman -
Daily Stock Report for a trading industry
Hi,
I want a daily stock report for a trading industry. In this i want date wise opening stock, closing stock, outward quantity and inward quantity. How to get it?
Thanks,
NiranjanHi,
This is not easy as you think you have to develop this report by using SQL Query / Crystal report...
Regards
Chidambaram -
Opening +Receipts-isseue =Closing Stock Query
Dear Experts,
I need a query with condition from to date for stock movement.
Following Column I required in Query
Item code, Item description, Opening +Receipts-issue =Closing Stock Query
Thanks in Advance.
Regards
MANGESH PAGDAHRE.
Edited by: MANGESH PAGDHARE on Dec 2, 2011 11:04 AMHi
Here is the query
Declare @FromDate Datetime
Declare @ToDate Datetime
Declare @Whse nvarchar(10)
select @FromDate = min(S0.Docdate) from dbo.OINM S0 where S0.Docdate >='[%0]'
select @ToDate = max(S1.Docdate) from dbo.OINM s1 where S1.Docdate <='[%1]'
select @Whse = Max(s2.Warehouse) from dbo.OINM S2 Where S2.Warehouse = '[%2]'
Select @Whse as 'Warehouse', a.Itemcode, max(a.Dscription) as ItemName,
sum(a.OpeningBalance) as OpeningBalance, sum(a.INq) as 'IN', sum(a.OUT) as OUT,
((sum(a.OpeningBalance) + sum(a.INq)) - Sum(a.OUT)) as Closing ,
(Select i.InvntryUom from OITM i where i.ItemCode=a.Itemcode) as UOM
from( Select N1.Warehouse, N1.Itemcode, N1.Dscription, (sum(N1.inqty)-sum(n1.outqty))
as OpeningBalance, 0 as INq, 0 as OUT From dbo.OINM N1
Where N1.DocDate < @FromDate and N1.Warehouse = @Whse Group By N1.Warehouse,N1.ItemCode,
N1.Dscription Union All select N1.Warehouse, N1.Itemcode, N1.Dscription, 0 as OpeningBalance,
sum(N1.inqty) , 0 as OUT From dbo.OINM N1 Where N1.DocDate >= @FromDate and N1.DocDate <= @ToDate
and N1.Inqty >0 and N1.Warehouse = @Whse Group By N1.Warehouse,N1.ItemCode,N1.Dscription
Union All select N1.Warehouse, N1.Itemcode, N1.Dscription, 0 as OpeningBalance, 0 , sum(N1.outqty) as OUT
From dbo.OINM N1 Where N1.DocDate >= @FromDate and N1.DocDate <=@ToDate and N1.OutQty > 0
and N1.Warehouse = @Whse Group By N1.Warehouse,N1.ItemCode,N1.Dscription) a, dbo.OITM I1
where a.ItemCode=I1.ItemCode
Group By a.Itemcode Having sum(a.OpeningBalance) + sum(a.INq) + sum(a.OUT) > 0 Order By a.Itemcode
Regards,
Sudhir B. -
Plant Stock details for a given date
At present we are using MB52 for latest stock position of a plant. Is there any code for getting stock details for earlier date.
As we are facing lot of problems while audits....Hi
Please check the following link
Re: No stock showing in Inventory on date stock report
Cheers
Chandra -
How to find Blocked Stock Value for a Material Division
Hi Every Body,
I have gone through the notes 589024,637927 to find out Blocked Stock value for a Particular Material at different plants . But I have to get Blocked Stock value at each Material Division . Kindly give some light on it to get it.
The steps are same for finding the Consignment stock value and Transit Stock value. So kindly help me if any body has already worked on it.
With rgds,
Anil Kumar Sharma .PHi Anil,
well these notes work but they're prerequisites that have bothered me and unabled me to fulfill our requirement, for instance, having the material number in the drilldown and so on in order to perform the calculation during query execution.
I believe there is not much more alternative if you still want to calculate valuations accurately at SLOC or any other stock indicator during query execution...
I started from the basic fact that valuation of material underneath the plant/valuation area (in my case 1 PLANT = 1 VALAREA).; precisely because all movements doens't carry all information as per the note explanation.
So what we have done is to pull a cube with all Article/Sites MAP values; this can be done in several ways; MBEW/MBEWH are holding MAP values per fiscal periods; it has sufficient for us until now: our operations are asking to track MAP values more frequently.... So I am investigating how to work this out and have several alternatives:
- MSEG has additional fields (available in the extract structures) like Total Stock Qty/Value PRIOR the posting. There is as well an indicator telling if the posting is relevant for the valuation (if it is going to affect the Qty/MAP or not). So it is possible to get the MAP after the posting for each material movement.
- Create a change pointer on MBEW/MBEWH.
- MKPF has two convenient fields (CPUDATE and CPUTIM) from which we could build our own delta extractor tracking MAP changes
In BW the Idea is to have a cube registering the Article/Plant valuation in time (non-cumulative) and then fulfill our queries via a multicube...
hoping this will help you in solving your issue; I am of course following any topic in this matter so would appreciate your input....
Olivier. -
Hi all,
i am searching for an queryby using MS Access.I have a table called stock.
Stock Table:
stock_id comp_id prod_id item_id Quantity module
1 100 200 300 10 P
2 101 200 300 20 P
3 100 200 300 5 S
4 101 200 300 4 S
From this table I want to group by comp_id,prod_id and item_id by (sum(quantity) whose module='P' -
sum(quantity) whose module='S'). the result what I am expecting is given below:
comp_id prod_id item_id Quantity
100 200 300 5
101 200 300 16
So please go through and send me the single query for MS-Access.
Edited by: IRALALVIPIN on Oct 4, 2009 10:39 PMSo please find an SQL or MS Access forum and maybe they will do your work for you. This, however, has nothing to do with Java and we wouldn't do your work for you, anyway.
-
In help.sap.con the description of the Blocked stock query includes:
"The vendor consignment stock and the returnable transport packaging are non-valuated; therefore there are no associated stock value key figures for these quantity key figures."
What does this mean? ThanksThis means that it doesn't make sense to have a value for a stock that...is not yours !!!
Consignement stocks and returnable transport packaging are not on your property, so, you can monitor them only about qty, but not about their values...
Hope now is clearer...
Bye,
Roberto
Maybe you are looking for
-
Recent update of Firefox now it won't open or start!
Hi, When firefox opened, it updated automatically so I'm not sure what version I have now but after update, it won't open or start again. There's no error message or anything. Just won't open! I download and reinstalled firefox 3.6 over it but it sti
-
My first post so please forgive any etiquette faux-pas. I have the above and have 2.4Ghz and 5Ghz as separate SSID. Connectivty to internet is flaky; so a device can see the SSID and connect but provides no internet access yet switching to the other
-
Hi Experts, Am i right to say that when a new Purchase order is created, there can be no change log? Am i right to say that not any field change in purchase order will result in change log? best regards Pascal
-
Sub Dividing BIG Library into Small Ones..Scared to erase.
I have a single 3tb Library after updating to 10.1 Im trying to now sort into smaller libraries.... Iv created new ones and MOVED Events and Projects into these libraries. ( I TICKED ON ... Move Proxy and Optimized data.) Its still saying that the o
-
How to remove Duplicate Folders in Finder
Anyone know how to remove / delete duplicated shared folders in Finder?