An eConnect docuement that describes a vendor.
Create a New Vendor Record The <taUpdateCreateVendorRcd> XML node allows you to create a new vendor record from the PM Vendor Master schema. Complete the following steps to create a vendor record:
The vendor ID (VENDORID) and vendor name (VENDNAME) elements are required.
To create a new vendor, set the UpdateIfExists element one or zero.
Set the UseVendorClass element to 0 to use only the element values specified by the <taUpdateCreateVendorRcd> XML node. Elements not specified by the <taUpdateCreateVendorRcd> XML node use the default value supplied by Microsoft Dynamics GP.
Set the UseVendorClass element to 1 to use a vendor class as a source for default values. If UseVendorClass is set to 1, you must specify the vendor class ID in the vendor class ID (VNDCLSID) element. The vendor class provides default values for elements not specified by the <taUpdateCreateVendorRcd> XML node. If the vendor class does not provide an element with a default value, the vendor record uses the default value supplied by Microsoft Dynamics GP.
Update a Vendor Record The <taUpdateCreateVendorRcd> XML node allow you to update an existing vendor record from the PM Vendor Master schema. Complete the following steps to update a vendor record:
The VENDORID element is required.
The UpdateIfExists element must be set to one.
Set the UseVendorClass element to 0 to update only the elements specified by the <taUpdateCreateVendorRcd> XML node. The XML node should include only the elements that have updated values. Elements that are excluded from the XML node or that supply a null value, retain their existing value.
Set the UseVendorClass element to 1 to use default value provided by a vendor class. In an update, you may choose whether or not to supply a vendor class ID in the VNDCLSID element.
If you specify a vendor class ID in the VNDCLSID element, updates to elements use the following rules:
If you do not specify a vendor class ID in the VNDCLSID element, the <taUpdateCreateVendorRcd> XML node updates only the elements specified by the XML node. Elements that are excluded from the XML node or that supply a null value, retain their existing value.
<eConnect> <PMVendorMasterType> <eConnectProcessInfo /> <taRequesterTrxDisabler_Items> <taRequesterTrxDisabler /> </taRequesterTrxDisabler_Items> <taUpdateCreateVendorRcd /> <taCreateVendorAddress_Items> <taCreateVendorAddress /> </taCreateVendorAddress_Items> <taCreateInternetAddresses_Items> <taCreateInternetAddresses /> </taCreateInternetAddresses_Items> <taUpdateCreatePAVendorRcd /> </PMVendorMasterType> </eConnect>