Share via


<taSopToPopLink>

You can use the <taSopToPopLink> XML node to create new purchase orders**.**

Element name

Data type

Length

Required

Default

Description

SOPTYPE

i4

2

Y

Not applicable

2=Order;

5=Back order

SOPNUMBE

string

21

Y

Not applicable

SOP number

VENDORID

string

15

N

<blank>

ID of vendor purchasing from for non-inventory items; required if non-inventory items are used (the vendor ID for inventory items uses Primary Vendor for the Item/Location combination as the default and does not use this parameter)

DOCDATE

datetime

8 bytes

(19 to 23 chars)

N

<blank>

Date of the POs; default is current system state

CURNCYID

string

15

N

<blank>

Currency ID to use for all POs; default is from vendor or MC setup

SHIPMTHD

string

15

N

Default from setup

Shipping method to use for all POs; default is from vendor

USRDEFND1

string

50

N

<blank>

User-defined field--developer use only

USRDEFND2

string

50

N

<blank>

User-defined field--developer use only

USRDEFND3

string

50

N

<blank>

User-defined field--developer use only

USRDEFND4

string

8000

N

<blank>

User-defined field--developer use only

USRDEFND5

string

8000

N

<blank>

User-defined field--developer use only

This node uses document exchange for updates. All existing values are overwritten with the value specified by the update document. If a field in the update is blank, the existing value is changed to be blank.