Method: FinancialYearSettingsClient#create_financial_year_setting
- Defined in:
- lib/lockstep_sdk/clients/financial_year_settings_client.rb
#create_financial_year_setting(body:) ⇒ Object
Creates a financial year setting from a given model.
A Financial Year Setting is used to to set the type, beginning, end, and number of periods of a year used to calculate accounting reports. The financial setting can either be for a specific app enrollment id via a sync or, when the financial year setting is manually created, will cover all account data without an app enrollment id.
69 70 71 72 |
# File 'lib/lockstep_sdk/clients/financial_year_settings_client.rb', line 69 def create_financial_year_setting(body:) path = "/api/v1/FinancialYearSettings" @connection.request(:post, path, body, nil) end |