Service Directory > v32.1 > Resource_Management > Put_Cash_Advance_Repayment
 

Operation: Put_Cash_Advance_Repayment

Adds or updates Cash Advance Repayments. Cash Advance Repayment data includes Spend Authorization for Repayment, Repayment Amount, Repayment Currency, Date, Reference, and Memo.


@ - 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_Cash_Advance_Repayment_Request

Element containing Spend Authorization reference for update and all Cash Advance Repayment data items
 
Parameter name Type/Value Cardinality Description Validations
@version string [0..1] Web Service version  
@Add_Only  boolean  [1..1]  Add Only Flag. Indicates that the service is an add only, not an update.   
Cash_Advance_Repayment_Reference  Cash_Advance_RepaymentObject  [0..1]  Reference to an existing Cash Advance Repayment for update only purposes   
Cash_Advance_Repayment_Data  Cash_Advance_Repayment_Data  [1..1]  Cash Advance Repayment 
Validation Description
Cash Advance Repayment currency must be either the currency for the business document or the company.   
Cash Advance Available Balance is [Cash Advance Available Balance in Repayment Currency]. Repayment Amount must be less than or equal to the Available Balance. Cash Advance Available Balance includes applied cash advance amount on an expense report not fully approved for this worker. Cancel the related expense report or enter a new Repayment Amount.   
 
Validation Description
The Web Service is set to Add Only; documents cannot be resubmitted.   
top
 

Response Element: Put_Cash_Advance_Repayment_Response

Wrapper Element that includes Cash Advance Repayment Instance
 
Parameter name Type/Value Cardinality Description Validations
@version string [0..1] Web Service version  
Cash_Advance_Repayment_Reference  Cash_Advance_RepaymentObject  [0..1]  Reference to a specific Cash Advance Repayment   
top
 

Cash_Advance_RepaymentObject

part of: Put_Cash_Advance_Repayment_Request, Put_Cash_Advance_Repayment_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  Cash_Advance_RepaymentObjectID  [0..*]  Contains a unique identifier for an instance of an object.   
top
 

Cash_Advance_RepaymentObjectID

part of: Cash_Advance_RepaymentObject
Contains a unique identifier for an instance of an object.
 
Parameter name Type/Value Cardinality Description Validations
#text  string       
@type  WID, Cash_Advance_Repayment_Reference_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
 

Cash_Advance_Repayment_Data

part of: Put_Cash_Advance_Repayment_Request
Cash Advance Repayment Data contains all of the enterable information about a Cash Advance Repayment
 
Parameter name Type/Value Cardinality Description Validations
Cash_Advance_Repayment_ID  string  [0..1]  Cash Advance Repayment ID. This is the Cash Advance Repayment unique identifier   
Submit  boolean  [0..1]  Submit for Approval is a boolean flag indicating if the transaction is to be submitted or saved in draft mode. If this flag is set, the transaction will be submitted, otherwise the transaction is saved in draft.   
Spend_Authorization_Reference  Spend_AuthorizationObject  [1..1]  Required field representing the Spend Authorization being repaid by the Cash Advance Repayment.   
Repayment_Date  date  [1..1]  The date the Cash Advance Repayment is being recorded   
Repayment_Amount  decimal (18, 3) >0   [1..1]  Amount being repaid with this Cash Advance Repayment   
Currency_Reference  CurrencyObject  [1..1]  Currency for the Cash Advance Repayment. Restricted to Company or Spend Authorization currency   
Payment_Type_Reference  Payment_TypeObject  [1..1]  Payment Type for the Cash Advance Repayment   
Repayment_Reference  string  [0..1]  Reference information for the Cash Advance Repayment   
Repayment_Memo  string  [0..1]  Memo for Cash Advance Repayment   
Validation Description
Cash Advance Repayment currency must be either the currency for the business document or the company.   
Cash Advance Available Balance is [Cash Advance Available Balance in Repayment Currency]. Repayment Amount must be less than or equal to the Available Balance. Cash Advance Available Balance includes applied cash advance amount on an expense report not fully approved for this worker. Cancel the related expense report or enter a new Repayment Amount.   
top
 

Spend_AuthorizationObject

part of: Cash_Advance_Repayment_Data
 
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  Spend_AuthorizationObjectID  [0..*]  Contains a unique identifier for an instance of an object.   
top
 

Spend_AuthorizationObjectID

part of: Spend_AuthorizationObject
Contains a unique identifier for an instance of an object.
 
Parameter name Type/Value Cardinality Description Validations
#text  string       
@type  WID, Spend_Authorization_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
 

CurrencyObject

part of: Cash_Advance_Repayment_Data
 
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  CurrencyObjectID  [0..*]  Contains a unique identifier for an instance of an object.   
top
 

CurrencyObjectID

part of: CurrencyObject
Contains a unique identifier for an instance of an object.
 
Parameter name Type/Value Cardinality Description Validations
#text  string       
@type  WID, Currency_ID, Currency_Numeric_Code  [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_TypeObject

part of: Cash_Advance_Repayment_Data
 
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_TypeObjectID  [0..*]  Contains a unique identifier for an instance of an object.   
top
 

Payment_TypeObjectID

part of: Payment_TypeObject
Contains a unique identifier for an instance of an object.
 
Parameter name Type/Value Cardinality Description Validations
#text  string       
@type  WID, Payment_Type_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
 

Cash_Advance_RepaymentReferenceEnumeration

part of: Cash_Advance_RepaymentObjectID
Base Type
string
top
 

Spend_AuthorizationReferenceEnumeration

part of: Spend_AuthorizationObjectID
Base Type
string
top
 

CurrencyReferenceEnumeration

part of: CurrencyObjectID
Base Type
string
top
 

Payment_TypeReferenceEnumeration

part of: Payment_TypeObjectID
Base Type
string
top