Skip to content
This repository has been archived by the owner on Dec 13, 2020. It is now read-only.

Error when confirm "Create Purchase Orders" action modal #1483

Closed
metas-mk opened this issue Jan 9, 2018 · 2 comments
Closed

Error when confirm "Create Purchase Orders" action modal #1483

metas-mk opened this issue Jan 9, 2018 · 2 comments
Assignees
Labels

Comments

@metas-mk
Copy link
Member

metas-mk commented Jan 9, 2018

Is this a bug or feature request?

Bug

What is the current behavior?

When pressing the confirm button in action "Create Purchase Orders" via Sales Order window, an error appears in console.

Which are the steps to reproduce?

  • Create a new Sales Order and Sales Order line.
  • Select the line and start the action "Create Purchase orders".
  • Press "Confirm" Button in modal overlay.
  • See console.

What is the expected or desired behavior?

Get rid of the error.

image

image

@wiadev
Copy link
Contributor

wiadev commented Jan 11, 2018

@teosarca I think this is back-end issue.
screenshot at jan 11 11-41-41

REQUEST: PATCH http://w101.metasfresh.com:8081/rest/api/documentView/SO2PO/SO2PO-9c0e1fb7a2cd4ac5b7f4950c57dd5b3c/1000521_2156436/edit

PAYLOAD: [{"op":"replace","path":"qtyToPurchase","value":"5"}]

FYI, viewID is returned from URL:http://w101.metasfresh.com:8081/rest/api/process/ADP_540887/1192413/start

@teosarca
Copy link
Member

duplicate of #1361

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants