on 03-06-2014 2:31 PM
Hallo,
i have a detail screen with a list view. The List View shows a collection with orders. The order properties are orderNumber, orderStatus and some other details. In the List View i create a single match action for the list view scanner. The property column orderNumber is set to scanner can filter on this column. So if i scan a orderNumber from the List View my match action starts.
In the action i want to set the orderStatus from the matched order to a new status. Example: i scan the order with orderNumber 001 and his orderStatus is "new". Then the orderStatus should set to "in process".
I try to create a SubActionStep for the single match action that have a transaction step and a apply step. In the transaction step i want set the orderStatus object. But i don't know how i can set a new value to the orderStatus property.
Please help me with this.
André
PS: my TransactionStep:
and my transaction:
André,
In your transaction you will need to also have a property that maps to the Object -> OrderStatus property. For the initial value of the property you will select Rule - Before Data Entry and then create your rule to return what the status should be set to when the transaction runs.
Then when you Apply the transaction in your Scan Match action the value will be updated on the client. If you also want to update the status in the Backend system you will also need an Update rule as Emanuel mentions to change the status of the Order in the backend system.
Hope this helps!
--Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi André,
In order to modify the orderStatus property, you should create an update step in the transaction you have already created.
In this update step you should define all the logic you want to perform.
Best Regards,
Emanuel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.