Is cost available from REST?
I see costs on order confirmation pages, but having trouble finding this data via REST. The demo system I am using has $0.0 cost everywhere. I assume it would still be available through API and returned as 0.0, but maybe I need to set actual costs to get the elements in response?
I tried pulling servicedef data by id and do not see cost. A request for serviceoffering data returns no rows. Please let me know what request would return the cost the user sees when ordering.
Thanks,
dan
Hello,
I think I have what you're looking for. For a given Requisiton Id, below I have 117, you can get the cost details from 2 places.
For the Requisition, there is the total expected cost:
URL:
/RequestCenter/nsapi/transaction/requisitions/id/117/
Response:
0.0
For the invidividual items, you'll need the many Req Entries:
URL:
/RequestCenter/nsapi/transaction/requisitionentries/RequisitionNumber=117/
Response:
1
0.00
0.00
Edit: Perhaps it's worth mentioning: services don't have prices, per se. *
This is because a service will often contain items that are "dynamic" or variable pricing. If you are writing a service with pricing, or editing an existing one, you can update the total for the service with the special conditional rule action "Set Price". This lets you set the price based on things like a selected instance size, service level, etc.
When a Service is bundled (as per the original screenshot), you can set the pricing for the individual bundled services. (Typically the sub-services that are bundled are summed, but there are also more options on how to cost correctly when services are bundled, see Service Designer -> Service -> Offer -> Bundle). As far as I am aware, this information is not available through the REST API.
* It is possible to set pricing information in the Service -> Offer -> Pricing tab, but I can't right now recall how it is used.
Message was edited by: Mark Swanborough
Similar Messages
-
Is there any standard report available to show cost prices from infor recor
Hi
Can any one tell help me is there any possiblility to make a report showing cost prices from info-records on purchasing org. level incl. prices scales?
We need a report showing the following:
Supplier no.
Supplier name
Material no.
Material name
Price
Price scales (if registred in the info-record)
Purchase organization to be showed
Selection of the report can be done with the following entries:
Supplier no.
Sourcing (material group)
Purchase organization
Please be informed that the above mentioned information and selections are just my first and best guess.
We have tried to use transaction MC$4 - however, this one is only showing the purchased quantity in the period selected.
There must be a standard transaction in SAP R/3, which can show us the prices from info-records.
Best Regards,
Sairam.Hi!
ME1P is the best report for you although it lacked the supplier name, material name and price scales. You can ask your ABAPER to create your desired report by copying the program running ME1P and then creating a Z* report which contains all your desired fields.
Hope this helps! =) -
Exception "algorithm ARC4 is not available from Provider Cryptix "
hi all
i am developing the application in which i am using two encryption/decryption algorithms one is "RC4" and second is "AES(256 bit key)".
1.first i am taking the credit card number from database which is in
the encrypted format using 'RC4".
2.After taking the Credit card number from database i am decrypting them using RC4.
3. After decrypting them i am encrypting them using "AES(256 bit key") and putting the paymentid and encrypted credit card number in HashMap.
For that i have written following classes
RC4EncMemory.java ( which is taking encrypted credit card number from database ,decrypting them using "RC4" and then encrypting them using "AES")
import java.security.GeneralSecurityException;
import java.security.Security;
import java.sql.*;
import java.util.*;
import java.util.HashMap;
import javax.crypto.SecretKey;
import cryptix.jce.provider.key.RawSecretKey;
import cryptix.provider.Cryptix;
public class RC4EncMemory
DbAccess db=null;
RC4EncMemory crypt=null;
PreparedStatement pstmt=null;
ResultSet rs=null;
EncryptionPerformance per=null;
AESEccryption aes=null;
private String originalCCnumber=null;
private int paymantid;
private byte[] b;
private byte[] aesencrypted;
public RC4EncMemory()
{db=new DbAccess();}
public void selectAllCCNumber()
HashMap allccnumber=new HashMap(1000);
String qry =DbAccess.getPropertyValue("cedera.ccnumber.selectccnumberFromPayment");
System.out.println(qry);
try
{rs=db.getResultSet(qry);
if(rs!=null)
{ crypt=getInstance();
while(rs.next())
System.out.println("In while");
paymantid=rs.getInt("paymentid");
b=rs.getBytes("ccnumber");
System.out.println("paymantid >>> " + paymantid);
originalCCnumber=DecryptCCNumber(b);
Security.removeProvider("RC4");
System.out.println("decrypted original >>> " + originalCCnumber);
aesencrypted=getAESEncryption(originalCCnumber);
//allccnumber.put(new Integer(paymantid),new String(originalCCnumber));
Set key=allccnumber.keySet();
Iterator i=key.iterator();
while(i.hasNext())
{System.out.println(" Payment id from HashMap " +(Integer)i.next());
System.out.println("Size of the HashMap: >>" + allccnumber.size());
else
System.out.println("empty");
allccnumber.clear();
}catch(SQLException exp)
System.out.println("Exception in SQL" + exp);
finally
try{ rs.close();
pstmt.close();
db.conn.close();
}catch(Exception er){}
public String DecryptCCNumber(byte[] encryptedCCNumber)
{ String decrypted=null;
if(encryptedCCNumber!=null)
{decrypted = decrypt(encryptedCCNumber);
return decrypted;
public String decrypt(byte data[])
if(data == null || data.length == 0)
return null;
try
xjava.security.Cipher cipher = xjava.security.Cipher.getInstance("RC4", "Cryptix");
cipher.initDecrypt(rsaKey);
byte out[] = cipher.crypt(data);
return new String(out);
catch(GeneralSecurityException se)
{ System.out.println("SecurityException in decrypt method: " + se);
return null;
public static synchronized RC4EncMemory getInstance()
if(_rc4decryption == null)
Security.addProvider(new Cryptix());
_rc4decryption = new RC4EncMemory();
makeRC4Key();
return _rc4decryption;
private static void makeRC4Key()
{ String seed = "CvMjSpVrGsTnAj";
rsaKey = new RawSecretKey("RC4", seed.getBytes());
public byte[] getAESEncryption(String originalCCNumber)
{ aes=AESEccryption.getInstance();
return aes.encrypt(originalCCNumber);
public static void main(String args[])
RC4EncMemory mem1=new RC4EncMemory();
mem1.selectAllCCNumber();
private static SecretKey rsaKey = null;
private static RC4EncMemory _rc4decryption = null;
In the above programs i am getting the output as follows
output:-
in while
paymantid >>> 3338157
decrypted original >>> 5856373015065936
inside encrypt method
Original Data----->5856373015065936
Encrypted Data----->[B@3cc0bc
after encryption of data
In while
paymantid >>> 3338169
SecurityException in decrypt method: java.security.NoSuchAlgorithmException: algorithm ARC4 is not available from provider Cryptix
decrypted original >>> null
In while
paymantid >>> 3338290
SecurityException in decrypt method: java.security.NoSuchAlgorithmException: algorithm ARC4 is not available from provider Cryptix
decrypted original >>> null
my program is able to decrypt the only first credit card numbers using RC4 and then encrypt it using AES(as shown in bold above) but it is not able decrypt the rest of the credit card number from the database using "RC4" and it is throwing above exception regarding the "RC4" algorithm .
can anybody tell me what is reason behind this exception? my guess is the we cann't use the two providers simultaneously.
please anybody help me
AESEccryption.java(which helps to encrypt the credit card number in AES using encrypt method )
import java.security.GeneralSecurityException;
import java.security.Security;
import java.sql.*;
import javax.crypto.spec.SecretKeySpec;
import org.bouncycastle.jce.provider.BouncyCastleProvider;
import cryptix.provider.Cryptix;
public class AESEccryption
AESEccryption cryptAES=null;
AESEccryption cryptAES1=null;
public AESEccryption(){}
public static synchronized AESEccryption getInstance()
{ if(_aesEncryption == null)
Security.insertProviderAt(new BouncyCastleProvider(),3);
//Security.addProvider(new BouncyCastleProvider());
//Security.addProvider(new Cryptix());
_aesEncryption = new AESEccryption();
makeAESKey();
return _aesEncryption;
private static void makeAESKey()
String seed = "FFF3454D1E9CCDE00101010101010101";
int length=seed.length();
if(length!=32)
{ System.out.println("Key size must be 32 characters only");
System.exit(0);
skeySpec = new SecretKeySpec(seed.getBytes(),0,32,"AES");
public byte[] encrypt(String data)
{ if(data == null)
return null;
try
{ System.out.println("inside encrypt method");
javax.crypto.Cipher cipher = javax.crypto.Cipher.getInstance("AES");
cipher.init(javax.crypto.Cipher.ENCRYPT_MODE,skeySpec);
byte out[] = cipher.doFinal(data.getBytes());
return out;
catch(GeneralSecurityException se)
System.out.println("SecurityException: " + se);
return null;
public static void main(String args[])throws Exception
{ AESEccryption aesenc=new AESEccryption();
aesenc.selectAllCCNumber();
if(flag)
System.out.println("Flag " + flag);
private static SecretKeySpec skeySpec = null;
private static AESEccryption _aesEncryption = null;
Regards
Pandurang
Message was edited by:
andylimp12
Message was edited by:
andylimp12
Message was edited by:
andylimp12Hi Nith,
Previously I have changed the document dispostal time out to 1 year but the error still occurs.
Now I change the document inline size from 64 KB to 27 MB (estimated max document size) and see how the LCES behaves.
I suspect if document size is larger than document inline size then LCES will write to some temp file. After that, user does not process the task for a long time, e.g. 3 days. And during the 3 days, the unix system/ websphere auto clear the temp file. After 3 days when user accesses the task again, LCES will complain "document is not in sending server side any more" ....
I refer to : http://blogs.adobe.com/livecycle/2008/10/livecycle_tuning_knob_default.html
For the Document sweep interval, I think, it relates Watch Folder, not this error so I don't change it.
Regards,
Anh -
How to derive Cost center from Funds Center
Hi,
i post a GR (Return item) and i have a difference of price, i want to assign this difference (assined to a Gl Account) to a Cost center please how to do that ? i have a Funds Center entered in this GR, can i derive the cost center from this Funds Center ?
Please Help.
Regards.Hi,
There is no 'derivation' funcitionality as such available. Thoough, you can build a CO substitution via OKC9 and, based on your fund centre, set the cost centre value.
Regards,
Eli -
Cost Report from Service order cost
Hi Gurus,
Request you help in developing a custom report to fetch different costs involved in service order.
Let me explain the scenarios:
1. As per our current settings, if there is any goods issue against the service order the cost (cost of the material) is booked against 'Service Exchange Cost' in the value category in the order.
Reqt:- If there is any goods issue against the order, the system should show the cost of the goods (material) in the report as service exchange cost.
Please let me know from which table I can get this cost? From which table I can know whether there is a goods issue against the order or not?
Please guide me in this.
Regards,
SAMHi SAM,
Please use the PMCO table for order costing.
For goods issue status you can go with system status i.e. GMPS- Goods Movement Posted. This will be availed from JEST table agaionst PM Order.
Also there is field for final issue tick (KZEAR) which need to be selected during goods issue against PM Order. This status can be achieved from table AUFM against the reservations made for PM Order.
Sundar
Edited by: Sundar Desai on Mar 3, 2011 5:07 PM -
Landed Cost - copy from Good Received PO
Dear Experts,
I have Created a AP/Reserve Invoice and already done its Good Received PO. Unfortunately, the item prices for all the items were wrong. (Thank GOD i have not done the Landed Costs ).
I tried to Copy the Good Received PO to AP Credit Memo, but this option was not available, and was not also able to copy to Goods Return for the same.
I tried the Vice Versa, i.e. went to the Goods Return and "copy from" but i did not find the Good Received PO for that supplier. I also went to the AP Credit Memo and tried "copy from" Good Received PO, but this option did not have the "copy from" Good Received PO in the list.
I came across an alternative solution which was to create Goods Return and then Copy that to AP Credit Memo. I have already done this.
Unfortunately, when i go to Landed Costs and select "copy from" Good Received PO, the OLD (and wrong) Good Received PO also appears in the list. I tried to reconcile the BP in the BP->Internal Reconciliation->Reconciliation, but still the Good Received PO appears in the Landed Costs "copy from" list.
Is there a way in Landed Costs "copy from" Good Received PO i can have the already reconciled BP's Good Received PO not appear in the list?
Any help will be highly appreciated.
Thank you.
regards,
Feroz Dosani.Dear Dosani,
Firstly, it is normal that you cannot create an ap Credit Note directly from the GRPO. When the user needs to revert a GRPO s/he needs to close it with a Goods Return.
Secondly, what we have to establish now is why you cannot create a goods return PO based on the GRPO even if the GRPO is still open.
Do you receive any error messages? Is the option G. Return grayed out?
Please, give us some more information and we will try to help.
Thank you.
Marcella Rivi
SAP Business One Forums Team -
Derivation of Cost Center from WBS element MAster data at the time of invc.
dear all,
during invoice postings with wbs element account assignment system do not derive assigned cost center from wbs element master data.
how can the system derive the cost center automatically??
Is there any BADI available to this issue.
regards
saqibDear,
WBS is Real and cost center in the master data is for statistical postings i.e. responsible cost center in WBS.
How to make substitution (OKC9) deriving the cost center in document line items / invoice posting etc.
Kindly give detail process for its configuration steps and is there any BADI available which can be useful in this regards?
Regards,
Saqib Usman -
Photos over IMG_9999 appear to no longer be available from PC?
iPhone 6 running iOS8.1
Photos over IMG_9999 appear to no longer be available from a PC in "Internal Storage\DCIM"? I leave all photos on my phone (why not it's 128GB right?) and on my PC too (it's part of my backup strategy). I'm up to around 12500 photos. Prior to upgrading to iOS8 / iPhone 6 there used to be lots of seemingly randomly named folders such as "872BKMTH" and "892ZLWLR" under "Computer\My iPhone\Internal Storage\DCIM" but now there are only two folders. One folder has images IMG_0001 to IMG_9999 in and the other just has two app created movies in... so there question is.. where are the rest of my photos and how can I now get them onto my PC?
I've tried looking for them through iFunBox but I still can't see the photos i get folders Camera, Camera 2 to Camera 8 but looking at all these I still can't find the latest photos and movies?
Bit stumped :-( Any help or pointers would be greatly appreciated.
Incidentally the single folder with 9999 images in takes far too long to load.. what was wrong with the dozen or so folders from before?
ThanksThere's no problem with my ADSL. I can watch all IPTV channels (Amazon, iPlayer etc) with excellent results.
MY problem, along, I should think, with many others is a consequence of being forced to use Chromecast.
One of the many limitations of this device is that it only works properly with Android or iOS devices. Under Android, the Tablet or 'phone runs an App and is simply a controller: the content is then streamed DIRECTLY to the TV via Chromecast.
With Windows there is no App. You have to "cast" a browser tab, which means that the content (Football match etc) goes to the TV FROM the Tablet or PC. Even on pages where it works, this causes serious deterioration of the picture quality.
It doesn't work at all with BT Sport.
Unfortunately BT Sport's TV player on Windows uses Silverlight. Chromecast doesn't support casting content which uses Silverlight. This wouldn't be a problem if there was a Chromecast App for Windows, but Google has refused to develop one, and prevents anyone else from doing so.
The consequence of all this is that anybody in my position who is not prepared to buy either an iPhone\iPad or some Android Tablet or 'phone will not be able to use BT Sport when it is no-longer broadcast.
The substance of my question boils down to this:
Why can't BT provide either a "player" on BT Vision or their YouView box which would allow me to continue watch BT Sport live, OR use a non-proprietary technology that allows Windows users to watch on their TV. -
When i go to the epson website it says the printer driver is available from apple. When i go to the printer selection it sees the printer but says that apple has no drivers for this printer. In the updates section of the app store it shows that the printer driver was update yesterday.
If you're sure you tried all of these steps and the issue persists, contact Apple technical support
Note: Diagnostic fees may apply for issues not covered under warranty or the AppleCare Protection Plan (APP). -
I recently upgraded to Mountain Lion, and found that I could no longer print to my HP CM1312nfi.
This is usually a problem with HP at every upgrade, but this time, they appear to have offloaded the driver download process to Apple.
My printer is connected wirelessly through a time capsule by IP address—the physical, not the virtual, e.g: 169.254.xx.xx instead of 10.0.1.x.
When I try to download the driver by bonjour or IP, I get the following error message:
Can't install the software for the Hewlett-Packard HP Color LaserJet CM1312nfi MFP because it is not currently available from the Software Update server.
Is this truly a Software Update server error, and if so, any clue when it will be resolved?
I am able to print with the generic driver as of now, but fax and scan capabilites are gone. The add fax dialog lists no devices.
Scanning is not supported on my printer model with the Hewlett Packard Print 2.12 driver. Will support be forthcoming, or did Mountain Lion brick my scanner?
Thanks for your time and attention.Of course, once I posted this, I tried again and downloaded the driver without issue.
My second question still stands, however:
Scanning is not supported on my printer model with the Hewlett Packard Print 2.12 driver. Will support be forthcoming, or did Mountain Lion brick my scanner? -
I was having trouble printing to my HP Color LaserJet 2605dn from a Mac Pro running Mountain Lion, so I went to System Prefernces -> Print & Scan deleted it and atempted to re-add it. When I try add the printer I get this message:
Software for this printer is available from Apple. Would you like to download and install it?
After clicking Download & Install (the only option other than Cancel), I get this:
Can't install the software for the Hewlett-Packard HP Color LaserJet 2605dn because it is not currently available from the Software Update server.
What's the workaround when Mountain Lion can't find the driver?
Thanks!Sean L. wrote:
I was having trouble printing to my HP Color LaserJet 2605dn from a Mac Pro running Mountain Lion, so I went to System Prefernces -> Print & Scan deleted it and atempted to re-add it. When I try add the printer I get this message:
Software for this printer is available from Apple. Would you like to download and install it?
After clicking Download & Install (the only option other than Cancel), I get this:
Can't install the software for the Hewlett-Packard HP Color LaserJet 2605dn because it is not currently available from the Software Update server.
What's the workaround when Mountain Lion can't find the driver?
Thanks!
The 2605dn has dual Network and USB connectivity. Which are you attempting to configure: Network or attached USB?
Printer on, and if networked, use a static IP address
Print & Scan
IP
Provide printer static IP address
Select Printer Software ... HP Color LaserJet 2605dn driver (not sure about that 2600 driver)
Add
Configure Driver under Options and Supplies
I have a 1994 HP Laserjet 4m Plus set up using these steps and the appropriate driver. I just added another network printer, using the same IP address, but using the above 2605dn driver without any issue other than complaint about a redundant IP address.
Hopefully, you have already sorted this out. -
Transfer cost price from free of charge item to main item but not for VPRS
Hi,
I want to transfer cost price from free of charge item to main item but not for VPRS but for a new Z contidion type.
For CO-PA proposes. Can you help me with This?
Catarina Alveshi,
transfer of cost from sub item to main item is configured in the delivery to billing copy control for the main item. go to VTFL > select the required item cateogry > here at the bottom you will find a check box Cummulate cost. Tick it.
Not really what you meant COPA purposes. But the pricing conditions are mapped to COPA value fields at KE4I transaction.
regards
sadhu kishore -
Can't install the software for the Brother MFC-9440CN because it is not currently available from the Software Update server....how do I get the driver then..it ised to work in my old mac..but cant print to it in my new unit
Download the Brother Mountain Lion drivers here.
-
App update available from iTunes, but not from iOS ?
Found earlier today that one app had an update available on iTunes on my PC (Windows 7) ... while it wasn't available from the app store on my iPhone. The iOS app Store kept showing the old version of that app as the latest. Had to sync the iPhone with iTunes to transfer the update. How can that happen? ... and no my App Store app on iOS is not completely broken, as it keeps giving me updates for all other apps ... so far. Meaning that my Apple ID isn't a problem either.
On the iPod open the App Store app > Updates > Purchased then redownload. If nothoing shows make sure you are signed in with the same Apple ID that the purchase was made with:
Settings > iTunes & App Stores > Apple ID -
Can't install the software because it is not currently available from the Software Update server. this is the message that i get a few days now that i am trying to install windows through boot camp to my macbook!does anybody knows what i can do????
You keep it on the usb stick for after you boot into Windows. From Windows you install the Windows Support software on the stick. Do you realize that you need to buy and install Windows? The Windows Support software you downloaded is only the Windows drivers for your hardware.
Read the Boot Camp installation instructions and help guides located here: http://www.apple.com/support/bootcamp/
Maybe you are looking for
-
Multiple gateways for different Traffic on ASA 5510 firewall
Hello, My network atthe moment is set up as: WAN, with three sites Site 1 Site 2 Site 3 Site 1 is behind a non-Cisco firewall, which is connected to the internet via a Frame Relay link (using a Cisco 1721 router). We host a number of servers on the I
-
Adobe Creative Cloud Computer Specs
My office is getting ready to move to Adobe Creative Cloud. I'm currently running CS5 Production Premium. I'm not computer tech savvy, so I'm concerned my current set up will run CC. Here are my editing PC's specs. Could someone let me know if it is
-
I started using my external monitor with my macbook pro and as soon as I plug it in it to the monitor it adjusts the screen by zooming out a bit and creating about 3/4 of an inch black borders on the top and bottom of the screen. But these dont show
-
Hi in my scenario have to code with this logic 1. If the field TXJCD is blank in the idoc and if the tax code of the invoice item and in the refered PO item are same, then can fill E_RBKPV-TXJCD_BNK from the PO item in the user exit. 2. If the tax co
-
Adobe Advanced Search Function not woking
The Advanced Search Function has stopped working. I use mac os x 10.6.8. I deleted and reinstalled adobe reader 10.1.2 and still the same problem: nothing appears when I click on the Advanced Search function. I'd welcome suggestions on how to fix thi