Questions tagged [priority-web-sdk]
Priority Software is an ERP software company offering business software for small and medium-sized companies. The Web SDK enables JavaScript developers to quickly and easily create value-adding applications on top of the Priority platform.
36
questions
0
votes
0
answers
14
views
Getting custom price for customer in priority?
How Can I send to priority: Item SKU, Customer Id, Quantity and get the custom item price?
Tried this API call /LOGPART('demo')?CUSTNAME=111&QNT=5
0
votes
1
answer
29
views
Priority API: Getting image link instead of base64 content
When I fetch recent/new items with (full data row), the field: EXTFILENAME can cause system halt.
In order to fix that, I have to use the "fields" filter! My query will stop being dynamic, ...
0
votes
0
answers
37
views
Sandbox account for priority
I'm a solutions architect for a fintech company, We have a lot of our clients using your software and I was wondering if it's possible to get a sandbox account to your API.
0
votes
1
answer
67
views
accessing Priority form via REST API returns 404 form not ready
I did all configuration need as I read on priority SDK portal and other StackOverflow resources to use rest api:
Installed License.
created api user name.
in forms for api/limited license I pulled ...
2
votes
1
answer
59
views
Priority Version Number
Is there a way to get the Priority Version number via the Web SDK or REST API?
Specifically I need to be able to know which side of a breaking change a particular version is at to know how to proceed.
0
votes
1
answer
314
views
How to use Priority API?
I'm trying to create a simple application that reminds me of two weeks before I was supposed to get a delivery. My data is store in a Priority database and I'm looking for a way to read it using code (...
1
vote
1
answer
98
views
What will be the best way to get only changed objects since specific date-time in priority-web-sdk ERP
I'm new to priority-web-sdk ERP.
I'm trying to get all the elements that were changed since a specific date-time.
I've tried to use the example from Priority postman collection:
https://www.eshbelsaas....
1
vote
1
answer
211
views
Priority REST API - Generating key for API Access
I am new to Priority and can't seem to find in the docs where I can generate an API key for accessing the REST API. It was my understanding that a user has to have the API license key enabled (which ...
0
votes
1
answer
192
views
Priority REST: My GET requests are getting http reponse 200 but no actual data inside
I am new to Priority but working with their REST API to get form information I need. As per the REST API docs I use Basic Authentication with a GET request to the service root (I believe in my ...
0
votes
1
answer
147
views
Download invoice PDF file through the Priority Web SDK
Is there an option to download the invoice PDF file through the Priority Web SDK?
I see in documentation only options to upload files https://prioritysoftware.github.io/api/form/#uploadFile
0
votes
1
answer
341
views
insert multiply records to a form, from JSON file using postman
How can I insert multiply records to a form using postman?
my data is in JSON file
and I use POST request:
"https://jrpostest.domjr.local/odata/Priority/tabula.ini/jrdf/SUPPLIERS"
getting ...
1
vote
3
answers
201
views
Does Priority support webhooks?
I am writing a service that integrates Priority with another application. I would like to know if Priority has webhooks or a similar mechanism that would allow my service to be notified when there are ...
0
votes
3
answers
348
views
Problems using $select with $expand in Priority REST API
Using the Rest API, I'm trying to use $select with $expand like this:
https://priority.company.biz/odata/Priority/tabula.ini/company/DOCUMENTS_D?$filter=CURDATE ge 2020-01-01 and CURDATE le 2020-01-...
0
votes
1
answer
125
views
Getting 403 Error with Priority integration
I'm trying to integrate with Priority REST API and using
https://prioritysoftware.github.io/restapi/#Service_Root_URL for this.
But when I'm trying to call some API's (for example https://www....
0
votes
1
answer
120
views
Priority WebSDK getRows(1) returns no data
I am using the default code from https://www.npmjs.com/package/priority-web-sdk
var configuration = {
username: '<username>',
password: '<password>',
url: '<app server url&...
0
votes
1
answer
65
views
Getting JSON parse exceptino when calling formStart function
I'm trying to call the formStart function. I keep on getting the error "Error parsing JSON: SyntaxError: Unexpected end of JSON input". Any idea why? I'm using the basic example code on the priority ...
1
vote
1
answer
128
views
Parameter order for webSdk procedures
I need to create some reports using the websdk pertaining to orders and price quotes.
I tried following the documentation but even the example given in the developer portal is lacking a lot of crucial ...
0
votes
1
answer
93
views
priority Connection License
so in the last version of priority rest-api they added something called "Application License" and they say you need to send in the header: X-App-Id , X-App-Key. so i tried to put this in the header ...
0
votes
1
answer
72
views
Recovering from errors from Priority
I am running a piece of code to upload files to Priority using the Priority-Web-SDK. When everything is squared away, it works as expected. (files are uploaded, fields are filled in, etc) When, for ...
0
votes
1
answer
193
views
Connection details for Priority Web API sand box (demo environment)
According to the Web API introduction page, I have to connect to the development environment by calling the login(...) function passing it the following configuration object:
{
username: '<...
0
votes
1
answer
51
views
Insert DateTimeOffset to subform
I'm trying to insert (POST) new row into sub-form with DateTimeOffset column type
"TIMESTAMP@odata.type": "#DateTimeOffset",
I'm trying for example to pass this JSON
{
"TIME_STAMP":"2019-04-...
1
vote
4
answers
235
views
Can't get from CUSTOMERS table by CUST
I'm trying to get data from CUSTOMERS table by CUST field, but I get a 404 error. Here is the requesting endpoint:
/CUSTOMERS(CUST=1217)
I priority web there is no problem to get customer by this id…
...
1
vote
1
answer
101
views
Using :FORM_APP_NAME Variable on PriorityERP
I've build a basic JS application which accesses Priority form.
When programming inside Priority ERP, I wanna use the newly introduced variable called : ":FORM_APP_NAME" but when I check its content ...
1
vote
1
answer
93
views
Priority web SDK method getSubform returns parent form
Parent form is the same I only change the company in the request and on some company i get parent form instead of sub form. So for example I have default company make a request get some form. ...
0
votes
1
answer
131
views
Priority REST: Does not support OData parameter "$count"
Does not support OData parameter "$count".
https://www.odata.org/getting-started/basic-tutorial/#count
It is very important parameter which helps to reduce time for requests.
Moreover, it should be ...
0
votes
1
answer
129
views
Priority REST: There are no useful errors
If the server can not respond, it always sends a status of 500 with the text "An error has occurred."
This is an incorrect behavior, the server should return a 4xx status with descriprion of error.
...
1
vote
2
answers
145
views
Priority REST: No "Access-Control-Allow-Origin" header in response
No "Access-Control-Allow-Origin" header in response.
It prohibits any requests from the client.
Issue can be "solved" by rise proxy server, but it is not correct solution.
Is this issue are common ...
0
votes
1
answer
106
views
priority-web-sdk: fieldUpdate for choose field failed
My form contains a field with drop down values (the values came from the choose function) and when I am trying to update the field (with fieldUpdate) in the second time I always get the following ...
2
votes
2
answers
100
views
priority-web-sdk: startSubForm return the parent form
The following code starts a form and a subform, the issue is the I get the subForm instance of the parent:
await actions.loginTest();
const form = await actions.priority.formStart(this....
1
vote
2
answers
207
views
Automating Priority-Web-SDK file upload
I would like to create a command line (or other automated) method for uploading files to priority using the Web-SDK. The best solution I have right now seems to be a simple webform activated by a ...
3
votes
1
answer
160
views
REST API error while posting a customized Priority fields
I'm trying to post REST API of the ORDERS form.
I have added a few customized fields to the sub form PAYMENTDEF in order to post all the credit cards information.
I'm getting the error:
'An error ...
1
vote
1
answer
90
views
How to consume the login returned object 'LoginFunctions'
According to the SDK,
The 'LoginFunctions' = This object is returned after a successful login to the server. Use the following methods for this object to retrieve information regarding the Priority ...
0
votes
1
answer
128
views
Priority-Web-SDK: getRows has limit of 100 results
I am trying to get more than 101 rows from a Subform, for doing that, I am open the parent form and search for some value (by building a filter, using setSearchFilter and getRows(1)), right after I ...
2
votes
1
answer
208
views
Priority-Web-SDK: Filtering a form
I am trying to understand how to use the setSearchFilter function in the Priority Web SDK. I can run formStart() followed by form.getRows(1) to get the entire form, but I only need ~5 of the over 100 ...
1
vote
1
answer
120
views
Priority-web-sdk : Specific number of rows
Can I retrieve a certain number of rows when calling form.getRows? If so what is the maximum?
2
votes
1
answer
657
views
Priority Web SDK vs REST API
When developing a website using Priority's new tools, in which cases would I be better served accessing Priority using the Web SDK than by using the REST API?
How about vice-versa?