Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Endpoint: Close Invoice Candidates #5782

Open
metas-rc opened this issue Nov 12, 2019 · 1 comment

Comments

@metas-rc
Copy link
Member

@metas-rc metas-rc commented Nov 12, 2019

Is this a bug or feature request?

  • FR

What is the current behavior?

Which are the steps to reproduce?

What is the expected or desired behavior?

  • Allow the user to close a selection of invoice candidates.
  • The process that closes invoice candidates is here: de.metas.invoicecandidate.process.C_Invoice_Candidate_Close
metas-rc added a commit that referenced this issue Nov 12, 2019
metas-rc added a commit that referenced this issue Nov 12, 2019
teosarca added a commit that referenced this issue Nov 12, 2019
teosarca added a commit that referenced this issue Nov 12, 2019
metas-rc added a commit that referenced this issue Nov 13, 2019
metas-rc added a commit that referenced this issue Nov 13, 2019
metas-rc added a commit that referenced this issue Nov 13, 2019
metas-rc added a commit that referenced this issue Nov 13, 2019
@metas-rc

This comment has been minimized.

Copy link
Member Author

@metas-rc metas-rc commented Nov 14, 2019

Tested locally

  • Example invoice candidate:

image

  • I set its both externalHeaderId and ExternalLineId to 66

  • go to endpoint via swagger

image

  • Set the auth token and the invoice candidate externalHeaderId and ExternalLineId. There can be one or more invoice candidates to be closed

image

  • Execute, check invoice candidate

image

  • => OK: Marked as processed
  • => OK: Qty To Invoice = 0
  • => OK: Marked as To Recompute then quickly recomputed correctly.

Swagger response:

image

  • Apply for more invoice candidates

image

  • OK: Response for each of them

image

metas-ts added a commit that referenced this issue Nov 18, 2019
  * [#5430](#5430) report server: autodetect and use workspace jasperreports folders
  * [#5637](#5637) Add DPD Shipper and DPD integration
  * [#5755](#5755) Create endpoint to directly insert invoice candidates
  * [#5774](#5774) Invoice candidates sometimes remain "ToUpdate" after the invoice was created
  * [#5776](#5776) Distribution Network from Main-Warehouse to Picking Warehouse
  * [#5782](#5782) Endpoint: Close Invoice Candidates
  * [#5784](#5784) Adjust LU Label
  * [#5789](#5789) Don't log migration scripts for AD_Attachment tables
  * [#5778](#5778) Fix potential threadLocalTrxName leakage
  * [#5787](#5787) BPartner API error if CreatedBy or UpdatedBy == -1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.