Hi,
We need to do an API to allocate materials in a IMO (Internal Material Order).
@Community : Do you have an example of an API message that we could use in Process Flow to allocate materials ?
Thanks 🙏 and regards
anthony
Hi,
We need to do an API to allocate materials in a IMO (Internal Material Order).
@Community : Do you have an example of an API message that we could use in Process Flow to allocate materials ?
Thanks 🙏 and regards
anthony
Best answer by Joshua Liem
Hi Anthony,
Below is an API sample to allocate IMO line.
Please replace everything with the {} with the appropriate value.
For non consignment stock, please remove the company_id
<root xmlns:dt="urn:schemas-microsoft-com:datatypes">
<session email="" alias="">
<state bc_name="log_int_order">
<action name="execmacro">
<attribute bo_name="main" macro_name="SOURCING" />
<attribute dtype="string" value="{order_id}" />
<attribute dtype="string" value="{demand_id}" />
<attribute dtype="string" value="- -req_qty,cancel_due_date_check,part_id,whse,bin,fr_bin_code_id,inv_type,company_id,${qty},1,{bpart_id},{warehouse_id},{bin_id},{bin_code_id},{inv_type_id},{company_id}," />
<attribute dtype="string" value="{qty}" />
</action>
</state>
</session>
</root>
Good luck.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.