RJMetrics / magenerator

Generate sample Magento store data
Open Software License 3.0
3 stars 1 forks source link

B2B data changes #54

Open ckelley-magento opened 7 years ago

ckelley-magento commented 7 years ago

Tables to be created

admin_users

Tables to edit

quote

(edited to move status + expiration_period to negotiable_quote)

negotiable_quote

company_advanced_customer_entity

General

Many tables seem to not have a PK indicated, which is making it difficult to sync them. Examples:

We fixed this for a few tables already, but there are several steps involved that don't seem to always work.

ckelley-magento commented 7 years ago

Note: More issues will be created – there are the initial ones.

chris-schmid commented 7 years ago

A few additional tables to edit:

shared_catalog

INSERT INTO `shared_catalog` (`entity_id`, `name`, `description`, `customer_group_id`, `type`, `created_at`, `created_by`, `store_id`) VALUES
(1, 'Default (General)', 'Public shared catalog', 2, 1, '2015-06-23 20:04:44', 1, NULL),
(2, 'Wholesale', NULL, 3, 0, '2016-06-23 20:50:56', 1, 0),
(3, 'Retailer', NULL, 4, 0, '2016-06-23 20:50:57', 1, 0),
(4, 'US Resellers', NULL, 5, 0, '2016-06-23 20:50:58', 1, 0),
(5, 'CA Resellers', NULL, 6, 0, '2016-06-23 20:50:59', 1, 0);

company

ckelley-magento commented 7 years ago

Blank tables:

These tables are blank according to MBI (including remote queries).

Tables to edit (cont'd)

bengarvey commented 7 years ago

These are a lot of items. It's generally better to break them down into smaller requests.

bengarvey commented 7 years ago

@ckelley-magento I don't see a status column on the quote table.

ckelley-magento commented 7 years ago

@bengarvey status is on negotiable_quote; I apologize.

Do you want me to split the stuff you didn't address in "Fix/b2b polish" PR into separate issues?