Skip to content

Commit

Permalink
Add services
Browse files Browse the repository at this point in the history
- Reverse sales transaction
- Process shipment
  • Loading branch information
yamelsenih committed Oct 15, 2021
1 parent 8ade7e2 commit 467b385
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1333,9 +1333,9 @@ private Order.Builder reverseSalesTransaction(ReverseSalesRequest request) {
.process(ReverseTheSalesTransaction.getProcessId())
.withoutTransactionClose()
.withRecordId(MOrder.Table_ID, orderId)
.withParameter(ReverseTheSalesTransaction.C_ORDER_ID, orderId)
.withParameter(ReverseTheSalesTransaction.ISCANCELLED, true)
.withParameter(ReverseTheSalesTransaction.C_DOCTYPERMA_ID, pointOfSales.get_ValueAsInt("C_DocTypeRMA_ID"))
.withParameter("C_Order_ID", orderId)
.withParameter("IsCancelled", true)
.withParameter("C_DocTypeRMA_ID", pointOfSales.get_ValueAsInt("C_DocTypeRMA_ID"))
.execute(transactionName);
returnOrderReference.set(new MOrder(Env.getCtx(), infoProcess.getRecord_ID(), transactionName));
});
Expand Down

0 comments on commit 467b385

Please sign in to comment.