lockstep_rails 0.3.50 → 0.3.51
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 17bae7b548a91206d28195b92dedd178d43d42c9ce3a5d3a258328a4d5161c10
|
4
|
+
data.tar.gz: 9236a2514f3ed31d3cc51ebc5ae831f3f0984ed97ed748cf8f35d7db0e230246
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 538ef7d53e03020f7b4786168685d148b8bc52b648e22b804eb19063462d9c2756febb8700ba65462a4331b6be206ef7b7eedde7e31bae91b26249dbb00dad77
|
7
|
+
data.tar.gz: 495323313f0830fac7e5831c2ecdb59f324ad31514067c98093a65ba111996d7c952acc48c911c75d43f4814f47805cb9605ca0ec29fc8bf87739a60f9a10880
|
data/README.md
CHANGED
@@ -57,6 +57,7 @@ The gem is available as open source under the terms of the [MIT License](https:/
|
|
57
57
|
* Lockstep::ReportArAgingHeader
|
58
58
|
* Lockstep::ReportCashflow
|
59
59
|
* Lockstep::ReportDailyPayableOutstanding
|
60
|
+
* Lockstep::ReportDailyPayableOutstandingSummary
|
60
61
|
* Lockstep::ReportDailySalesOutstanding
|
61
62
|
* Lockstep::ReportPayableComingDue
|
62
63
|
* Lockstep::ReportPayablesComingDueSummary
|
@@ -0,0 +1,10 @@
|
|
1
|
+
class Lockstep::ReportDailyPayableOutstandingSummary < Lockstep::ApiRecord
|
2
|
+
self.model_name_uri = "v1/Reports/daily-payable-outstanding-summary"
|
3
|
+
self.query_path= ""
|
4
|
+
load_schema(Schema::DailyPayableOutstandingSummaryReport)
|
5
|
+
|
6
|
+
def self.with_report_date(report_date)
|
7
|
+
additional_query_params({"reportDate": report_date})
|
8
|
+
end
|
9
|
+
|
10
|
+
end
|
@@ -0,0 +1,49 @@
|
|
1
|
+
class Schema::DailyPayableOutstandingSummaryReport < Lockstep::ApiRecord
|
2
|
+
# Description: Represents a summary of outstanding amounts for bills to vendors and their associated daily payable outstanding value.
|
3
|
+
|
4
|
+
# ApiRecord will crash unless `id_ref` is defined
|
5
|
+
def self.id_ref
|
6
|
+
nil
|
7
|
+
end
|
8
|
+
|
9
|
+
# The GroupKey uniquely identifies a single Lockstep Platform account. All records for this
|
10
|
+
# account will share the same GroupKey value. GroupKey values cannot be changed once created.
|
11
|
+
#
|
12
|
+
# For more information, see [Accounts and GroupKeys](https://developer.lockstep.io/docs/accounts-and-groupkeys).
|
13
|
+
# @type: string
|
14
|
+
# @format: uuid
|
15
|
+
field :group_key
|
16
|
+
|
17
|
+
# The unique ID of the vendor.
|
18
|
+
# @type: string
|
19
|
+
# @format: uuid
|
20
|
+
field :vendor_id
|
21
|
+
|
22
|
+
# The name of the vendor.
|
23
|
+
# @type: string
|
24
|
+
field :vendor_name
|
25
|
+
|
26
|
+
# The name of the primary contact.
|
27
|
+
# @type: string
|
28
|
+
field :primary_contact
|
29
|
+
|
30
|
+
# The total number of outstanding bills.
|
31
|
+
# @type: integer
|
32
|
+
# @format: int32
|
33
|
+
field :bills
|
34
|
+
|
35
|
+
# The group's base currency code.
|
36
|
+
# @type: string
|
37
|
+
field :base_currency_code
|
38
|
+
|
39
|
+
# The total amount outstanding at the group's base currency.
|
40
|
+
# @type: number
|
41
|
+
# @format: double
|
42
|
+
field :amount_outstanding
|
43
|
+
|
44
|
+
# The days payable outstanding value.
|
45
|
+
# @type: number
|
46
|
+
# @format: double
|
47
|
+
field :dpo
|
48
|
+
|
49
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lockstep_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.51
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vivek AG
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-03-
|
11
|
+
date: 2023-03-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -65,6 +65,7 @@ files:
|
|
65
65
|
- app/models/lockstep/report_ar_aging_header.rb
|
66
66
|
- app/models/lockstep/report_cashflow.rb
|
67
67
|
- app/models/lockstep/report_daily_payable_outstanding.rb
|
68
|
+
- app/models/lockstep/report_daily_payable_outstanding_summary.rb
|
68
69
|
- app/models/lockstep/report_daily_sales_outstanding.rb
|
69
70
|
- app/models/lockstep/report_payable_coming_due.rb
|
70
71
|
- app/models/lockstep/report_payable_coming_due_summary.rb
|
@@ -143,6 +144,7 @@ files:
|
|
143
144
|
- app/platform_api/schema/customer_summary.rb
|
144
145
|
- app/platform_api/schema/customer_summary_fetch_result.rb
|
145
146
|
- app/platform_api/schema/daily_payable_outstanding_report.rb
|
147
|
+
- app/platform_api/schema/daily_payable_outstanding_summary_report.rb
|
146
148
|
- app/platform_api/schema/daily_sales_outstanding_report.rb
|
147
149
|
- app/platform_api/schema/delete_result.rb
|
148
150
|
- app/platform_api/schema/developer_account_submit.rb
|