Purchase Invoice Quantity link with Sales Invoice Quantity
Hello All Experts,
My client to link Purchase Document with Sales Documents.
1.I create a Sales invoice and it is to be linked with Purchase Invoice means we want to find out that How much quantity sold from the Purchase Invoice quantity ,Because they manage the stock based on Purchase Invoice.
How can be manage it in SAP ?
Thanks & Regards
Krishna
Hai Krishna Gopal
If u manage item by batches u can take your report easily
for example u can take report like this
GRPO NO Itemcode qty Batchno ,Invoice no itemcode qty Batchno
If am wrong please correct me
Similar Messages
-
Rebate - link with sales order - invoice
Hi,
I'm looking for the way how the table KONA (rebate) is linked with vbak (sales order) and/or vbrk (invoice) ?
I tries a trace, but I received a lot of tables and I'm not sure which to use...
Thanks in advance for the help !hi,
kona-knuma = vbak-knuma.
and
kona-knuma = vbrk-knuma.
thanks,
anupama. -
G/L accounts linking with sales tax and VAT
Hi gurus,
I want to link the G/L account with Sales tax and VAT for this wat i can do and where,plz help me, it is very urgent.
Regards,
Dharma.there r four steps to link sale tax
step 1 go to OBYZ
Create tax procedure to your company code
step 2 Go to FTXP
step 3 Go to FS00
step 4 go to OB40
srikant -
Purchase Order lines link with each version of purchase order?
Hi,
I have a requirement of development of a report which will give details of po headers and po lines.
I have to pass parameter revision number which is purchase order revision number.
When I try to get line details of previous revisions of PO the matches were not exact.
I am using tables : PO_HEADERS_ARCHIVE_ALL, PO_LINES_ARCHIVE_ALL.
suppose currently in the system there is 10th revision of PO. User want to generate report for 8th version of PO.
The lines were not exactly matching when user select revision 8 from the report parameter.
Can someone help me in getting the logic of getting exact output.
As PO_LINES_ARCHIVE_ALL only stores those line_num that have been changed for the particular revision of PO.
I am getting only those line details that are changed in the 8th PO. But user want all the lines corresponding to 8th PO whether changed or not changed.
Thanks
MankindThanks a lot. I explored TRM already.
What I found is that whenever there is changes in any level either header or line PO revision got changed.
But when there is change in lines only then for that particular line revision got changed.
So for the 8th revision suppose there were 6 lines. And for 2 lines there were price changes. So those two lines have revision number 8. But for the rest 4 lines revision 8 was not there.
I want to get all the six lines when I choose revision 8 in my report parameter.
How can I achieve this..
My Query is as follow:
Select pha.segment1, pla.item_description, pla.quantity, pla.unit_price
from po_headers_all pha, po_lines_all pla
where pha.po_header_id =pla.po_header_id
and pha.po_header_id = :header_id
and pha.revision_num =nvl(:PO_revision_num,pha.revision_num)
union
Select phar.segment1, plar.item_description, plar.quantity, plar.unit_price
from po_headers_archive_all phar, po_lines_archive_all plar
where phar.po_header_id =plar.po_header_id
and phar.po_header_id = :header_id
and phar.revision_num =:PO_revision_num
and plar.revision_num =:PO_revision_num
and phar.revision_num = plar.revision_num
The issue is when I am selecting the current revision of PO , I am getting correct data as query is fetching data from po_headers_all and po_lines_all tables.
But when I am selecting previous versions of PO, I am getting correct data for header level. But for line level, I am getting only those lines which are amended for that PO.
Client requirement is to get complete line details for that PO whether lines are amended or not. Means if for PO revision 2 , three lines amended and there are total 5 lines---- so all 5 lines need to be displayed.
Thanks for your valuable thoughts.
Regards
Mankind
Message was edited by: user11655073 -
Excise Sales Gate Pass with Purchase Invoice details.
Hi All,
While making a Excise Sales Invoice,we need to link it with the corresponding items Purchase Invoice details for Generate Excise Sales Gate Pass.
How can it be done in SAP B1.
Please guide me.
Thanks in advance
RajeshHi
Gate pass is not there in B One. you can create one UDF in invoice and put the details.
regards -
How Billing doc.created from purchase invoice in Third Party Sale
Hi All
Our client requirement has been mapped as sap third party sales process .
But if the vendor is delivering less qty . than the qty. for which Sales ordered has been created, How to create the Sales billing Doc. according to the purchase invoice so that Sales Billing Doc. should be created for the delivered qty. only .
Please suggest the configuration & how the data is flowing from the Purchase Invoice to the Sales Invoice.
Thanks in advance
AshokHi
you can achieve your requirement by following
T-Code VTFA (copy control Order to Billing)
use you Third party order type and billing type
Go to Item category (if Standard use TAS)
there is a option "BILLING QUANTITY"
user there "E" Goods receipt quantity less invoiced quantity"
Hope it will solve your problem
Cheers
Shambhu Sarkar -
Create a purchase order linked to sale order with DI
Hello all,
I tried to create a purchase order based on a sale order with the DI but I get an error message "the business partner selected in base document is different than the target document"
As you understand, this is normal to have a different business partner. So my question is : is it possible to create with the DI a purchase order linked to a sale order or is this a missing functionality ?
Thank you
SebastienHi sébastien,
oDoc.Lines.ItemCode = "A00001"
oDoc.Lines.Quantity = 1
oDoc.Lines.BaseType = 17
oDoc.Lines.BaseEntry = 213
A Purchase document's BaseType can only be a Purchase document itself.
A Sales document's BaseType can only be a Sales documento itself.
To create a Purchase Order based on a Sales Order you must go through each row of the Sales Order and copy the values (ItemCode, Quantity, Discounts, VatGroup, etc.) to the Purchase Order. And remember the VATCode used in a Sales document cannot be the same as the one used in a Purchase document.
Best Regards,
Vítor Vieira -
Sales Invoice, Purchase Invoice Merge
Hi Guys
I am creating a report that will give me the total # of Sales and Purchase Invoice, purpose of report is to merge the sales and purchase analysis.
i have added all the fields on the main report from the OINV table, i then created a sub report that has the same fields, only difference is its from OPCH table, i need to have a parameter "Date", that i have created, but doesnt seem to filter the values as to my selection. What could be the problem.
What i am trying to do is merge the Sales Analysis in SAP and the Purchase Analysis in SAP on one report.Euston,
I am doing something similar to yours, I am merging total of (each credit job) with total (each free of charge job) to show in the single report.
here what I am doing right now,
1: Imported both tables into one new report
2: Created a Running total field for FOC (free of charge job)
3: Created a Running total field for CR (credit job)
both of these running totals have formulas under "Evaluate each record"
Formula is like this
line_type="F"
line_type="C"
Both of them are grouped by two different groups however are of the same Reason ID.
I then created formula like this
Whileprintingrecords;
Numbervar x:=0;
Numbervar y:=0;
Numbervar z:=0;
x:=Runningtotal field for FOC
y:=Runnitngtotalfield for CR
z:=x+y
z;
This gives me combined result of two different jobs.
Is that something what you are trying to do?
Regards
Jehanzeb -
Sales Order quantity Must not exceed Purchase order quantity
Dear Experts,
My requirement is when i am creating a Purchase order giving referenece as Sales Order .. system must not allow the user to enter more than Sales order quantity.
Ex : Sales Order 1234
Material : AAAA
Quantity : 100
while creating a Purchase order for Mat AAAA giving reference of Sales order i.e 1234 and quantity 150 system must not allow user to enter more than sales order quantity . If user wants to create PO for 150 he must have to ammend the sales order from 100 to 150 is it possible.
Kindly do the needful
Regards
abhiDear Abhinav,
First of all, Purchase Order will get created with reference to Purchase requisition (T. Code: VOV7 --> Item Cat.: TAS --> Tab: Transaction Flow --> Field: Automatic PO Creation), and not with reference to Sales Order.
This is Purchase requisition, which gets created with reference to Sales Order; based upon settings in:
T. Code: VOV6 --> Schd. Line Cat.: CS
Order Type NB Purchase Requisition
Item Category 5 Third-party
Acct Assgt Cat. X All aux.acct.assgts.
Now, coming to your requirement (based up on my inputs),
My requirement is when i am creating a Purchase order giving referenece as Sales Order .. system must not allow the user to enter more than Sales order quantity.
To Restrict Purchase requisition quantity in PO, then in T. Code: OMCQ
Or, Path: SPRO > img > MM > Purchasing > Environment Data > Define Attributes of System Messages
Here make following messages as Error;
06 076 Materials of requisition & item & alr. ordered in full
06 254 Order quantity greater than requisition quantity
Now, in Purchase Requisition, if it is created for 100 qty (with ref. to Sales Order) and if you adopt the same in Purchase Order and try to change the qty to 150, then system will not allow you change and throws the error.
Best Regards,
Amit -
Object link with finanace Documents (Vendor Invoice) Tcode FB03
Hi all,
Can DMS object link be maintained with finance documents for ex Vendor Invoice?
Tcode FB03.
Thanks
AnsihHi,
you can link documents to purchase order item or purchase requisition then obviously this will be displayed in vendor invoice.
Best practice is to use SAP DMS standard functions. Don't go to link with vendor invoice.Anyhow MIRO and MIGO transaction are
depeandent on purchase requisition.I hope this will resolve your query and is a best practice.
Regards,
Ravindra -
PO Service not link with AP invoice service
Currently usiing SBO 2007A, SP-00, PL 49.
I have 1 PO service. Base on this PO service, I create AP Invoice service.
The account no. use in PO service is different from account no. use in AP Invoice service. Since account no. have been overwrite in AP Invoice.
PO service is missing link with AP Invoice.
When we open again the PO we couldn't find target document.
Also same when we open AP Invoice, we couldn't find base document, which is actually the PO.
Only in AP Invoice's remark we can find the PO no.
Also in the database, in AP Invoice table base document no. is blank.
Also it cause the PO not automatically close.
Previous PL, this error not exist.
Any one can help.
Thanks in advance,
SuryaHi,
Please check Note No. : [ 1334491|https://websmp130.sap-ag.de/sap(bD1odSZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1334491] which explains the reported issue.
Kind Regards,
Jitin
SAP Business One Forum Team -
Excise invoice price is updating with sales order how to change
Dear All,
I am following TAXINN tax procedure.
when any misstake happens in price i have to cancell all the process. from excise invoice to sales document.
even if i am updating the billing invoice and again creating the excise invoice its taking the price from sales order price.
How can i update the price in excise invoice with billing document not with sales document.
Thanks with Regards
SubratActually when we are canceling the excise invoice and updating the billing document with new price and again creating the excise invoice its taking the old price not the updated price.
this is what the problem is .
how system will concider the updated price for excise invoice.
Thanks with Reagrds
Subrat -
Transform an object draft (purchase invoice) to one final with SDK.
Some body help me.
I need transform an object draft (purchase invoice) to one final with SDK.
I want make a massive approving puchase invoice in draf mode.
How can i do that???
CGMHi,
Different DI API Versions handles different XML versions.
see ocompany documentation or you can use the following to reach version 2.
oCompany.XmlExportType = SAPbobsCOM.BoXmlExportTypes.xet_ExportImportMode
oCompany.XMLAsString = False
You can define in the xml file the version. Even if you have an older version it can work also.
I have put here a stocktransfer, but i have found a Purchase Invoice
Here is version 1/2 from 2004ABC versions up to 2007AB ... I had a full function for you.input is the draft absentry.
Private Function saveDraftAsPurchaseInvoice(ByVal AbsEntry As String) As Boolean
'oCompany.XmlExportType = SAPbobsCOM.BoXmlExportTypes.xet_ExportImportMode
'oCompany.XMLAsString = False
Dim oPI As SAPbobsCOM.Documents = oCompany.GetBusinessObject(BoObjectTypes.oPurchaseInvoices)
If oPI.GetByKey(1) Then
oPI.SaveXML(My.Application.Info.DirectoryPath & "\sample_Purchase_invoice.xml")
End If
Dim oDraft As SAPbobsCOM.Documents = oCompany.GetBusinessObject(BoObjectTypes.oDrafts)
If oDraft.GetByKey(AbsEntry) = False Then
Return False
End If
Dim FileName As String = My.Application.Info.DirectoryPath & "\18_" & CStr(DateDiff(DateInterval.Second, CDate("2007/01/01"), Now)) & ".xml"
Dim xmlString As String
Dim oXmlDoc As New Xml.XmlDocument
xmlString = oDraft.GetAsXML()
' event this is not set you have version 1 using table names!
'oCompany.XmlExportType = SAPbobsCOM.BoXmlExportTypes.xet_ExportImportMode -> version 2 of XML DI API, using DOCUMENT instead
' of table name !
xmlString = xmlString.Replace("<Object>112</Object>", "<Object>18</Object>")
xmlString = xmlString.Replace("<ODRF>", "<OPCH>")
xmlString = xmlString.Replace("</ODRF>", "</OPCH>")
xmlString = xmlString.Replace("<DRF1>", "<PCH1>")
xmlString = xmlString.Replace("</DRF1>", "</PCH1>")
xmlString = xmlString.Replace("<DRF3>", "<PCH3>")
xmlString = xmlString.Replace("</DRF3>", "</PCH3>")
xmlString = xmlString.Replace("<DRF6>", "<PCH6>")
xmlString = xmlString.Replace("</DRF6>", "</PCH6>")
oXmlDoc.LoadXml(xmlString)
oXmlDoc.Save(FileName)
Dim oDoc As SAPbobsCOM.Documents = oCompany.GetBusinessObject(BoObjectTypes.oPurchaseInvoices)
Try
oDoc = oCompany.GetBusinessObjectFromXML(FileName, 0)
oDoc.Comments = oDraft.Comments & " DI API ADDED FROM DRAFT"
oDoc.DocNum = 0
oDoc.DocDate = Date.Today
oDoc.DocDueDate = Date.Today
oDoc.TaxDate = Date.Today
lRetCode = oDoc.Add()
'Kill(FileName)
If lRetCode = 0 Then
Dim NewEntry As String = String.Empty
Call oCompany.GetNewObjectCode(NewEntry)
sbo_application.StatusBar.SetText(NewEntry)
Else
sbo_application.StatusBar.SetText(oCompany.GetLastErrorCode.ToString & " - " & oCompany.GetLastErrorDescription)
End If
Catch ex As Exception
sbo_application.StatusBar.SetText(ex.Message)
End Try
End Function
Regards
J.
Edited by: Janos Nagy on Aug 12, 2008 1:13 PM -
GR QUANTITY NOT MATCH WITH SALES ORDER QTY IN DELIEVERY
Hello Experts.
due to over delivery tolerance in purchase order , some times we do gr for more than sales order qty for an item
for eg in sales order item qty = 3000
and during GR we receive 3052 due to delivery tolerence
so at the time of making delivery thru vl01n sales order qty copies which is 3000 .
i need that sys should copy the qty from GR qty OR sys shud give an error msg , for this is there any Configuration method in sap
OR using Enhancement
Regards: HemantHi
Check whether the sales order creation date and actually when you created the delivery ? if say u created the sales order yesterday with yesterday date as delivery date and carried out delivery process to day means. The delivery date in the delivery process will be today date in that case delivery date wont match with sales order. This is one case like that so many cases are there.
Material might not be confirmed etc....
Regards,
Mullai -
Hi Gurus,
Tell me what r the purchase invoice tax tables.
i mean in which table purchase invoice BED, Educational Cess & Higher ECess fields are available.
regards,
lakshminarayanaHi
Purchase Invoice Tax Tables :
http://www.sap123.com/showthread.php?t=1.
In above link you will find invoice verification tables related to tax.
Invoice Verification
BSIM - Secondary index: documents for material
MYMFT - FIFO results table
MYML - LIFO material layer
MYMLM - LIFO material layer (monthly)
MYMP - LIFO period stocks, single material
MYMP1 - Receipt data LIFO/FIFO valuation
MYPL - LIFO pool layer
MYPLM - LIFO pool layer (monthly)
RBCO - Document item, incoming invoice account assignment
RBDIFFKO - Invoice Verification: conditions
RBDIFFME - Invoice Verification: quantity differences
RBDRSEG - Invoice Verification batch: invoice document items
RBKP - Document header: incoming invoice
RBKPB - Invoice document header (batch invoice verification)
RBTX - Taxes:incoming invoice
RBVD - Invoice document: summarization data
RBVDMAT - Invoice Verification: summarization data, material
RBWT - Withholding tax:incoming invoice
RKWA - Consignment withdrawals
RSEG - Document item, incoming invoice
With Regards
Nikunj Shah
Maybe you are looking for
-
Data source for Deposit Advice (XML) and Live CheckWrite (XML) reports
Hello All, We need to customize the Deposit Advice (XML) and Live Check Write(XML) reports to accomodate a few business requirements. We already have customizations for these reports in non-XML versions. For Ex: USPAYPST.rdf for Deposit Advice report
-
Dump while executing this Funciton Module PT_ARQ_REQLIST_GET.
Hi, I am using the function module PT_ARQ_REQLIST_GET to get the leave requests. when i execute this function module first time i am getting the values, when i come back and change the personal number in the import parameter and execute the same mea
-
Partial Paging on Report Regions
I haven't seem a large use of Partial Paging on Report regions on any of the example packaged application Is there a way I can implement partial paging on a subset of a report region ? e.g. I have a grid like the following project 1 task 1 task 2 pro
-
BEx : several gl accounts in the rows
Hi Experts, I need to display a few GL accounts in the rows and the respective 0balance in the columns but does not want to use hierarchy nodes for these. Any clue how this can be created? Regards M Russo
-
Verizon Cloud online does not work
The site just times out and the screen remains blank. I think I got it to work once months ago. Anyone else notice this?