Override Batch Numbers Selection Form
Hi everyone,
i need to implement a slightly different batch number selection form to handle two different units of measure (Kg & Number of Items). Is there any way to override the SAP form and then feed our own values to the document form?
I couldn't understand how/where SAP stores this information once the user selected the batch numbers and returned to the document.
Can anyone help me with this?
Thank you very much
David
Hello David,
You cannot override this form, but you can override batch selection method.
On Bacth selection form you have 3 matrixes. in these 3 controls you can find all the relevant informations what you need.
I used them to change the selection method to FeFo (First Expires First Out) or FiFo (First In First Out) in the developments.
Regards
J
Similar Messages
-
Report for a selection of items+batch numbers that I would have had on hand
I would like to run a report for a selection of items and batch numbers that I would have had on hand (only) for September 30th. I have run the batch numbers report but this gives me all transactions from August 1/09 to September 30/09.
Hi
If you need to know quantity onhand ,probably you need to run query against OINM tables but If you are lloking for information then I guess this batch and serial number would be handy ....
Hope this helps
Bishal -
Batch numbers - eliminating batches in form
Hi,
I have some items with Batch Numbers. When Im creating invoice (through UI or user entry) and after click to Add button, the form with batches will be shown. In bottom left corner is there a matrix with list of disponibile batches. Is it possible to eliminate this list of batches only for batches I need (through some filter, query, ...)?
Or - is it possible to assign batch number for line level of main matrix before I click to Add button?
I spent on this whole day without any idea...
thanksHi Petr,
it won't be very helpful but maybe you're interested how iam doing this.
i trigger the "add button", the serial number form opens and i assign the serial numbers automatically.
the user just have to watch how the "serial numbers" walk from left to right
i don't think you can "filter" the list of avaible serials.
lg David -
How can I eliminate duplicate Batch Numbers?
SBO allows serial numbers to be unique, but not batch numbers. The system allows the same batch number to be used for a different part. I have a medical company that requires unique Batch numbers accross the board, regardless of part number. Any suggestions? I tried to do this with a formatted search that would identify a duplicate Batch for me, but my search crashed and burned.
Here is the Formatted Search I tried to connect to the Batches Setup Form:
SELECT 'Batch allready used!' FROM IBT1 T0 WHERE T0.[BatchNum] = $[$3.3.0]
Anyone out there know how to force unique batch numbers?
Thanks!
Mike
Edited by: Mike White on May 7, 2008 7:07 PMWhat I am saying is, I never want a duplicate Batch number even if the parts are different. In your example, Item A could not have the same Batch number as Item B. Unfortinately, SBO allows duplicate batch numbers as long as the part numbers are different.
The reason for this is two fold. 1) This medical company cannot, never have the same batch number, and 2) reporting from the OIBT and IBT1 tables gets a bit complicated with duplicate batch numbers.
So my thought is to simply create a formatted search which runs from the Batches Setup Form, checking to see if this Batch Number has allready been used, then replacing the entry if TRUE with something like "Batch Allready Assinged".
Mike
Edited by: Mike White on May 7, 2008 7:36 PM -
Slow when fill batch numbers in matrix
Hi,
I am using the following code to fill a matrix in the batch numbers windows, this codes come from other windows where the user set his batch numbers and click ok.
My problem is this routine is slow based in the user simulation clic and I need this become more fast.
I use the .Freeze(true) command to get more speed, but doesnt work.
Actually this give me 18 codes per minute. My problems is when the user set 6.200.000.
Can provide me some tips to do it? or other way to get the goal.
Thanks.
EDIT: sorry when I want to mean is "Slow" is when my code write on the matrix (the batch number window) how can I get more speed in the process?
oBultosForm.Freeze(true);
z = 1;
foreach (var item in seriales)
SAPbouiCOM.EditText oEditTex3 = (SAPbouiCOM.EditText)oGrid.Columns.Item(2).Cells.Item(z).Specific;
oEditTex3.Value = item.Serial;
SAPbouiCOM.EditText oEditTex4 = (SAPbouiCOM.EditText)oGrid.Columns.Item(5).Cells.Item(z).Specific;
oEditTex4.Value = item.Cantidad;
oGrid.Columns.Item(20).Cells.Item(z).Click(BoCellClickType.ct_Regular);
SBO_Application.Menus.Item("5888").SubMenus.Item("5963").Activate();
oBultosForm = SBO_Application.Forms.GetForm("1470000006", 0);
oBultosForm.Freeze(true);
oGrid1 = (SAPbouiCOM.Matrix)oBultosForm.Items.Item("1470000019").Specific;
SAPbouiCOM.EditText oEd4 = (SAPbouiCOM.EditText)oGrid1.Columns.Item(1).Cells.Item(1).Specific;
oEd4.Value = item.Ubicacion;
SAPbouiCOM.EditText oEd5 = (SAPbouiCOM.EditText)oGrid1.Columns.Item(2).Cells.Item(1).Specific;
oEd5.Value = item.Cantidad;
SBO_Application.Forms.ActiveForm.Items.Item("1470000001").Click(BoCellClickType.ct_Double);
z++;
oBultosForm = SBO_Application.Forms.ActiveForm;
oBultosForm.Freeze(false);hi Maik, the Active Form is a Form created by with visual designer this is called "Gestion de bultos" is used for pack management,
1.- you insert your goods receipt PO and clic add
2.- this open a batch setup windows. here you select the document and later clic in "bultos button".
3.- this open a pack management window (Gestion de bultos) where you insert how you can distribute the quantities, ex. I want 6 pack of 100 and the location is A-01-2-3.
When you clic ok. this close the window (Gestion de bultos) and in the Batch - Setup window insert the batch generated based in the requirement.
my problem is this is slow due at use a GUI for this. I dont know how to do it with DI API, I think in some Transaction Notifications. But is only ideas.
Thanks for your time -
Batch Numbers in Invoice layouts
Hi Guys,
I am trying to use Crystal reports to bring in Batch Numbers for Line Items, I have the following Query but it is not quite working correctly and I cant work out how to ensure the Batch No it Shoes is correct and matches to those in the Right Click Batch Details on an AR Invoice. Can anyone point me in the right direction at all ?
SELECT T0.[DocNum], T1.[ItemCode], T1.[Dscription], T2.[ItemCode], T2.[DistNumber], T2.[ExpDate] FROM OINV T0 INNER JOIN INV1 T1 ON T0.DocEntry = T1.DocEntry LEFT OUTER JOIN OBTN T2 ON T1.[ItemCode] = T2.[ItemCode] WHERE T0.[DocNum] ='227'
Kind regards
Sean MartinHi Sean......
Try this.....
Select T0.DocNum, T1.ItemCode, T1.Dscription, T8.ItemCode, T8.DistNumber, T8.ExpDate,
I1.BatchNum
FROM OINV T0 INNER JOIN INV1 T1 ON T0.DocEntry = T1.DocEntry
LEFT Join DLN1 T6 On T6.DocEntry=T1.BaseEntry and T6.LineNum=T1.BaseLine
left outer join IBT1 I1 on T1.ItemCode=I1.ItemCode and (T6.DocEntry=I1.BaseEntry and T6.ObjType=I1.BaseType)
left outer join OBTN T8 on T8.ItemCode=I1.ItemCode and I1.BatchNum=T8.DistNumber
Above Query will bring the data of batches in Invoice CR even though the batch is created at the time of delivery
Hope this will help you..........
Regards,
Rahul -
Finding Tables needed for linking Batch Numbers/Items to Invoice Items
I'm trying to create a report that will show basically a Sales Invoice and under each line Item show the Items with thier batch numbers that went into that sales Item. My difficulty is in finding the table or tables that have key fields to relate Invoice to Batches and inventory. Looking at forms/reports in B1 I have found RBTN OBTN and RITL tables but only the OBTN shows in the crystal as a datatable.
Jon,
You should have better luck posting in one of the [Business One forums|http://forums.sdn.sap.com/index.jspa?categoryID=1#44].
Jason -
Report for batch numbers and delivery
Dear gurus,
Is there a report that
I can see batch numbers and delivery at the same time?Use t.code VL06 and click on List outbound deliveries button.
In the selection screen, enter details like sales org, distribution channel, division, shipping point and actual or planned goods movement date (per your requirement) and execute.
In the next result display click on item view button. To get the batch data, click on change layout button. From the list of fields available (hidden field list) on the right hand side, select on batch and click on left arrow button.
Then click on copy button. You can see the batch details with delivery line items.
This report is useful, where in you can select addtional fields from layout button.
Regards -
Need tables for tracking Invoice Items back to the Batch Numbers/Item codes
Trying to build report to show the Inventory movement from a Sales Invoice Item back to the source items and the Batch Numbers for assigned along the way. Having problems finding all the tables to connect the Batch information to the Invoice information.
In B1 under batch management I can see fields that belong to tables RBTN, RITL and OBTN but I can only find OBTN in Crystal.
Are these tables hidden for some reason or are they Temporary tables that B1 creates when opening the form/report.You may check this: Re: To what table are Batch# saved to with SAP 8.8
-
Accessing batch numbers in SBO2007
Hi
I have added a button to the goods receipt po screen to print labels for a customer which includes batch numbers
The problem I have is I cannot find out where the batch numbers are stored, I have looked in the OIBT table but that is not updated until the actual goods receipt is added
Can anyone help me pls ?
Many thanks
Regards AndyHi David
Just did a test and I can't see it in the table.
Please remember the user will have assigned batch numbers but the goods receipt form will not yet be saved
Thanks
Regards Andy -
Overdelivery with batch numbers
hi,
is there a way to handle overdeliveries in Business One when using batch numbers.
For example:
Order: 100 g
select charges 100,9g
Deliver 100,9g
Without batch numbers its no problem. But the batch number controlling in business one has a maxinum limit (order quantity). For me its a bug !
Has anybody a solution? Or will this feature be implemented soon?
regards
Markus
Edited by: Markus Rewak on Dec 3, 2008 3:47 PMHi,
we have the same Problem. I think this is a bug, too.
Will this issue be fixed in a further Patch?
Kind Regards
Andreas -
REMARKS IN AVAILABLE BATCHES IN BATCH NUMBER SELECTION
IS IT POSSIBLE TO GET AN ACTIVE COLUMN IN AVAILABLE BATCHES FORM IN BATCH NUMBER SELECTION.
THE SCENARIO IS THAT I WANT TO GIVE REMARKS TO THE BATCH WHICH HAS BEEN TRANSFERRED FROM ANOTHER WAREHOUSE. CAN I GET AN ACTIVE COLUMN IN BATCH DETAILS.
KINDLY HELPHi,
You can create column but it will activate at the time of batch creation not releasing mode.
Thanks,
Sachin -
BAPI_GOODSMVT_CREATE, and automatic batch numbers
Hello,
I am using BAPI_GOODSMVT_CREATE and doing good receipt vs., a Purchase Order, GM 01. The material is auto batch managed and I see the batches are generated when I go into MSEG for the good receipt line items. However, batch numbers are not returned in the bapi return information.
Is there a way to get the batch numbers to return in the BAPI_GOODSMVT_CREATE bapi? If so, please let me know. If not, please also let me know and I will do a subsequent look-up to get that info.
ThanksBAPI_GOODSMVT_CREATE will return the material document number posted. Use that to get the batch number from table MSEG.
CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
EXPORTING
GOODSMVT_HEADER = LS_GOODSMVT_HEADER
GOODSMVT_CODE = LS_GOODSMVT_CODE
IMPORTING
GOODSMVT_HEADRET = LS_GOODSMVT_HEADRET
TABLES
GOODSMVT_ITEM = LT_GOODSMVT_ITEM
RETURN = LT_RETURN.
IF LS_GOODSMVT_HEADRET-MAT_DOC IS NOT INITIAL.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT = GC_TRUE
IMPORTING
RETURN = LS_RETURN.
SELECT SINGLE CHARG FROM MSEG INTO LV_CHARG
WHERE MBLNR EQ LS_GOODSMVT_HEADRET-MAT_DOC
AND ZEILE EQ '0001'.
ENDIF.
*Assumes single item document posted -
See batch numbers allocate in draft document
Hi,
I have doing a good exit and I have chosed batch numbers. I have doing a draft of this good exit. When I want to do a query about the draft I haven't table to see the batch numbers which are allocated. How I can link batch numbers with my draft?
Thank you
SéverineYou can select batch numbers for a good deliveries (Right click/Batch Numbers or CTRL TAB on the quantity field) and then save this document as a draft.
When you open this draft and again Right click/Batch Numbers on the quantity field, you can see the batch numbers previously selected.
These batch numbers are not allocated (you can select them when you create another good issue), but there are saved somewhere, and linked to the draft.
However I can't find in which table these batch numbers are saved (I checked OIBT, IBT1, OSRD).
I think that the question is : where are these batch numbers saved? -
Instock with Batch Numbers Query/Report
Hello Experts,
Can anyone help me with a query to generate Instock quantity with respective batch numbers for an Item. The item uses Moving Average costing method.
For Example: Say i have an Item A0001 with Qty 10 instock ( 5 with 4343 batch#'s, 5 with 6648). I need to generate a report as shown below:
Item Qty Batch
A0001 5 4343
A0001 5 6648Dear parneeth,
As requested please try this Query to fulfill your requirement.
SELECT T0.docnum,
T2.BatchNum,T2.ItemCode,T2.Quantity,
T2.ItemName,T0.CardName as Supplier,
T2.SuppSerial,T2.IntrSerial,T2.ExpDate,T2.PrdDate,T2.InDate,T2.Located,
convert(varchar(8000),T2.Notes)
FROM OPDN T0 INNER JOIN PDN1 T1 ON T0.DocEntry=T1.DocEntry
inner join
OIBT T2 on T1.ItemCode = t2.ItemCode and T0.objtype=T2.basetype and T2.baseentry=T1.Docentry
inner join
oitm T5 on T1.Itemcode=T5.Itemcode
WHERE
T2.quantity>0
group by T0.docnum,T2.BatchNum,T2.ItemCode,T2.Quantity,
T2.ItemName,T0.CardName,
T2.SuppSerial,T2.IntrSerial,T2.ExpDate,T2.PrdDate,T2.InDate,T2.Located,
convert(varchar(8000),T2.Notes),T1.Linetotal,T1.Quantity
REGARDS
MANGESH PADHARE.
Maybe you are looking for
-
HPE Desktop New Hard Drive/No Bootable Drive
After receiving a "Hard Drive Failure Imminent" message, I saved files, made recovery disks, and installed a new hard drive. All specs for new HD meet requirements. I couldn't get my recovery disks to work and ordered a set from HP. When attemptin
-
Error to transport request when activate the Data Source: 2LIS_13_VDKON
Hi people, When I try to transport the request about my activation from Standard DataSource 2LIS_13_VDKON, the systen (in ECC6) show me a error: " 8: Transport carried out with errors. Individual objects could not be transported successfully" I alrea
-
Excise Value Change at the time of Capture Invoice
Hi, At the time of PO creation dt 02.02.2010, we selected the Tax Code XA with Basic Excise Duty, say, 10%. When we are doing GR on 01.05.2010, the Basic Excise Duty has been changed to, say 12%. Where we can make the changes happened in Excise Rate,
-
Inventory dead..??
don't know for sure,, but latest patch applied is the WOL patch, and,, inventory for PC's that are NOT power-on doesn't work. Setup is 2 main server for Zen 1 as a standalone/remote server for DB only ( zen internal sybase) 1 as a Zenworks server wit
-
How do I delete programs running in background on old I phone iOS 5
How do delete programs running in background on old I phones