on 05-02-2017 4:42 PM
I am trying to remove a suffix from an order number and see if the resulting order number can be matched.
ie. {Order.code} is 12345678-5
I want to remove the ending '-5' and see if I can find a matching {Order.code} for '12345678'
Is there a way to accomplish this?
Thanks, got it working now!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi , My suggestion is write the groovy script and run it. In that get the Orders ending with -5 from flexiblesearchquery .Then split the order code of each orderModel and Update the orderModel with the new Order Code.
Note:But If the orders have the Order-process and Consignment-process and their codes also need to change if You're using these codes for getting the Ordermodel in any where.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.