Service Directory > v32.1 > Cash_Management > Put_Petty_Cash_Account
 

Operation: Put_Petty_Cash_Account

This service operation will add or update Petty Cash Accounts. Petty Cash Account data includes Petty Cash Account ID, Account Name, Financial Party, Payment Type, Used by Cash flag, Used by Customer Payments flag, Used by Expense Payments flag, Used by Payroll flag, Used by Supplier Payments flag, and Used by Inter Company Payments flag.


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

Contains data for creating or updating a Petty Cash Account
 
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.   
Petty_Cash_Account_Reference  Petty_Cash_AccountObject  [0..1]  Reference to an existing Petty Cash Account   
Petty_Cash_Account_Data  Petty_Cash_Account_Data  [1..1]  Petty Cash Account Data 
Validation Description
Duplicate Petty Cash Account - A petty cash account with this name and for the same company already exists.  Duplicate Petty Cash Account - A petty cash account with this name and for the same company already exists. 
Financial Party must be a Company or a Company Hierarchy where all of the Companies have the same default currency.  Financial Party must be a Company or a Company Hierarchy where all of the Companies have the same default currency. 
If currencies are limited for Bank Account, Account currency must be included in limit group.  If currencies are limited for Bank Account, Account currency must be included in limit group. 
 
Validation Description
The Web Service is set to Add Only; but the Petty Cash Account already exists.   
top
 

Response Element: Put_Petty_Cash_Account_Response

Element containing Put Petty Cash Response Data
 
Parameter name Type/Value Cardinality Description Validations
@version string [0..1] Web Service version  
Petty_Cash_Account_Reference  Petty_Cash_AccountObject  [0..1]  Reference to an existing Petty Cash Account   
top
 

Petty_Cash_AccountObject

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

Petty_Cash_AccountObjectID

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

Petty_Cash_Account_Data

part of: Put_Petty_Cash_Account_Request
Wrapper Element that includes Petty Cash Account Instance and Data
 
Parameter name Type/Value Cardinality Description Validations
Petty_Cash_Account_ID  string  [0..1]  Petty Cash Account ID. This is the Petty Cash Account unique identifier   
Account_Name  string  [1..1]  Petty Cash Account Name   
Financial_Party_Reference  Financial_PartyObject  [1..1]  Reference to an existing Organization   
Default_Currency_Reference  CurrencyObject  [0..1]  Currency Reference 
Validation Description
Currency is required for Petty Cash Account.  Currency is required for Petty Cash Account. 
 
Accepted_Currencies_Reference  CurrencyObject  [0..*]  Accepted Currencies Reference. When no accepted currencies are passed in the web service, the bank account will accept all currencies.   
Payment_Type_Reference  Payment_TypeObject  [1..*]  This is the payment type for the transaction and needs to be the reference id value of the payment type. Payment Type establishes methods of making payments, such as cash, check, or electronic transfer. Workday supplies the payment methods. Usually there is a one-to-one relationship between payment type (which you define) and Workday's provided payment methods. If no payment type is specified, Workday will populate this with the customer's default payment type if one is defined. Typically this is only populated when it is an electronic payment type whose collection would be initiated by Workday.   
Used_by_Cash  boolean  [0..1]  Boolean flag indicating if the Petty Cash Account is usable for Cash payments   
Used_by_Customer_Payments  boolean  [0..1]  Boolean flag indicating if the Petty Cash Account is usable for Customer payments   
Used_by_Expense_Payments  boolean  [0..1]  Boolean flag indicating if the Petty Cash Account is usable for Expense payments   
Used_by_Payroll  boolean  [0..1]  Boolean flag indicating if the Petty Cash Account is usable for Payroll payments   
Used_by_Supplier_Payments  boolean  [0..1]  Boolean flag indicating if the Petty Cash Account is usable for Supplier payments   
Used_by_Intercompany_Payments  boolean  [0..1]  Boolean flag indicating if the Petty Cash Account is usable for Intercompany payments   
Used_by_Ad_hoc_Payments  boolean  [0..1]  Boolean flag indicating if the Petty Cash Account is usable for Ad Hoc payments   
Used_by_Bank_Account_Transfers_for_Settlement  boolean  [0..1]  Indicates that the account can be used for Bank Account Transfer for Settlement   
Used_by_Off-Cycle_Payroll  boolean  [0..1]  Boolean flag indicating if the Petty Cash Account is usable for Off-Cycle Payroll payments   
Used_by_Prenote_Payments  boolean  [0..1]  Boolean flag indicating if the Petty Cash Account is usable for Prenote payments   
Allow_Additional_usage  boolean  [0..1]  Boolean indicating if the bank account can be used for additional usages   
Bank_Account_Security_Segment_Reference  Bank_Account_Security_SegmentObject  [0..*]  This is the bank account security segment for the bank account. If segmented security is set up for bank accounts, these segments indicate the security for the bank account.   
Validation Description
Duplicate Petty Cash Account - A petty cash account with this name and for the same company already exists.  Duplicate Petty Cash Account - A petty cash account with this name and for the same company already exists. 
Financial Party must be a Company or a Company Hierarchy where all of the Companies have the same default currency.  Financial Party must be a Company or a Company Hierarchy where all of the Companies have the same default currency. 
If currencies are limited for Bank Account, Account currency must be included in limit group.  If currencies are limited for Bank Account, Account currency must be included in limit group. 
top
 

Financial_PartyObject

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

Financial_PartyObjectID

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

CurrencyObject

part of: Petty_Cash_Account_Data, Petty_Cash_Account_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: Petty_Cash_Account_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
 

Bank_Account_Security_SegmentObject

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

Bank_Account_Security_SegmentObjectID

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

Petty_Cash_AccountReferenceEnumeration

part of: Petty_Cash_AccountObjectID
Base Type
string
top
 

Financial_PartyReferenceEnumeration

part of: Financial_PartyObjectID
Base Type
string
top
 

CurrencyReferenceEnumeration

part of: CurrencyObjectID
Base Type
string
top
 

Payment_TypeReferenceEnumeration

part of: Payment_TypeObjectID
Base Type
string
top
 

Bank_Account_Security_SegmentReferenceEnumeration

part of: Bank_Account_Security_SegmentObjectID
Base Type
string
top