Hi,
I know there is a way to get macro names that you can use in API with ExecMacro action, but don’t know it anymore.
I was looking for macro to set Service orders to Need audit or pending invoice or invoice with macro.
I was using APPROVEREJECTORDERBATCHSINGLE macro, but does not work as i expected
<root
xmlns:dt="urn:schemas-microsoft-com:datatypes">
<session email="" alias="">
<state bc_name="Service_order">
<action name="execmacro">
<attribute bo_name="main" macro_name="APPROVEREJECTORDERBATCHSINGLE"/>
<attribute dtype="string" in_var="" value="{order_id}"/>
<attribute dtype="string" in_var="" value="afteraudit"/>
<attribute dtype="string" in_var="" value="Auto Need Audit"/>
<attribute dtype="string" in_var="" value=""/>
<attribute dtype="string" in_var="" value=""/>
<attribute dtype="string" in_var="" value=""/>
</action>
</state>
</session>
</root>
Also where can i find all available Macro’s that can be used in ExecMacro action?
Robin