Skip to content

Commit

Permalink
#5639 use orderNo as parameter
Browse files Browse the repository at this point in the history
#5639 Print Picklist from Picking terminal v2
metasfresh/metasfresh#5639
  • Loading branch information
cristinamghita committed Oct 8, 2019
1 parent e521230 commit 9f30169
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ private byte[] printPicklist(final PackageableRow row)
InterfaceWrapperHelper.save(pinstance);

final List<ProcessInfoParameter> piParams = new ArrayList<>();
final int c_order_id = row.getFieldValueAsInt(I_M_Packageable_V.COLUMNNAME_C_OrderSO_ID, -1);
piParams.add(ProcessInfoParameter.of(I_M_Packageable_V.COLUMNNAME_C_OrderSO_ID, c_order_id));
final String orderNo = row.getOrderDocumentNo();
piParams.add(ProcessInfoParameter.of(I_M_Packageable_V.COLUMNNAME_OrderDocumentNo, orderNo));
Services.get(IADPInstanceDAO.class).saveParameterToDB(PInstanceId.ofRepoId(pinstance.getAD_PInstance_ID()), piParams);

final ProcessInfo jasperProcessInfo = ProcessInfo.builder()
Expand Down

0 comments on commit 9f30169

Please sign in to comment.