cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Copy and Paste from ClipBoard / Add Item to New Sales Order

kylesladden
Discoverer
0 Kudos
427

We're developing an extension in SAP Business One Web Client Extension. We are trying to populate the list of items in a sales order through logic in the extension. We're not using Fiori or SAP UI5, but just the functionality available in the Visual Studio Code plugin "SAP Business One WebClient Extension Tool".

Is there a way to copy some text to the clipboard and paste it on the page?

Or, is there way to add an item to the sales order from the extension?

⚠️Please let me know if this should move to a different board as I'm new in this community. ⚠️

Accepted Solutions (0)

Answers (1)

Answers (1)

shai_berkenblit
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi kylesladden,

Currently it is not possible to add new lines to a sales order via the web client UI API.
You can review our online help and see if the existing functionality exists for your scenario.

https://help.sap.com/docs/SAP_BUSINESS_ONE_WEB_CLIENT/e6ac71d18c7543828bd4463f77d67ff7/91136d4d359f4...

Another option would be to use the service layer to update an existing order with new lines.


 

AntonPisani1
Newcomer
0 Kudos

Hi shai_berkenblit,

Thanks for this, the main issue is we can't use the service layer as we need the process on the creation of the Sales Order. What we are trying to achieve is so that when the user is creating an order for a client they can view the items of the past orders of the client including prices and copy that information to the new sales order lines.