ediLinkInbound850
Links an order to the inbound EDI 850 it was created from, so the order’s EDI tab and its 855, 856, and 810 can read the purchase order.
Business Rules
- The 850 is found through the transaction id recorded on the order when it was created from that 850. Purchase order numbers are not matched, so a resent 850 is never linked.
- Only an 850 that is not linked to any order is linked.
Error Scenarios
- The order is not found in the company, or is not a V2 order.
- The order did not come from Endless EDI.
- The order already has a linked 850.
- No unlinked 850 is recorded for the order.
Permissions Required
edi:link_inbound_850
ediLinkInbound850(
input: LinkInbound850Input!
): V2Order!
Arguments
ediLinkInbound850.input ● LinkInbound850Input! non-null input common
Parameters for LinkInbound850
Type
V2Order object orders
An order with the fields needed for draft creation and order details.