Sales Opportunities
Hi
In one of client's company there are a few number of sales employees.And they handle diffrent products.After they capture the leads in sales opportunities,the sales employees from other product division should not access their opportunities.Is there a way to do this?
Regards
Louis
Hi Louis,
Data ownership is the option for you out of B1 box. However, you may find this function not good enough for you to completely block some other non-authorized users to view certain documents.
Try them first, if you are not satisfied with the result, you have to go through SDK or add-on to get what you want exactly.
Thanks,
Gordon
Similar Messages
-
Sales Opportunities and Follow Up Activities
Hi Experts.
We have a customer who uses Sales Opportunities and Activities extensively.
What they are finding is that when they create a follow up Activity from an Activity linked to a Sales Opportunity, the fields Source Object Type and Source Object No. are not always populated with Sales Opportunity and the Sales Opportunity number. This data is showing on the original Activity.
Also, when you access Related Activities from the Sales Opportunity, the follow up Activity is not always show.
I would like to be able to send you some screen dumps of this.
Any suggestions?
Thanks for you time.
Julie CoppinsWhat is your B1 version and PL? It is probably a bug due to less demand to this function. Log a message to support team anyway to get their official answer.
Thanks,
Gordon -
Issues with Sales Opportunities
Hello again!
Sorry to be a pest! I'm trying to put WebTools 2007 (628) through it's paces prior to training some of our staff in it's use for CRM purposes, and I've hit a few more snags, these in particular are related to Sales Opportunities.
1. Hitting the Refresh Button (F5) on Stages tab after adding a Stage duplicates that stage and can be repeated multiple times. In theory this creates stages that would not be possible in B1. This would also create a Synching issue because B1 wouldn't allow the overlapping stages.
2. "Associated Document Number" does not link to correct the sales document. For example a sales order in WT is totally a different BP, although it does appear correctly in B1. I know in the OPPR1 Table there is a docid (docentry) and docnum column, perhaps WT is synching on the wrong one, thus linking the wrong document.
3. Adding stages appear not to be Synching back to B1. The following error message occurs. Since the Close Date is not an exposed field in WT, there is no ability to go back to alter the close date of the prior stage before creating a new stage. Because of this there is no way to prevent the following Error:
-5002:Date deviates from permissible range [OPR1.OpenDate][line: 1]
at NetPoint.SynchSBO.WebToolsChildObjects.OpportunityStage.NetPointToSBO(NPQueueObject qData)
at NetPoint.SynchSBO.SynchObjectBase.Synch()
4. Adding/Deleting Stages which have a sales amount does not update the "Total Sale" Amount in the heard record as it would the Potential Amount on the B1 side.
5. Column headings are incorrect under Sales opportunity --> Stages. It shows "sale sPerson" and "Tota lSale" and each column is shifted over by one because the date column heading appears to be missing.
Thanks,
Jason WaltersJust checking to see if anyone has re-produced any of these issues...
Thanks!
Jason Walters -
Update sales opportunities with DTW
Hi Experts,
I am trying to update sales opportunities with DTW but get the error below even with a file as simple as:
RecordKEy;SequentialNo;OpportunityName
RecordKEy;SequentialNo;OpportunityName
1;17803;Anything
2;17892;Anything
3;17894;Anything
The Reason of the error:
"CServiceData::VerifyPropertyWrite failed: Property 'SequentialNo' of 'SalesOpportunities' is read onlyoSalesOpportunities"
Do you have any idea what may be wrong?Dear Martin Kamau,
By SDK help, the Source table of SalesOpportunities Object is OOPR, and SalesOpportunitiesLines is OPR1.
In B1 application Sales Opportunity form, you could check which field need to set for OOPR and OPR1, you could refer to SDK help file also.
Best Regards
Jane Jing
SAP Business One Forums team -
Importing Sales Opportunities with DTW
Hello,
I am trying to import the sales opportunities with the DTW, but I keep on getting the following error
potential amount is missing [OPR1.MaxSumLoc][Line: 1][Application defined or Object- definederroroSalesOpportunities]
I am using SAP 2007A patch level 47.
I have the following one line that I have been testing with, after my previous inputs failed. Please assist.
RecordKey 1
CardCode L1004
ContactPerson 2
Dataownershipfield 14
SalesPerson 4
Date 20090419
Status sos_Open
TotalAmountLocal 100.00
Edited by: Martin Kamau on Apr 19, 2009 6:57 PMDear Martin Kamau,
By SDK help, the Source table of SalesOpportunities Object is OOPR, and SalesOpportunitiesLines is OPR1.
In B1 application Sales Opportunity form, you could check which field need to set for OOPR and OPR1, you could refer to SDK help file also.
Best Regards
Jane Jing
SAP Business One Forums team -
How to Get SOAPElement BOM in SOAPMessage for Sales Opportunities
Hi experts,
I'm newbie in using Java.
I want to Update Sales Opportunities using SOAPMessage in Java.
So far, this is my sample code:
import javax.xml.namespace.QName;
import javax.xml.soap.MessageFactory;
import javax.xml.soap.SOAPBody;
import javax.xml.soap.SOAPConstants;
import javax.xml.soap.SOAPElement;
import javax.xml.soap.SOAPHeader;
import javax.xml.soap.SOAPMessage;
import javax.xml.ws.Dispatch;
import javax.xml.ws.Service;
import testws.salesopportunities.BOM;
import testws.util.MyHandler;
public void updateOppr() {
Service service = Service.create(new QName("UpdateOpportunities"));
QName portQName = new QName("UpdateOpportunities");
QName elementbom = new QName("BOM");
try {
String endPoint = "http://192.168.56.102/B1WS/service.asmx";
service.addPort(portQName, javax.xml.ws.soap.SOAPBinding.SOAP12HTTP_BINDING, endPoint);
service.setHandlerResolver(new MyHandler());
Dispatch<SOAPMessage> sourceDispatch = service.createDispatch(portQName, SOAPMessage.class, Service.Mode.MESSAGE);
salesOpBOM = (new testws.salesopportunities.ObjectFactory()).createBOM();
JAXBContext context = JAXBContext.newInstance(salesOpBOM.getClass().getPackage().getName());
Marshaller marshaller = context.createMarshaller();
SOAPMessage msg = MessageFactory.newInstance(SOAPConstants.SOAP_1_2_PROTOCOL).createMessage();
// create header
SOAPHeader header = msg.getSOAPHeader();
SOAPElement elMsgHeader = header.addChildElement("MsgHeader", "", "http://www.sap.com/SBO/DIS");
SOAPElement elSession = elMsgHeader.addChildElement("SessionID");
elSession.addTextNode(sessionID);
// create body
SOAPBody body = msg.getSOAPBody();
SOAPElement elCommand = body.addChildElement("UpdateObject", "", "http://www.sap.com/SBO/DIS");
SOAPElement elBOM = elCommand.addChildElement("BOM");
SOAPElement elBO = elBOM.addChildElement("BO");
SOAPElement elAdmInfo = elBO.addChildElement("AdmInfo");
SOAPElement elObj = elAdmInfo.addChildElement("Object");
elObj.addTextNode("oSalesOpportunities");
SOAPElement elQueryParam = elBO.addChildElement("QueryParams");
SOAPElement elParam1 = elQueryParam.addChildElement("SequentialNo");
elParam1.addTextNode("69");
SOAPElement elslsOpLine1 = elBO.addChildElement("SalesOpportunitiesLines");
SOAPElement elLineRow = elslsOpLine1.addChildElement("Row");
elLineRow = elslsOpLine1.addChildElement("Row");
elLineRow = elslsOpLine1.addChildElement("Row");
SOAPElement elLineRowMaxTotal = elLineRow.addChildElement("MaxLocalTotal");
SOAPElement elLineRowStageKey = elLineRow.addChildElement("StageKey");
SOAPElement elLineRowStagePercent = elLineRow.addChildElement("PercentageRate");
elLineRowStagePercent.addTextNode("85.00");
elLineRowStageKey.addTextNode("5");
elLineRowMaxTotal.addTextNode("1000000.00");
marshaller.marshal(salesOpBOM, elCommand);
msg.saveChanges();
SOAPMessage response = sourceDispatch.invoke(msg);
//End UpdateObject (Update Document / Add Document Lines)
} catch (Exception ex) {
ex.printStackTrace();
Edited by: Siddharta on Mar 4, 2011 10:31 AMAfter I Debug this code, i get an error message (SOAP Request were trimmed):
Update sales opportunities
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope">
<env:Header>
<MsgHeader xmlns="http://www.sap.com/SBO/DIS">
<SessionID>D8419D24-4E71-4D10-A425-1ADCCD6020C3</SessionID>
</MsgHeader>
</env:Header>
<env:Body>
<UpdateObject xmlns="http://www.sap.com/SBO/DIS">
<BOM>
<BO>
<AdmInfo>
<Object>oSalesOpportunities</Object>
</AdmInfo>
<QueryParams>
<SequentialNo>69</SequentialNo>
</QueryParams>
<SalesOpportunitiesLines>
<Row/>
<Row/>
<Row>
<MaxLocalTotal>1000000.00</MaxLocalTotal>
<StageKey>5</StageKey>
<PercentageRate>85.00</PercentageRate>
</Row>
</SalesOpportunitiesLines>
</BO>
</BOM>
<BOM xmlns="" xmlns:ns3="http://www.sap.com/SBO/DIS"/>
</UpdateObject>
</env:Body>
</env:Envelope>
javax.xml.ws.soap.SOAPFaultException: Invalid XML Stream
at com.sun.xml.internal.ws.fault.SOAP12Fault.getProtocolException(SOAP12Fault.java:210)
at com.sun.xml.internal.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:111)
at com.sun.xml.internal.ws.client.dispatch.DispatchImpl.doInvoke(DispatchImpl.java:176)
at com.sun.xml.internal.ws.client.dispatch.DispatchImpl.invoke(DispatchImpl.java:195)
at testws.Main.updateOppr(Main.java:173)
at testws.Main.main(Main.java:43)
Why there is 2 SOAPElement for <BOM> ?
If my code is wrong, please can you help me?
Is there a way to get SOAPElement <BOM> in SOAPBody so i can update Sales Opportunities Document without addChildElement for <BOM>?
Thanks a lot.
Edited by: Siddharta on Mar 4, 2011 10:38 AM -
Sales Opportunities and Activities Import
We need to import the attached into SAP as Sales Opportunities and related Activities.
I believe the mappings are roughly as follows:
Opportunities
Source Destination
SalesCode OOPR.CardCode
Createdate OOPR.StartDate
Description OOPR.OpportunityName
Opportunity_Value OPR1.MaxLocalTotal
Acct. Manager OOPR.SalesPerson (id lookup)
Activities
Source Destination
Contact Name OCLG.ContactPer
SalesCode OCLG.CardCode
Description OCLG.CntctSbjct
Call Back Date OCLG. CntctDate
What I canu2019t see is how to link the activity to an opportunity.
NB: Where there isnu2019t a contact name and call back date, there is no activity to be created.
Regards,
JuanHi Juan,
To link Sales Opportunities with Activities, you need to assign OCLG.parentType = 97 and OCLG.parentID=OOPR.OpprId
Thanks,
Gordon -
Dear Experts,
Is it possible to upload an activity using DTW and link it to a sales opportunity?
Regards,
JimitDear Jimit,
Yes. You may try oContact template for DTW activity. Then update your Sales Opportunities to link them.
Thanks,
Gordon -
Rights to modify sales employee on sales opportunities
Is there a way on sales opportunities to prevent users changing the sales employee field?
"Change sales employee" in general authorizations is working only for documents, but not for sales opportunities.
May it be done for example with a stored procedure comparing the actual and the previous value of the field before an update?You may post it here in order to become a candidate for next B1 version:
/community [original link is broken]
Thanks,
Gordon -
Hello,
Should be a simple quetion but I just can't work it out, please help!
On our sales opportunities we record the source. Ie where we advertised to get that opp through the door.
On Sales Reports>Sales Analysis I can see the totals for the month and the gross profit.
What I'm trying to do is map the totals for the month and gross profit against the source. Ie to see which sources make us the money that keeps us going as a company
But I can't seem to find the links anywhere to do a custom query.
Can anyone help?
many thanksHi.......
You can get this link very easily......
Its there in standard report.
When you punch the Sales Opportunity and conclude the same by attaching the document reference like Sales Quotation or Sales Order or any sales Doc. After that if your refer any Opportunity report (Sales Opportunity--> Sales Opportunity Reports) then you have to select the document tick. It will give you the document wise opportunity status.
Hope this will help you.....
Regards,
Rahul -
Change sales employee authorization for sales opportunities
"Change sales employee" in general authorizations is working only for documents, but not for sales opportunities.
There should be an authorization alos for sales employee on sales opportunities.
Not only for itself but also to make a sense to authorization of sales employee on documents, because having full rights to sales employee on sales opportunities make easy to set sales employees on documents even if not authorized, just by adding the document from a sales opportunity from where it will inherit any sales employee.Hi Sean,
Your request is very reasonable. I am supporting this DRQ. It would be better to be include in the new release soon.
What is your B1 version? Have you checked the latest version?
Thanks,
Gordon -
Do we have possibility to transfer/copy leads frm sales opportunities 2 quo
hi.........
actually i have one lead in sales opportunities, my requirement is how to transfer/copy leads from sales opportunities to sales quotation..?
for example: we can transfer sales quotation to sales order in the same way..do we have possibility to find my query..Hi,
Sales quotation and sales order are belong to marketing documents. They are sharing the same structure. However, sales opportunity has totally different structure. It is impossible to copy it to sales quotation.
Thanks,
Gordon -
Numbering Series for Sales Opportunities Documents
Hi
Is it possible to use a different series for different sales opportunities documents ?
I checked the document numbering window but I did not find any provision for that.
thanks
SV ReddyHi All, thanks for the replies,
In response to Suda's statement:
The scenario is like this, the client involved in different activities selling software, providing corporate training, implementing SAP projects etc. So these departments have their own sales, presales and marketing teams working for generating the business. Whenever they contact a new prospect, customer or client all the activities are need to be recorded in single SAP B1 system. So these sales guys want to use a different numbering series with prefixes resembling their department name followed by a number generated by the SAP B1 system. Any suggestions Please.
Thanks
SV Reddy -
Unlock Sales Opportunities Levels
It would be useful if one could unlock the closed rows in the Level tab of the Sales Opportunities module.
In some of my clients I added a column in the Levels tab that will indicate if an invoice has been paid or not, and to update this information, the client has to delete some rows only to add them again...
You could add a flag in the Administration Configuration Sales Opportunities form to allow or deny modifications in the rows of the Levels tab.
Thank you for your attention,
Vítor VieiraHi Vitor,
you can try it with the
SalesOpportunities Object
iam not sure if it is possible but you can try to change
SalesOpportunities.Lines.Status
don't be angry if it is read-only because then there's no way to change the row status.
regards
David -
Hi Experts,
How to track sales opportunity before preparing Quotation...
KarthikKarthi,
Please go through the documentation on understand the Complete Sales Opportunities module and its functionality.
https://websmp108.sap-ag.de/smb/sbo/documentation
http://help.sap.com/
If you have specific questions then you may please post here.
Suda
Maybe you are looking for
-
Retrieve data from xml attributes
Hi I used oracle xml function to query the database and return the following xml data. <Item item1="1000" item2="A" item3="B" />Now i would like to extract the value of item1 attribute from the above xml data. I am not sure how to retrieve the
-
TREX 7.1 with EP6.0?
Hello Does anybody know if TREX 7.1 is supported with EP6 (NW04)? I'm sure TREX is backward compatable but is it officially supported? PAM doesn't say much apart from 'TREX' - doesn't list version number.. thanks
-
Why won't iTunes stay open on my 4s phone?? How do I fix it?
Every time I try to open the app it closes. It closes right away.
-
Background Task Error 0x80270257 in Win10 TP build 9926
Background task will not run after restarting system. EventViewer: Microsoft-Windows-BackgroundTaskInfrastructure/Operational Error 0x80270257 Even windows official apps has this error. What's wrong??? thanks
-
How to find what job runs a praticular program ?
Hi, I know a program which is responsible for updating a custom table. Now, I wanted to know what job in SM37 runs this progam and how frequently its being updated. In anutshell, I know how to find the porgrams under a Job in sm37 but I don't know ho