Vendor Credit
A vendor credit transaction creates a credit, from a vendor, that can be applied to a payables account. For example, a vendor credit transaction may occur when items are returned to a vendor or when a discount is negotiated with a vendor.
For details about this type of transaction, see Vendor Credits.
The vendor credit record is defined in the tranPurch (purchases) XSD.
Supported Operations
The following operations can be used with vendor credit records:
add | addList | attach / detach | delete | deleteList | get | getDeleted | getList | getSavedSearch | getSelectValue | initialize / initializeList | search | update | updateList | upsert | upsertList
You can also use the asynchronous equivalents of SOAP web services list operations. For information about asynchronous operations, see SOAP Web Services Asynchronous Operations. For more information about request processing, see Synchronous Versus Asynchronous Request Processing.
Field Definitions
The SOAP Schema Browser includes definitions for all body fields, sublist fields, search filters, and search joins available to this record. For details, see the SOAP Schema Browser’s vendor credit reference page.
For information on using the SOAP Schema Browser, see SOAP Schema Browser.
Usage Notes
Initializing Vendor Credits
You can initialize a vendor credit from a Vendor, a Vendor Bill, or a Vendor Return Authorization.
The SOAP web services initialize operation emulates the UI workflow by prepopulating fields on transaction line items with values from a related record.
Subsidiary is passed as an initialize parameter to the vendor credit record.
For more information about this operation, see initialize / initializeList.
Accessing Serial/Lot or Bin Data for Line Items
As of the 2011.2 endpoint, code to access serial number, lot number, and bin number data varies according to whether the Advanced Bin Management / Numbered Inventory Management feature is enabled.
-
If this feature is enabled, you must use the 2011.2 endpoint or later to access the Inventory Detail subrecord and the most up-to-date bin and numbered inventory fields. You need to update any SOAP web services code from a previous endpoint that accesses these fields, to avoid errors or unexpected results.
-
If this feature is not enabled, you do not need to use the inventory detail record to access bin and numbered inventory fields and you do not need to update any related SOAP web services code from prior to 2011.2.
For more details, see Updating SOAP Web Services Code When Advanced Bin / Numbered Inventory Management is Enabled.