Returns & FIFO layers
Hello all,
What is the proper procedure to process a return from a customer to ensure that FIFO layers are correct?
2005A SP01 PL31
Thanks in advance,
Phyllis
The FIFO layers are corrupted in our database and we are waiting to get SAP to fix them. In the meantime I have noticed the following:
If I do a return of a product at the Sales Price (1395.00 in this case) it puts that in my fifo cost layer.
If I do a return from a customer at the u201CCostu201D base (1210.00 in this case) it will not allow me to go higher on the Credit Memo.
If I do a return at the cost (1210.00) and close it, I get the cost into my FIFO layer. However, if I try to go back and do a Credit Memo in absence of the Return it adds the item to the FIFO layer and Stock Counts again.
Similar Messages
-
Possible to determine which FIFO layers used on an Invoice
Hi,
Is it possible to determine which FIFO layers were used when satisfying an invoice?
Thanks
GreigThe information regarding the FIFO cost price exists in the OINM
(Warehouse Journal) table under the fields Calculated Price and
Open Quantity.
check this if it helps :
SELECT T0.ItemCode FROM OINM T0 INNER JOIN OITM T1 ON T0.ItemCode = T1.ItemCode WHERE T0.CalcPrice = '0' and T1.EvalSystem ='F'
Regards, -
DTW - importing beginning FIFO layers.
Does anyone know how to import beginning FIFO layers in B1? I don't see the functionality in the Initial Quantity Screen or the Goods Receipt screen. Thanks for your help.
Hi Gordon - we need to bring the current FIFO layers from our client's legacy system into SAP to get the correct inventory valuation, and ultimately the correct COGS when the inventory is sold. The only way I can think of doing this right now is by creating a multiple Goods Receipts for each item. There would be a seperate Goods Receipt for each FIFO layer for that part - each layer would have a different quantity and cost. I was hoping there was something a little less complicated.
-
Hi everybody. Is it possibole to link batch numbers to pecific fifo layers?
ThanksDear Germán Gorosito,
By my understanding it is no possible to link batch numbers to pecific fifo layers.
Best Regards
Jane Jing
SAP Business One Forums team -
Review FIFO layers for an Item
In 2007, you can see the open fifo layers and their item costs in the stock revaluation screen.
However is it possible to review the previous fifo layers and their item costs for an item.Check the table OINM. There you can find all the inventory movements.
Regards,
Bharath S -
Anyone know which table(s) holds my FIFO layer costs? I had many items populate SAP via a wms cycle count upload and I need to make sure they all have a cost assigned.
Thanks Gordon. The OINM seems to hold costs associated with any transactions at the time the transaction was conducted. But since then I have processed numerous cost revaluations. So I need to find the table that will show me any FIFO layers for an item that have cost of only $1. $1 is the cost our wms assigned to items if no cost exists in SAP.
-
FIFO layers detail requirement
Hi Team,
I am facing problem for the development of costing of the fininshed
goods whihc we are manfucturing in warehouse through production module .
For my result purpose i need to know the detail of raw material whihc
actually consumed and from whihc layers based on the FIFO concept.
i am reffering to oinm table (warehouse journal) in whihc all the
detial of the material flow is present but information related to
layers from whihc the items are consumed actually ,
this information is missing in oinm due to whihc my link
development is not proper and i am
facing problem to track the actual consumption FIFO wise.
so kindly provide me the infromation how to get the data of layers
for eg. the layer information should be like
GRPO 20(doc No OF GRPO) and 3(line no of GRPO 20)
so that technical developer can easily identify the layer of the rawmaterial from oinm table for the consumed item.
i am at live stage and customer requiremeent is
suffering very much due to this missing information in oinm system
table.
amitHi Amit
The system uses a "Lot" to control the FIFO layers, although this is not physically represented by a separate table or structure. In the OINM table you will find a field called OpenQty which will indicate which FIFO layers (or costs) have not yet been consumed or sold either partially or in full. SAP Business One checks for OpenQty by date and consumes from the oldest "Lot" first. Writing a query or getting the "Lot" information could be tricky but I would suggest using the DocDate & DocTime with the OpenQty to determine what is still available and what production would consume.
Kind regards
Peter Juby -
How do I get a list of the open layers for a FIFO item in the order that they will be depleted from inventory?
Thx RichardHi,
You can check the following query and customise according to your requirement :
SELECT T0.[TransNum], T0.[TransType], T0.[BASE_REF], T0.[ItemCode], T0.[InQty], T0.[OutQty], T0.[Price], T0.[Currency], T0.[OpenQty], T0.[Instance], T0.[LastInst], T0.[TransValue], T0.[CalcPrice] FROM OINM T0 WHERE T0.[ItemCode] =[%1]
Kind regards,
Jitin
SAP Business One Forum Team -
Query for a list of FIFO layers with quantity and FIFO cost
Hi,
Is there a report/ query where I could get something as follows:
ItemCode1 - Open FIFO Layer1 - Quantity 1 - Open FIFO Layer1 Cost - Open FIFO Layer1 Inventory Value
ItemCode1 - Open FIFO Layer2 - Quantity 2 - Open FIFO Layer2 Cost - Open FIFO Layer2 Inventory Value
ItemCode1 - Open FIFO Layer3 - Quantity 3 - Open FIFO Layer3 Cost - Open FIFO Layer3 Inventory Value
The total quantity and the total value of this would match the total quantity and total value of the Inventory Audit Report.
I know OINM table has all detailed transactions, but I find it difficult to get what I want from OINM.
Thanks,
Ajay AudichHi Ajay.....
Please do refer Inventory Valuation Simulation Report for FIFO Method. It gives you the details as you required........
Regards,
Rahul -
FIFO - Goods Issue to Purchase relation
Hello Experts,
My client maintains the Inventory in FIFO model.
They wants to know the corresponding purchase (GR PO/Invoice) of the Item issued (delivery/transfer) from a wharehouse. From whare I can generate this info? If any one is having a query to generate this info please share
Thanks and regards
Ajith GHi,
Check below link tooo
Query for a list of FIFO layers with quantity and FIFO cost
Thanks
Deepak Tyagi -
Material revalution for Multiple FIFO Items in 8.8
Hi Experts,
Good Morning.
I have tried to create the Mateiral revaliation Document for FIFO Items in SAP business one 8.8 with the following example and it's working fine for one item row.
If i used the more than one Item details, then i am gettting "Internal Error (-5002) arrise.
I will appriciate if any one give me some solutions for this please.
Dim invitemcode, invwhscode As String
Dim m_MaterialRev As SAPbobsCOM.MaterialRevaluation
Dim m_MaterialRevLines As SAPbobsCOM.MaterialRevaluation_lines
Dim m_FIFOLayers As SAPbobsCOM.FIFOLayers
Dim m_MRVFIFOService As SAPbobsCOM.MaterialRevaluationFIFOService
Dim m_MRVFIFOParam As SAPbobsCOM.MaterialRevaluationFIFOParams
Dim m_MRVFIFO As SAPbobsCOM.MaterialRevaluationFIFO
invdocEntry = CInt(aDocEntry)
oTemprs1 = oApplication.Company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
oTemprs1.DoQuery("select itemcode,whscode,quantity from WTR1 where docentry ='" & invdocEntry & "' ")
Try
Dim j As Integer
m_MaterialRev = oApplication.Company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oMaterialRevaluation)
m_MaterialRev.RevalType = "M"
m_MaterialRev.DocDate = Now
Dim intcount As Integer = 0
Dim m_companyService As SAPbobsCOM.CompanyService
' Get Material Revaluation FIFO Service
m_MaterialRevLines = m_MaterialRev.Lines
For j = 0 To oTemprs1.RecordCount - 1
invitemcode = oTemprs1.Fields.Item(0).Value.ToString
invwhscode = oTemprs1.Fields.Item(1).Value.ToString
If j > 0 Then
m_MaterialRevLines.Add()
m_MaterialRevLines.SetCurrentLine(j)
End If
m_MaterialRevLines.ItemCode = invitemcode
m_MaterialRevLines.RevaluationDecrementAccount = "_SYS00000000094"
m_MaterialRevLines.RevaluationIncrementAccount = "_SYS00000000094"
m_MaterialRevLines.WarehouseCode = invwhscode
m_FIFOLayers = m_MaterialRevLines.FIFOLayers
' Get Company Service
m_companyService = oApplication.Company.GetCompanyService()
m_MRVFIFOService = oApplication.Company.GetCompanyService.GetBusinessService(SAPbobsCOM.ServiceTypes.MaterialRevaluationFIFOService)
' Create Material Revaluation FIFO Service parameters
m_MRVFIFOParam = m_MRVFIFOService.GetDataInterface(SAPbobsCOM.MaterialRevaluationFIFOServiceDataInterfaces.mrfifosMaterialRevaluationFIFOParams)
m_MRVFIFOParam.ItemCode = invitemcode
m_MRVFIFOParam.LocationCode = invwhscode
m_MRVFIFOParam.LocationType = "64"
m_MRVFIFOParam.ShowIssuedLayers = SAPbobsCOM.BoYesNoEnum.tNO
' Process FIFO layers
m_MRVFIFO = m_MRVFIFOService.GetMaterialRevaluationFIFO(m_MRVFIFOParam)
Dim LayerNum As Integer = m_MRVFIFO.Layers.Count
intcount = 0
For i As Integer = 0 To LayerNum - 1
If m_MRVFIFO.Layers.Item(i).DocType = SAPbobsCOM.TransTypesEnum.ttTransferBetweenWarehouses And m_MRVFIFO.Layers.Item(i).OpenQty > 0 Then
If intcount > 0 Then
m_FIFOLayers.Add()
End If
m_FIFOLayers.SetCurrentLine(intcount)
m_FIFOLayers.LayerID = m_MRVFIFO.Layers.Item(i).LayerID
m_FIFOLayers.TransactionSequenceNum = m_MRVFIFO.Layers.Item(i).TransactionSequenceNum
m_FIFOLayers.LineTotal = 104
intcount = intcount + 1
End If
Next
oTemprs1.MoveNext()
Next
If m_MaterialRev.Add() <> 0 Then
MsgBox(oApplication.Company.GetLastErrorDescription)
Else
Dim stcode As String
oApplication.Company.GetNewObjectCode(stcode)
MsgBox(stcode)
End If
Catch ex As Exception
oApplication.Utilities.Message("itemcode" + ex.Message, SAPbouiCOM.BoStatusBarMessageType.smt_Error)
End TryVersion: 881 PL04
I am gettting "
[MRV2.LineNum][line: 4] ,
'[Microsoft][SQL Server Native Client 10.0]
Invalid character value for cast specification'
" arrise.
Please let me know, because I'm starting to think that this is a bug in the SDK? -
FIFO price -- OINM.Calcprice is not always correct
Hi All,
I know the topic of getting FIFO cost layer has been posted here many times. And until today I've been using a query to get OINM.CalcPrice as the fifo cost for a certain item and warehouse. It is somewhat like:
SELECT calcprice FROM OINM
WHERE
itemcode = 'XX' and openqty > 0 and warehouse = 'XX'
order by transnum
However, I just found out that in our company there are quite a few OINM records where the calcprice values are incorrect. I know they are wrong because they are extremely low, say $0.0001, and also when compared with SB1's Inventory Revaluation - FIFO Layers, they are not even close.
Instead, if I use OINM.openvalue / OINM.openqty, I get all my query results match with the Inventory Revaluation screens.
Did anyone here ever experience or notice this issue ?
Please give your thoughts. Thanks!
SamThanks Neetus.
If I understand your query correctly, you're using oinm.calcprice as the "buy price" or "fifo cost" in this case.
My observations is: calcprice can have wrong values.
Thanks again.
Sam -
Hi Everyone,
I have a customer who is requesting a query that would pull the sales price and item cost from the A/R Invoice table. They would like a list of all items sold by customer that would show the quantity ordered, unit cost and unit price. However, it's a bit complicated by the fact that they use FIFO valuation method.
Does anybody know where I might be able to pull the different FIFO layers from? I haven't been able to find a lot of documentation in regards to the FIFO valuation and I haven't been able to find many standard reports in SAP to track FIFO.
If anybody can shed some light, I'd appreciate it.
Thanks,
AmandaHi Gordon,
Thank you for responding. I contacted SAP and I was actually making it more difficult than it needed to be. If you look at the Item Cost on the row level for the invoice, it will show you the cost in the FIFO layer it used at the time. I was able to pull that field into the query and it worked.
I appreciate your help and thank you again for responding!
Amanda -
Is there a way in CS2 to loop through the layer stack and return the layers that are selected? Not a single layer on it's own, but an unknown number of selected layers. And please note the CS2 part because I'm sure it's not privvy to lots of good stuff that makes this kind of thing easier like in later versions.
CheersEdit: Sorry, that probably is post CS2 …
You may want to check out this thread:
http://forums.adobe.com/thread/803166?tstart=0 -
Information about Item Instock FIFO layer
Dear Expert ,
We are maintaining the system in FIFO costing method.
And i want to re-valuate the Price through Template.
From where i get the information to put the data in the template of FIFO layer - MRV2
Thanks
Ashish RanjanHi Ashish,
Check below link to get the Open FIFO layers for item on Sales and purchase documents:
http://wiki.sdn.sap.com/wiki/display/B1/SAPB1D-SLSalesandPurchaseFIFOPriceforNon-BatchItems
http://wiki.sdn.sap.com/wiki/display/B1/SAPB1D-SLSalesandBuyFIFOPriceforBatchmanaged+Items
You can use this as base to create new query to get details if required.
Thanks,
Neetu
Maybe you are looking for
-
FF Browser 5 loads itself very slowly and takes so long with no sign that it is loading that many times I will click it again and later find that it has loaded itself twice. Is there anything that I can do to speed the start-up of this browser? It se
-
Datas in Infocube in BI Content
hi, when installing an Infocube from BI content whether data will be there inside the cube. else how to populate the data for cubes present in the BI Content. Please help me to understand and how to take sample datas thanks Sankaresh S
-
2.2 and factory reset - fixed issues, and battery is much better
I am not sure this will help all users with little quirks going on or not, but I had lagging issues, and quirks myself. Decided to do the factory reset, and re-set up my phone and what a difference. My web is faster, battery seems to get much more
-
Error while installing Oracle SQLNet32 7.3.4
Hi All, I am Ravi Shankar, Programmer. i have one query while installing the Oracle SQLNet32 7.3.4. When i install the setup file of Oracle SQLNet32 7.3.4, i am getting the below Error message. Can anyone help on this. Error 1309. Error reading from
-
I've restored my iphone and now want to re-sync it. It gives me the option to 'apply' ot 'revert'. Does revert just put things back where they were before restoring?