Service Directory > v31.2 > Financial_Management > Put_Payment_Term
 

Operation: Put_Payment_Term

This service operation will add or update a Payment Term. Data includes Payment Terms ID, Payment Terms Name, Due Days, Payment Discount Days, Payment Discount Percent, and Grace Days.


@ - A parameter name with this symbol denotes an XML attribute within the document instead of an XML element.


Contents

 

Web Service

 

Request

 

Response

 

Element(s)

 

Request Element: Put_Payment_Term_Request

Element containing Payment Term reference for add or update and Payment Term data
 
Parameter name Type/Value Cardinality Description Validations
@version string [0..1] Web Service version  
@Add_Only  boolean  [1..1]  Add Only. If true, will not allow update of an already existing Payment Term object.   
Payment_Term_Reference  Payment_TermsObject  [0..1]  Payment Term Reference   
Payment_Term_Data  Payment_Terms_Data  [1..1]  Payment Terms Data   
Validation Description
The Web Service is set to Add Only; but the Payment Term already exists.   
top
 

Response Element: Put_Payment_Term_Response

Element containing Payment Term Response
 
Parameter name Type/Value Cardinality Description Validations
@version string [0..1] Web Service version  
Payment_Term_Reference  Payment_TermsObject  [0..1]  This is the reference id value of the Payment Term object   
top
 

Payment_TermsObject

part of: Put_Payment_Term_Request, Put_Payment_Term_Response
 
Parameter name Type/Value Cardinality Description Validations
@Descriptor  string  [1..1]  Display information used to describe an instance of an object. This 'optional' information is for outbound descriptive purposes only and is not processed on inbound Workday Web Services requests.   
ID  Payment_TermsObjectID  [0..*]  Contains a unique identifier for an instance of an object.   
top
 

Payment_TermsObjectID

part of: Payment_TermsObject
Contains a unique identifier for an instance of an object.
 
Parameter name Type/Value Cardinality Description Validations
#text  string       
@type  WID, Payment_Terms_ID  [1..1]  The unique identifier type. Each "ID" for an instance of an object contains a type and a value. A single instance of an object can have multiple "ID" but only a single "ID" per "type".   
top
 

Payment_Terms_Data

part of: Put_Payment_Term_Request
Payment Terms Data
 
Parameter name Type/Value Cardinality Description Validations
Payment_Terms_ID  string  [0..1]  The unique identifier for the Payment Terms   
Payment_Terms_Name  string  [1..1]  Payment Terms Name 
Validation Description
Enter a unique Payment Terms Name. [name] is already in use.  The Payment Terms Name is already in use. 
 
Due_Days  decimal (4, 0) >0   [0..1]  Due Days   
Payment_Discount_Days  decimal (4, 0) >0   [0..1]  Payment Discount Days   
Payment_Discount_Percent  decimal (5, 2) >0   [0..1]  Payment Discount Percent   
Grace_Days  decimal (4, 0) >0   [0..1]  Grace Days   
top
 

Payment_TermsReferenceEnumeration

part of: Payment_TermsObjectID
Base Type
string
top