Avoid printing child items of Sales BOM in AR Invoice
Hi All,
I have a requirement to edit the print layout of AR Invoice to see only the parent item of the Sales BOM in SAP 2005.
In SAP 2007, there is an option to Hide BOM Components in Print Out but how do I avoid printing child items in SAP 2005.
Please advise.
Thanks for your help!
Regards,
Payal
Hi Payal,
As a definition of B1, the children of the Sales BOM will always be shown in a marketing document.
However, we can change the template to hide them from the printouts. Please kindly follow the steps as below:
Print template editing for removing child items of Sales BOM
1.Add a new Text Field with Text 'I' in the Repetitive Area. ('I' is the attribute for child items)
2.Add a new Data Field in the Repetitive Area as below:
a)In the Content tab, chose Table A/R Invoice # Rows and Column BOM Type
3. Add a Formula in the Repetitive Area as below In the Content tab, chose:
i.Source Type: Formula
ii.In the Formula Editor, insert Field 1: the newly created Data field
iii.Operation: !=
iv.Field 2: the newly created Text field e.g. Field_316!=Field_315
4.Set the three fields added as Invisible, in order to set it as invisible, please uncheck the Visible box under General tab
5.Set Link to Field on the General tab of every field in the Repetitive Area (Row Level) to the exclusive number of the newly created calculation field.
6.Double-click the Repetitive Area to open Repetitive Area Property, Check Area Height Adjustment box under Format tab to hide the blank lines.
7 Save template and set as default, print preview.
You will find that the row number is the original, not successive, number. It is better to hide the row number field.
I hope it shall help.
Regards,
Varun
SAP Business One Forum Team.
Similar Messages
-
Problem adding a sales bom to an invoice
Hi
I am trying to add a sales bom to an invoice, which I can add ok but I can't seem to access the components of the bom
I have logged this with SAP and they said I should post a request on this forum
Thanks
Regards AndyK.. I see what you mean now.
The best place to ask this question is in the SDK forum (link below)
SAP Business One SDK
They will definitely be able to help you out there! Don't worry, you definitely won't get redirected to another forum from there!!! =)
As an end user have only used the DTW (where you have to enter all components etc), so can't be of any help.
Edited by: Rajiv Agarwalla on May 9, 2008 1:06 AM -
Sales BOM its possible edit the quantity for child items in Sales Order
Hello friends, this is my issue
I need to use a Sales BOM but the problem is that the child items in any Document marketing, such as Sales Order, the quantity for that child items it´s possible to edit independant of the father item code, and I don´t want this because allows to users to change diferent quantity for child items versus the quantity of the father item code.
Thanks in advanceThanks Gordon yes I know even with this solution the problem is the with transaction notification is not possible determine that event to block, or if you know how or get some tip, please send me, because I analyze the requirement and I couldn´t develop.
Tks -
Plant Determination for Third Party Material as Child Item in Sales Order
Hi All,
We have an issue with the Plant Determination for Third Party Material as Child Item in a Sales Order.
Even when a Delivering Plant is maintained for the child item which is a Third Party Material, the plant of the Parent Item is only populated as the Default plant in the Sales Order
Can someone explain the reason behiind this determination.
P.S.- For all non -Third PartyChild Items (with non-Third Party Item Catefory & Material Type), the Plant is population correctly as per Delivering plant in Material Master.
TIA.
Regards,
SridharHi,
Thanks everyone for the feedback.I agree with Samir Danish.It is a standard functionality of SAP which does not allow free goods for BOM material.
However, can someone suggest work around to deal with this issue.I mean if any one has been doing any work around for this issue then please let me know.It s becoming critical for me.
Regards,
BM -
Wrong Availability check for Header Item in Sales BOM after BOP
Hi Guys
I am stuck with a very weird problem. Request your advice:
I have a Sales BOM with one item Lets header is 'A' and Item 'B'. On creation of Sales Order ATP check is performed and both the line items (with A and B) the committed qty and committed date.
Now when BOP runs, it deletes the allocation of A and changes it to '0'
Details:
'A' is a non stockable product
Req:
1. I am not sure whether I should include A in BOP selection, however even running it only with B it deletes the allocation of A and the committed qty changes to '0'
Can you please suggest the solution or standard way of running BOP for Sales BOM
Thanks in advance
-RahulThanks for writing in Prasun
Yes I created a new Filter type however when you add a STO category and then you change the fields to include item category you will get the same error. I am also in V 5.0 of SCM
Normally we use SAP_NetChange filter type. So is it possible to restrict using item category for this filter some how!
On the otherhand I also wonder these should not ATP relevant as the header item is non stockable item! And I guess there should some catch to exclude if not item category as you mentioned!
So the order categories included are:
Customer Inquiry
Customer quotation
Sales Order
SD Scheduling Agreement
SD Scheduling agreement w/external
Contract
Delivery w/io charge
Independent requriement
Release from customer in plant
STO
Deplyometn release
TLB release for purc ord
Fields
Product
location
distribution centrer
MRP area
product Hierarchy
Location hierarchy
supplier location
These are std filter type and I cant be modified.. however we restrict our filter to location only!
Kindly advice!
Thanks in advance
-RK -
Header Item of Sales BOM is not copied into second delivery
Hi Gurus
I have an issue to be solved immediately. Please help me to fix this.
I have a Sales BOM in order with components exploded (The Header Item has 5 Components). The pricing is maintained at header level. The order is created with a quantity of 5.
Schedule lines in the order show that quantity of 3 is available immediately and another 2 are available in another one week.
Due to availability of material/confirmed quantity, first outbound delivery is created (VL01N) with reference to the order for a quantity of 3. In the delivery, Picking & PGI was done for this delivery.
My issue is: When I go to create the second outbound delivery with reference to the above same order, for the remaining quantity of 2, I can see 5 components displayed, BUT NOT THE HEADER ITEM IN THE DELIVERY. My client wants to see the header item as well in the delivery as it is sent to freight carrier.
Please guide me to fix this.
Thanks in advance.But you have already delivered the header item Let's say your header item is number 10 and your increment is 10. Create item 11 with the header material and delete the exploded BOM. Now you have a new header item to deliver with the remaining 2 pieces of your BOM materials.
-
Delivery and Invoicing of items with Sales BoM
I have created a sales Bom and all the items are excisable. After creating delivery when i copy to Outgoing excise invoice, the system does not llow me to add and i get error "There are excisable items with non cenvatable tax code"
All the items created even the components are exciseable but it doesnt allow to copy the same tax code to the components and doesn't allow to mke OEI. How can i create invoices in such case? SAP 2007B, PL10
ThanksHi Agranshu........
Whichever tax you are taking into the transaction please check the Tax Category in Tax Type of BED, Cess and HSCess component. I guess that is under Non Cenvat.
This error generally comes when then Tax Types are not under cenvat tax codes and we try to add the transaction for excisable commodity.............
Regards,
Rahul -
Dear All,
We have a BOM (sales type). Then when I create a sales order, I can see the BOM and its components as well.
How can we disable the components and only display the BOM itself?
In BOM, I already check the checkbox 'hide BOM components in printout'. It has to be somewhere I should check but I forgot where. Thanks.
Regards,
YukaDear Yuka,
You may check this thread:
Avoid printing child items of Sales BOM in AR Invoice
Thanks,
Gordon -
How to hide componant row of BOM while creating sales order OR AR Invoice
Dear expert
my client wants to create Sales order with Sales BOM, but they do not want to see componant product while create sales order or AR invoice they want to see only parent items.
Please help me asapHi,
check below link
Avoid printing child items of Sales BOM in AR Invoice
Regards
Deepak Tyagi -
Hi,
Has anyone got any suggestions on how the following can be achieved?
We have several partcodes that relate to kits, these kits contain serveral partcodes that are otherwise available singularly.
A kit will have its partcode and serial number and all child products within with have their individual partcode and serial number.
For the purpose of Sales & Support we would like to be able to sell the products as a Sales BOM thereby having a record of each product in the kit.
However we cannot have a Production or Sales BOM on a Purchase Order to the supplier as SAP does not allow this.
So how using SAP can we purchase a Parent Child structure and then Sell the same Parent Child structure in order to record all the details in the transaction?
I look forward to hearing from you.hi! for the purpose of purchasing, you can purchase the partcodes individually. although, you cannot purchase it in a paren-child structure, this way, you can purchase the partcodes and the kit and have it available in the system. once the items are available, whether parent, child or the Sales-BOM can now be used in sales. on the other hand, when you use a production BOM, your sales document will not reflect a parent-child structure in sales documents. only the parent item will be reflected in your sales documents.
hope this helps! -
Hi ..
When im loading Sales BOM from Sales Quotation to Invoice with Sales Bom via SDK , im receiving this error message .
" Error The complete Sales BOM, not just some of the components, must be copied to an A/R Invoice or a Delivery [INV1.TreeType][line: 42] " , im basically transfering record by record from Sales Quotation to Invoice
But if i used the copy to function to invoice this Sales Quotation , i can be invoice
I would like to know, whats is reason of this error message?
thanks
LorenHi Yatsea
Thank you for your response,
Yes i followed some of the documents in the forum on how to add /copy a document to another document . My problem right now, if i will load 2 or more bom items on one invoice, i receive the same errror "Error The complete Sales BOM, not just some of the components, must be copied to an A/R Invoice or a Delivery http://INV1.TreeTypeline: 42"
but if a sepate the sales bom on different invoice (1 invoice = 1 Sales BOM) , the transaction goes well ....
please see code
start code -
Private Function CreateInvoiceFromQuotation()
Dim oInvoice As SAPbobsCOM.Documents
Dim oSalesQuotation As SAPbobsCOM.Documents
Dim rsForInvoice As SAPbobsCOM.Recordset ' A recordset object
Dim rsFrInvDtls As SAPbobsCOM.Recordset ' A recordset object
Dim oRecordCount As Integer
Dim rUpdateStatus As SAPbobsCOM.Recordset
Dim SQLStr As String
Try
rsForInvoice = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
SQLStr = "SELECT OQUT.DocEntry,OQUT.DocDate, OQUT.DocDueDate, OQUT.CardCode, OQUT.NumAtCard, OQUT.Comments "
SQLStr = SQLStr & "FROM [@TDOCPROC] INNER JOIN OQUT ON [@TDOCPROC].U_DocEntry = OQUT.DocEntry"
rsForInvoice.DoQuery(SQLStr)
oRecordCount = rsForInvoice.RecordCount
Do While rsForInvoice.EoF = False
'oCompany.StartTransaction()
oInvoice = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oInvoices)
oInvoice.CardCode = rsForInvoice.Fields.Item("CardCode").Value
oInvoice.DocDate = rsForInvoice.Fields.Item("DocDate").Value
oInvoice.DocDueDate = rsForInvoice.Fields.Item("DocDueDate").Value
oInvoice.Comments = rsForInvoice.Fields.Item("Comments").Value
oInvoice.DocType = SAPbobsCOM.BoDocumentTypes.dDocument_Items
details -
Dim StrFilter As String
Dim z As Integer
Dim RecCnt As Integer
Dim oInvNum As String = 0
rsFrInvDtls = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
StrFilter = "SELECT * FROM qut1 WHERE DOCENTRY =" & rsForInvoice.Fields.Item("DocEntry").Value & " order by linenum "
rsFrInvDtls.DoQuery(StrFilter)
RecCnt = rsFrInvDtls.RecordCount
z = 0
Do While rsFrInvDtls.EoF = False
Dim prodCode As String
prodCode = rsFrInvDtls.Fields.Item("ItemCode").Value
If z = 0 Then
oInvoice.Lines.ItemCode = rsFrInvDtls.Fields.Item("ItemCode").Value
oInvoice.Lines.ItemDescription = rsFrInvDtls.Fields.Item("Dscription").Value
oInvoice.Lines.WarehouseCode = rsFrInvDtls.Fields.Item("WhsCode").Value
oInvoice.Lines.Quantity = rsFrInvDtls.Fields.Item("Quantity").Value
oInvoice.Lines.UnitPrice = rsFrInvDtls.Fields.Item("Price").Value
oInvoice.Lines.CostingCode = rsFrInvDtls.Fields.Item("OcrCode").Value '--- Profit Center
' oInvoice.Lines.TreeType = rsFrInvDtls.Fields.Item("TreeType").Value '--- Profit Center
'oInvoice.Lines.AccountCode = rsFrInvDtls.Fields.Item("Acctcode").Value
oInvoice.Lines.LineTotal = rsFrInvDtls.Fields.Item("LineTotal").Value
oInvoice.Lines.BaseLine = rsFrInvDtls.Fields.Item("LineNum").Value
oInvoice.Lines.BaseEntry = rsForInvoice.Fields.Item("DocEntry").Value
oInvoice.Lines.BaseType = SAPbobsCOM.BoObjectTypes.oQuotations
Else
oInvoice.Lines.Add()
oInvoice.Lines.SetCurrentLine(z)
oInvoice.Lines.ItemCode = rsFrInvDtls.Fields.Item("ItemCode").Value
oInvoice.Lines.ItemDescription = rsFrInvDtls.Fields.Item("Dscription").Value
oInvoice.Lines.WarehouseCode = rsFrInvDtls.Fields.Item("WhsCode").Value
oInvoice.Lines.Quantity = rsFrInvDtls.Fields.Item("Quantity").Value
oInvoice.Lines.UnitPrice = rsFrInvDtls.Fields.Item("Price").Value
oInvoice.Lines.CostingCode = rsFrInvDtls.Fields.Item("OcrCode").Value '--- Profit Center
'oInvoice.Lines.AccountCode = rsFrInvDtls.Fields.Item("Acctcode").Value
oInvoice.Lines.LineTotal = rsFrInvDtls.Fields.Item("LineTotal").Value
oInvoice.Lines.BaseLine = rsFrInvDtls.Fields.Item("LineNum").Value
oInvoice.Lines.BaseEntry = rsForInvoice.Fields.Item("DocEntry").Value
oInvoice.Lines.BaseType = SAPbobsCOM.BoObjectTypes.oQuotations
End If
z = z + 1
rsFrInvDtls.MoveNext()
Loop
rsFrInvDtls = Nothing
Dim cResult As String
Dim cMessage As String
Dim dPostDate As Date
cResult = ""
If oInvoice.Add <> 0 Then
' MsgBox("Error " + oCompany.GetLastErrorDescription())
cMessage = "Error " + oCompany.GetLastErrorDescription()
cResult = "Failed"
dPostDate = DateTime.Now.ToString
dPostDate = Date.Parse(dPostDate)
rUpdateStatus = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
SQLStr = "update [@TDOCPROC] set U_DOCSTATUS = '" & cResult & "' ,U_InvNum = " & oInvNum
SQLStr = SQLStr & ",U_REMARKS = '" & cMessage & "'"
SQLStr = SQLStr & ",U_POSTDATE = '" & dPostDate & "'"
SQLStr = SQLStr & " where u_DocEntry = " & rsForInvoice.Fields.Item("DocEntry").Value
rUpdateStatus.DoQuery(SQLStr)
Else
Dim rs1 As SAPbobsCOM.Recordset
Dim retval As Long
Dim cValues As Integer
cResult = "Success"
oInvNum = oCompany.GetNewObjectKey()
oSalesQuotation = oCompany.GetBusinessObject(BoObjectTypes.oQuotations)
cValues = rsForInvoice.Fields.Item("DocEntry").Value
If (oSalesQuotation.GetByKey(cValues) = True) Then
oSalesQuotation.Close()
oSalesQuotation.Update()
Else
Dim errcode As String
Dim errmsg As String
oCompany.GetLastError(errcode, errmsg)
MsgBox(oSalesQuotation.CardCode)
MsgBox("Failed to Retrieve the record " & errcode & " " & errmsg)
End If
End If
dPostDate = DateTime.Now.ToString
dPostDate = Date.Parse(dPostDate)
rUpdateStatus = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
SQLStr = "update [@TDOCPROC] set U_DOCSTATUS = '" & cResult & "' ,U_InvNum = " & oInvNum & ","
SQLStr = SQLStr & " U_PostDate = '" & dPostDate & "'"
SQLStr = SQLStr & " where u_DocEntry =" & rsForInvoice.Fields.Item("DocEntry").Value
rUpdateStatus.DoQuery(SQLStr)
'If oCompany.InTransaction = True Then
'-ompany.EndTransaction(BoWfTransOpt.wf_Commit)
'End If
rsForInvoice.MoveNext()
Loop
rsForInvoice = Nothing
' 'msg2send(NumOfInv) = oDocNum
' 'Insert2OCTP(vDocNum, vDocDate, oDocNum, Now.ToShortDateString, vCardCode, vCardName)
Catch ex As Exception
MessageBox.Show(ex.Message)
End Try
End Function
end code
thank you -
Printing SALES BOM sub items / child items
Hi,
We currently have SALES BOM materials setup & have sub items suppressed from printing on pick notes & delivery notes. I now have some materials which i need to be SALES BOM materials but i want the sub items to print on the pick notes & delivery notes.
I have copied the material type into a new material type but dont know where to look where I can allow printing of sub items for this material type?? I've look in IMG & also SMARTFORMS but can find where i need to configure this.
Can someone please help?? p.s I'm a bit of a novice so will need detailed instructions.
Many thanks in advance
DeanPlease try VBAP and VSVBAP_CN tables.
You have to take VBAP-SERNR field for your sales order and give it as input in VSVBAP_CN-SERNR and then you will get all the parent and child items. If you tell this to ABAPer, he should be able to enable this in the smartform you are going to use.
The same field is available in VBRP also.
Hope this helps. -
Delivery document how to print the BOM Parent and Child items
Hi,
I have a production BOM. In Delivery document how to print the Parent and Child items Item Code and Qty.At the time
of add a delivery document Inventory stock redused only in Parent Item not child item because child item stock already reduced in issue for production.If you need to print both the BOM Parent and Child items, you have to create your own report. BOM is only for production if it is not Sales type.
Thanks,
Gordon -
TAX Calculation as per child items for fininsh goods in sale bill.
hi team,
here i am implementing SAP business one in construction company :
SCENARIO:
TEMPLATE BOM= FG=ABC+D
steps:
1.sales order for FG item in which child items we are manually at row level for print layout issues.
2.Delivery challan document we are making by copy to functionality and then again selecting FG item so that
child items come again under FG at row level this we are doing so that we can decrease teh stock of chil items whihc ever is required.
3.A/R invoice we are creating in system only with FG item by deleting child item at row level due to print layout problems.
in sales invoice we are entering unit price of FG.
ISSUE ONLY ON VAT:
here in this company during creation of sales invoice WE HAVE to calculate the tax amount through system but the problem is that we have different taxt rates for different child items whihc is explained as below:
1.A(Material-aluminum)-vat@4%
2.B(material- hardware)- vat 12.5%
3.c(Material- Glass)- vat@4%
4.D(labour)- VAT not applicable only service tax 10.3% is applicable
so now my question is as follows:
1.how to calcualte the vat tax amount on invoice if child items are not present on invoice or
how to calculate the sale price( exclusive of tax) of the child item from the sale price of the FG(COMPANY is not able to bifurcate the sale price of finish goods at child items)
example:
after adding delivery we can come to know the COGS of the child items suppose
A=50
B=30
C=20
D=60
total=160
FG SALE PRICE =200 (exclusive of tax)SO Total margin is 40Rs(equivalent to 25%)
then A= 5012.5(MARGIN)=62.5 WITH VAT 4%= 62.52.5=65
B=307.5(MARGIN)=37.5 WITH VAT 12.5%= 37.54.69=42.19
C= 205(MARGIN)=25 WITH VAT 4%= 251=26
D=60+15(MARGIN)=75 with NIL VAT
FG= 62.537.525+75=200
vat on above= 2.54.691= 8.19Rs.Hi Amit,
Ur example is practicle example by PLD or query and QPLD this is not possible to solve.
I will suggest u , through help of crystal report and developer u can get desire output for print out of sales bill
with reference of its base documents.
Regards,
Mahesh. -
No. of child Items should be printed with the parent item at row level
Hi..
that the number of the child Items should be printed on A/R Invoice along with the parent Item at row level.
I want to know whether this is possible through PLD or not . if yes, please let me know how ?
Regards
Rakhi
Edited by: Rakhiatsap on Jul 12, 2010 9:21 AMhi Joseph
I have defined the Sales type of BOM for the parent Item. At the of punching the A/R Invoice, all the child items appear under the parent items and changeable in terms of Numbers. and in the printed Invoice parent item details appear.
What i want that the only number of child items of parent item should appear at the row level.
Regards
Rakhi..
Maybe you are looking for
-
I have a need to build a truly dynamic query, that would be able to take online form input and create a query that would handle data requests like, How many employees earn less than #some salary, have a masters degree, and speak chinese. or show me
-
Cenvat to add on material during STO
Dear experts, How we can load the cenvat cost on material during stock transfer from plant to plant within company code with shipping? Manoj
-
Update Delivery qty via user exits
Hello all, I need to replace the delivery qty that is copied from sales order with another qty during delivery creation (or) at the time of saving the delivery. I have tried replacing the field LIPS-LFIMG in various user exits. But none had updated t
-
just bought some new headphines. the quality of the audi through them is gargly and ver ver distoted. they are nice skullcandy headphones. i can get good sound when i push in the headphons really hard to the jack. i treid another hack on my phone and
-
Webcenter Spaces ps2 : REST webservices
Hi All, Is there any REST webservice support for Webcenter Spaces ps2, it's there for ps5 but i am looking for PS2... i will appreciate if anyone can help me out with it. Thanks