This section will cover how push product data to the Client's ecommerce site as client nears go live date.
1. Log in into SQL Server Management Studio.
2. Nav to Object Explorer. (Note: if "Object Explorer is not open, User will need to connect to it)
3. Nav to and select "dbo.USR_CPHIVE_SUBSCRIPTION
4. Right-click "Edit Top 200 Rows".
8. Add "AND IM_ITEM.PROF_NO_# = #" to product/created" and "product/updated " to FILTER Fields.
9. Click "Enter" key.
10. Product Filters should now have IM_ITEM.IS_ECOMM_ITEM = 'Y'.
11. Create a new Query.
12. Type Select * From IM_ITEM where IS_ECCOM_ITEM = 'Y'.
13. Select Execute.
14. Look for a Column name that's not being currently used to fill for a SQL Job (Example:Prof_No_4).
15. Navigate to SQL Server Agent and click + button.
16. Navigate to Jobs and click + Button.
17. Right Click jobs area and select New Job"
.
18. Type in Job name (Example: Product Sync).
19: Select Steps.
14. Select New.
15. Type in Step name. (Example: Sync)
16. Select Counterpoint Database from Database Dropdown
17. Type in Query for job. (Example UPDATE TOP (60) IM_ITEM SET PROF_COD_4 = 4 WHERE IS_ECOMM_ITEM = 'Y' AND COALESCE(PROF_COD_4, 9) <> 4)
18. Click Ok.
19. Select "Schedules".
20. Select New".
21. Type in name (Example: Recur).
22. Change "Frequency" to "Daily".
23. Change " Daily Frequency" to “Occurs every 10 mins".
24. Check "Enabled" box next to "Schedule type".
25. Click Ok.
26. Click Ok again.
27. Highlight Job.
28. Right-click and select "Start Job at Step" to verify query works.
If query failed…or recurrence is not working properly, the settings were not implemented correctly.
Please check your work.