Batch Number in Proforma Invoice
Hi All,
Our customer has a requirement for proforma invoice for order in export sales and they want to give a batch number and want to see it in proforma invoice before delivery. Is it possible to do it? and how to maintain it if it is possible?
Thanks for your help in advance.
Regards,
Sinan
Hi
If you determine batch in SO, you can populate the field CHARG in table VBRP for the proforma invoice with copy rules. But as usually batch is determined in delivery, if it's your case, I don't understand the reason to write batch in proforma invoice, because the reasonable is that the batch that you write won't be the same that you will send.
I hope this helps you
Regards
Eduardo
Edited by: E_Hinojosa on Aug 10, 2011 1:06 PM
Similar Messages
-
Adding new Batch Number to AP Invoice
i am working on adding new batch number to an existing AP IN by SDK function. I try the following codes, no errors prompt but also nothing updated. Can anyone advise me how to add new batch number to AP Invoice? Many Thanks!
Dim ErrMsg As String
Dim ErrCode As Integer
Dim opch As SAPbobsCOM.Documents
opch = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oPurchaseInvoices)
opch.GetByKey(5)
opch.Lines.BatchNumbers.Add()
opch.Lines.BatchNumbers.BatchNumber = "3"
opch.Lines.BatchNumbers.Quantity = 3
ret = opch.Update
If ret <> 0 Then
oCompany.GetLastError(ErrCode, ErrMsg)
MsgBox(ErrCode & " " & ErrMsg)
End IfHi ,
Steps to do:
1.Create an User Defined Field on Document Row Level:
Name: Serial / Batch Details
Type: Alphanumeric
Structure: Text
- Create a Formatted Search which will populate the data from Delivery note.
- Put the UDF into the Print Layout of Delivery Order.
Displaying Batch Details
2. Decide with information is needed from Batch details to be printed out on A/R Invoice
On Bacth Details form (Inventory\Item Management\Batches\Batch Details) we can see all the possible details.
- Batch Number
- Delivered Quantity
- Expiration Date
3. Build the formatted search SQL command.
By a SQL cursor driven result set we can build a text which contains the list of the delivered batch details separated by new lines. The relations between A/R Invoice and Delivery note is defined on A/R Invoice Form. in columns 45, 46, and 43
declare @batch as nvarchar(100)
declare @txt nvarchar(max)
set @txt = ''
declare P cursor for SELECT T0.[BatchNum] + space(1)
+ cast(cast(T1.[Quantity] as decimal(19,2)) as nvarchar)
+ space(1) + case when T0.[ExpDate] is null then '' else convert(nvarchar,T0.[ExpDate],102) end
FROM OIBT T0 INNER JOIN IBT1 T1 ON T0.ItemCode = T1.ItemCode and T0.WhsCode = T1.WhsCode
and T0.BatchNUm = T1.BatchNum
WHERE T1.[BaseEntry] =$[$38.45.0] and T1.[BaseLinNum] =$[$38.46.0]
open P
fetch next from P into @batch
while @@fetch_status = 0
begin
set @txt = @txt '\n'@batch +','
fetch next from P into @batch
end
close P
deallocate P
select @txt
4. Defined the formatted search on the A/R Invoice. -
Batch Number on AR Invoice Printout
Hello Experts,
Can somebody please guide me, I have a requirement of having Batch number on AR Invoice Printout. I am unable to do that, help required please.
Thanks & Regards,It is quite dificult to do so using PLD (you can show batches easily when reocrding an invoice which is not coming from an delivery, otherwise, batch data is stored in delivery tables).
I've done this using crystal reports. You can get batch information true sql or even Subreports (one take information when batch is recorded during invoice creation, another one takes information when batch is recorded during delivery creation), etc.
I recomend you to use Crystal Reports, definitively -
Query on batch number in Invoice
Hi Experts,
I would like to get the batch number picked during the Delivery document and shown in the print layout in A/R Invoice. Unfortunately, PLD of Invoice with Batch will not show the Batch numbers as they're already linked in the DR document.
My workaround is to attach a FMS in the INV1 field line to get the batch number when the Invoice is copied from the DR.
Any help with the query is very much appreciated.
We are using 8.81 PL7.
Thanks,
DonHi Don..........
Please check this........
Select (Case When T1.BaseType=15 then I1.BatchNum else I11.BatchNum end) 'BatchNum', T0.DocNum 'Inv. No'
FROM OINV T0 INNER JOIN INV1 T1 ON T0.DocEntry = T1.DocEntry INNER JOIN OCTG T2 ON
T0.GroupNum = T2.GroupNum LEFT Join INV12 T3 On T3.DocEntry=T0.DocEntry LEFT JOIN OITM T4 On T4.ItemCode=T1.ItemCode LEFT JOIN OCHP T5 On T4.ChapterID=T5.AbsEntry
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
LEFT Join WTR1 T16 On T16.DocEntry=T1.BaseEntry and T16.LineNum=T1.BaseLine
left outer join IBT1 I11 on T1.ItemCode=I11.ItemCode and (T16.DocEntry=I11.BaseEntry and T16.ObjType=I11.BaseType)
left outer join OBTN T18 on T18.ItemCode=I11.ItemCode and I11.BatchNum=T18.DistNumber
LEFT Outer Join OWHS T20 On T20.WhsCode=T0.Filler
Run this query you get Invoice No. and its Batch.....
You may insert required c0olumns also.....
Regards,
Rahul -
Delivry Challan/Proforma Invoice and Actual A/R Invoice Number sud b same
Hi.. Experts , Please read the following scenario :
my client wants to send the proforma Invoice to his customer at the time of delivery. He does not want to punch actual A/R Invoice at this stage reason some time his delivery gets rejected due to some reason. So he wants to be at safer side.
When the send goods is successfully delivered only then he wants to punch actual A/R invoice in the system with the same number of Proforma Invoice.
Solution I have given :
What I have done, I have prepared one more PLD named Proforma Invoice based on the Delivery document. the Number of this Proforma Invoice is based on manually entry number. when the goods is successfully delivered to the customer, Actual A/R Invoice with same Number (Proforma Invoice number) manually entered.
Please let me know whether this solution is suitable or not..
Regards
RakhiHi Joseph
No there is no issue in document Number but I feel it would be bit tough to maintain document number manually in future because here I I have to punch A/R Invoice Number manully with the number of Proforma Invoice (delivery Document Number).
Lets say during delivery , the proforma Invoice number i punch is 3000 but this document number is not available for A/R Invoice. then how I will maintain this situtation ?
Regards
Rakhi -
Batch number in A/R Invoice pld
Dear Experts
Please give the idea how to print the batch number in A/R Invoice if the invoice was copied from delivery.
Thanks & Regards
S.GaneshDear Ganesh,
You may check these threads:
Batch Number in A/R Invoice
Re: PLD - Batch Number in Document Structure
Thanks,
Gordon -
Batch Number in A/R Invoice
Hi All,
How do you print Batch Number of an Item in A/R Invoice PLD?
Thanks
SV ReddyHi SV,
i think directly will not get the batch no field in PLD,
sorry, i dont have any test(client) database. so try this way,
Table -> INV1 - A/R Invoice- Row
Column -> BatchNo.
or
Create the UDF and assign the FMS.
i think, (get the batch no)FMS is not possible on A/R invoice .
it is possible to Create the UPDATE Stored Procedure
but you should not write the UPDATE Stored Procedure in SAP database.
best way, Create the UDF and type the Batch No on A/R Invoice.
->> Open the A/R invoice(System) PLD and Save as the New PLD.
->> Create the UDF(Batch no) Field in Repetetive Area on PLD.
Save as and Run the Print Preview.
OR
Try to Create a Query Report and design a QPLD.
If you want to Create QPLD, Check the thread, will be get some idea or solution.
Invoice details related to Serial Numbers
Re: Item Serial No. on A\R Invoice Report
Re: Item Serial No. on delivery note PLD
Regards,
Madhan. -
Relation between Proforma Invoice and Credit Note Number
Hi,
Could you please tell me how i can link the proforma invoice number with credit note number.
I have proroma invoice number. I want to find its corresponding credit note number.
Kindly help.
Regards
Sachinthere wont be any entry in BKPF as this is proforma invoice...
i tried to link by VBFA but no sucess...
Kindly help.. -
Proforma invoice number is not in the document flow of the order.
Hi all,
I have a doubt , if i create an proforma invoice based on order, and after that i create delivery and billing, i cannot able to see the proforma invoice in the document flow of the particular order. pls guide me on this
Thanks all
KumiHi,
Goto VTLA, and check the UPDATE DOCUMENT FLOW in the copy control
If it is already set , then directly from sales order you can find the Proforma invoice .
Goto the sales order in VA02 and enter into the overscreen and from there check the document flow ( F5), now you can see the Proforma invoices.
regards,
santosh -
Proforma Invoice program ---delivery related with billing block on SO
Hi,
I need some help on Profoma Invoice--delivery related.
I have created a Sales order with Billing block, then created delivery and picking,handling but no PGI.
Now I am trying to create a Proforma invoice for delivery (before PGI ),
I can create the Proforma invoice manually using VF01 by selecting the document type and by delivery number input in the docs selected.
But I want to create the proforma for the above mentioned scenario using batch job, I have tried both RV60SBAT and SDBILLDL but both of them are not working.
Both the program are fetching delivery for proforma creation if PGI is done (Even though the billing block is set on Sales order)
or Billing block is not there on Sales order if PGI is not done.
Thanks and Regards,
AnandaHi,
The programs below are for the specified transactions below.
"SDBILLDL" program is for the transaction "VF04" which is for creating the Final invoice(Original Invoice) i.e. Billing due list.
Where as "RV60SBAT" is for the T.Code "VF06" which is for creating the invoice in background.
So these two programs will not create proforma invoices.
Incase if you have only proforma invoice not final invoice,then maintain this proforma invoice type in "VOV8" T.Code under order/delivery-related billing.thwn you can create Proforma invoice by using Vf04/VF06(By using these programs).
Regards,
Krishna. -
Line Item Problem in while Proforma Invoicing in case of STO
Hi All,
The problem is related to Line Item Quantity in Proforma Invoice which is explained with an example -
When we are doing Outbound Delivery for STO ( Stock Transfer Order ) we have the batch-split function where 2 line generates for a single line item material A in which in the first line no delivery quantity and value gets reflected and in the second line for the same material the delivery quantity gets reflected with batches. Then we save the order and done PGI. After that while doing the proforma invoice there also again the 2 lines appear for the single material A where the first line doesn't contain invoice quantity and value and show as 0pcs.In the second line for the same material it shows the invoice quantity with value. I want to remove this first line for the same line item from proforma invoice and want the system to generate only one line for the line item containing the invoice quantity.
Point to be noted that this thing doesn't happen for normal sales cycle done through Sales Order.
I have also checked with the Item Category NLN where i have tried the Billing relevance N - Pro Forma - no zero quantities (including main batch items) and L - Pro Forma - no zero quantities. Still the same problem is arising.
What is the problem here and how can it be solved?
Looking forward to some valuable suggestions
Thanks & Regards
Priyanka Mitracheck for your batch item cateogry,,, maintain the batch item cateogry setting same as it is ther in case of normal sale cycle. or what you can do ,,,copy your batch item cateogry and create a new batch item cateogry for your STO delivery .
i did it and it is working fine for me. please check the batch item cateogry and matain it the same way.
cheers -
Zero Qty line elimination in Stock Transfer Proforma Invoice
Hello all,
We are making Stock Transfer Order between two plants within the same co code (ME21N). We are having automatic bacth determination at delivery level (VL10B). Automatic batch determination generates one header line without qty and others with qty. During Proforma invoice creation, all the rows (including zero qty row of header level batch) from delivery are getting copied into the proforma invoice. I want the system to copy only those rows having qty greater than zero from delivery in to proforma invoice.
In case of normal sales invoice this problem is not occuring.
I need your advice on the above mentioned problem.
Thanks in advance.
Animesh Chakrabortyhi ,
In copy controls please check the complete reference field
thanks
Kuntla -
Proforma invoice for Shippment Error
The billing type FL proforma invoice LB should work for shippments currently it is not working correctly tested in q20 with shipment number 1110032832.
Delivery for subcon 1187990468 completed
wms transfer order 442632 Completed
handling unit 104511936
pgi sub substock 495468791 Completed
Shippment 1110032832 Completed
Handling unit 104714552
Proforma LB 502669289 completed
Proforma LB 502669296 Completed
Proforma LB 502669301 Completed
Regards
RaviUhm... What is your question? All this information is rather meaningless to the forum's users.
-
Error in VF01-Proforma invoice alredy existed for the delivery
Hello All.
We had a problem with VF01. When entering the delivery and pressing enter we are getting the problem Proforma invoice already existed for the delivery.
From 4 Scheduling agreements(LZ) one delivery(LF) created, picked and packed. Before PGI user made proforma invoice F8.
It created with out error.
After that user done the PGI and tried to create the invoice but the system is thronging above mentioned error.
Please advise use what would be the problem.
Thanks and Regards
SASiHi Sasi
Check wheather any batch job is running in background for creating billing documents.If it is working fine then check wheather any enhancement has been done.
Regards
Srinath -
Proforma invoice not created for stock transfer order
Hi Experts
while creating a proforma invoice for stock transfer order between the plants we are not able to create proforma invoice , the process is replenishment delivery is created and Wm is also done and the billing with reference to delivery and the item category is relevant for billing with value J, and below is the message i get whilw creating invoice
Technical data
Tech. data details
Client
Group Number
Sales Document Number
Item Number of the SD Document 000010
Schedule Line Number 0001
Counter in Control Tables 00
Message Identification 00
System Message Number 001
Output Type E
Message Variable 01
Message Variable 02
Message Variable 03
Message Variable 04
Group Type F
No biliing documents generated
Please suggest.
ThanksThis explanation is not in detail and hence I am not clear about your configuration settings.
First go to IMG Logistics-General => Tax on Goods Movements => India => Business Transactions => Outgoing Excise Invoices => Assign Billing Types to Delivery Types.
There ensure that you have assigned the billing type JEX (assuming that you are using the standard) to your delivery type NL.
Perhaps, you can also try with "D" for your item category in Billing Relevance field but I am not sure this will solve your issue. Try in development client.
thanks
G. Lakshmipathi
Maybe you are looking for
-
2 issues: Some songs skip won't play 2nd issue: itouch will not open itunes
1. Some songs that played well when they were initially added to my ipod itouch, suddenly stopped playing and are skipping to the following songs. How can I fix this? 2. My ipod touch (which is the 1st generation) after updating it to version 3.1.3 w
-
After automatically upgrading to firmware 1.0.2, my iPod nano would enter an eternal loop (apple logo appears/disappears/appears/... until battery is empty) when ejecting from iTunes. The only way of resurrecting it was entering disk mode manually, t
-
PlayStation Store Update – 7th July 2015
New on PlayStation Store: F1 2015, LBP3: The Journey Home and new PS Plus games Plus, Red Goddess and Pneuma: Breath of Life Here are this week's offerings, with F1 2015 taking pole position... ...from the PlayStation Blog: Arcade Archives Ninja-Ki
-
I can't select text within a text frame.
I'm very rusty with InDesign, so forgive me if this is a stupid question. I am simply trying to select text to cut and paste it. I have the Text tool selected, but I can't seem to select the text that's already in the text frame. The cursor doesn't e
-
How to disable weblogic built-in HTTP session filter?
Hi, I want to use my own HTTP seesion filter to manage HTTP session on weblogic clustered servers. It seems that weblogic servers plugin its HTTP session filter already for servlet. How can I use my own HTTP session filter to replace WebLogic built-i