erp_integration 0.61.0 → 0.62.0
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: 63269c49afd5a3ed49f2a21df8a3e4f102b4206f807ec2b856c0e35a62cea05a
|
4
|
+
data.tar.gz: 5a31d04b8d8a7d45f08921a32d470e80d717b0e76d5e01757eb2c6ff6a3fe22c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: adffdd3bf7d3746d1256509f5572e52d4ab7be28cc064efc9dabc870ab6c0846ee81e5523ed37e641b13a870b686a53e84be2cb7c9ec478466c009c7aa0074e1
|
7
|
+
data.tar.gz: 2b93cf2f5299db27f9a8dec86df24803641d58f641ec484437b21f943848da29068953952b96d236a2d95cf9de0588726fd2f28a52d562b2e0b3581247d9328f
|
@@ -103,6 +103,11 @@ module ErpIntegration
|
|
103
103
|
# @return [Symbol] The configured adapter for the purchase order lines.
|
104
104
|
attr_writer :purchase_order_line_adapter
|
105
105
|
|
106
|
+
# Allows configuring an adapter for the `PurchaseProductSupplier` resource. When
|
107
|
+
# none is configured, it will default to Fulfil.
|
108
|
+
# @return [Symbol] The configured adapter for the purchase order lines.
|
109
|
+
attr_writer :purchase_product_supplier_adapter
|
110
|
+
|
106
111
|
# Allows configuring an adapter for the `PurchaseRequest` resource. When
|
107
112
|
# none is configured, it will default to Fulfil.
|
108
113
|
# @return [Symbol] The configured adapter for the purchase request.
|
@@ -250,6 +255,10 @@ module ErpIntegration
|
|
250
255
|
@purchase_order_line_adapter || :fulfil
|
251
256
|
end
|
252
257
|
|
258
|
+
def purchase_product_supplier_adapter
|
259
|
+
@purchase_product_supplier_adapter || :fulfil
|
260
|
+
end
|
261
|
+
|
253
262
|
def purchase_request_adapter
|
254
263
|
@purchase_request_adapter || :fulfil
|
255
264
|
end
|
@@ -0,0 +1,12 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module ErpIntegration
|
4
|
+
# The `ErpIntegration::PurchaseProductSupplier` exposes an uniformed API for interaction with
|
5
|
+
# third-party ERP vendors.
|
6
|
+
class PurchaseProductSupplier < Resource
|
7
|
+
attr_accessor :id, :active, :code, :company, :create_date, :create_uid,
|
8
|
+
:currency, :drop_shipment, :lead_time, :metadata, :moq, :name,
|
9
|
+
:party, :prices, :product, :quantity_available, :quantity_available_updated,
|
10
|
+
:sequence
|
11
|
+
end
|
12
|
+
end
|
data/lib/erp_integration.rb
CHANGED
@@ -47,6 +47,7 @@ module ErpIntegration
|
|
47
47
|
autoload :ProductionOrder, 'erp_integration/production_order'
|
48
48
|
autoload :PurchaseOrder, 'erp_integration/purchase_order'
|
49
49
|
autoload :PurchaseOrderLine, 'erp_integration/purchase_order_line'
|
50
|
+
autoload :PurchaseProductSupplier, 'erp_integration/purchase_product_supplier'
|
50
51
|
autoload :PurchaseRequest, 'erp_integration/purchase_request'
|
51
52
|
autoload :Resource, 'erp_integration/resource'
|
52
53
|
autoload :SalesLineOption, 'erp_integration/sales_line_option'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: erp_integration
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.62.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stefan Vermaas
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-02-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -302,6 +302,7 @@ files:
|
|
302
302
|
- lib/erp_integration/fulfil/resources/production_order.rb
|
303
303
|
- lib/erp_integration/fulfil/resources/purchase_order.rb
|
304
304
|
- lib/erp_integration/fulfil/resources/purchase_order_line.rb
|
305
|
+
- lib/erp_integration/fulfil/resources/purchase_product_supplier.rb
|
305
306
|
- lib/erp_integration/fulfil/resources/purchase_request.rb
|
306
307
|
- lib/erp_integration/fulfil/resources/sales_line_option.rb
|
307
308
|
- lib/erp_integration/fulfil/resources/sales_order.rb
|
@@ -330,6 +331,7 @@ files:
|
|
330
331
|
- lib/erp_integration/production_order.rb
|
331
332
|
- lib/erp_integration/purchase_order.rb
|
332
333
|
- lib/erp_integration/purchase_order_line.rb
|
334
|
+
- lib/erp_integration/purchase_product_supplier.rb
|
333
335
|
- lib/erp_integration/purchase_request.rb
|
334
336
|
- lib/erp_integration/rate_limiter.rb
|
335
337
|
- lib/erp_integration/resource.rb
|
@@ -371,7 +373,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
371
373
|
- !ruby/object:Gem::Version
|
372
374
|
version: '0'
|
373
375
|
requirements: []
|
374
|
-
rubygems_version: 3.
|
376
|
+
rubygems_version: 3.5.22
|
375
377
|
signing_key:
|
376
378
|
specification_version: 4
|
377
379
|
summary: Connects Mejuri with third-party ERP vendors
|