{"id":17188,"date":"2020-06-19T23:00:03","date_gmt":"2020-06-20T03:00:03","guid":{"rendered":"http:\/\/bangla.salearningschool.com\/recent-posts\/xls_auto_pricing_data_for_uk_eu-2\/"},"modified":"2020-06-20T13:25:02","modified_gmt":"2020-06-20T17:25:02","slug":"xls_auto_pricing_data_for_uk_eu-2","status":"publish","type":"post","link":"http:\/\/bangla.sitestree.com\/?p=17188","title":{"rendered":"xls_auto_pricing_data_for_Uk_eu"},"content":{"rendered":"<p>\/****** Object: StoredProcedure [dbo].[xls_auto_pricing_data_for_Uk_eu] Script Date: 2020-06-19 10:15:42 PM ******\/<br \/>\nSET ANSI_NULLS ON<br \/>\nGO<br \/>\nSET QUOTED_IDENTIFIER ON<br \/>\nGO<\/p>\n<p>remove-this-phrase&#8211; =============================================<br \/>\nremove-this-phrase&#8211; Author: &lt;Author,,Name&gt;<br \/>\nremove-this-phrase&#8211; Create date: &lt;Create Date,,&gt;<br \/>\nremove-this-phrase&#8211; Description:\t&lt;Description,,&gt;<br \/>\nremove-this-phrase&#8211; =============================================<br \/>\nCREATE PROCEDURE [dbo].[xls_auto_pricing_data_for_Uk_eu]<br \/>\nAS<br \/>\nBEGIN<br \/>\nremove-this-phrase&#8211; SET NOCOUNT ON added to prevent extra result sets from<br \/>\nremove-this-phrase&#8211; interfering with SELECT statements.<br \/>\nSET NOCOUNT ON;<\/p>\n<p>update july_22nd_2019__price_calculations<br \/>\nset sku=concat(&#8216;shopforsoul-&#8216;, sku)<br \/>\nwhere sku not like &#8216;%shopfor%&#8217;;<\/p>\n<p>remove-this-phrase&#8211;select * from CanadaAllListingsReport12252018;<br \/>\nremove-this-phrase&#8211;minimum price update<br \/>\nselect trim(uk.[seller-sku]) as sku<br \/>\nremove-this-phrase&#8211;select trim(canada.[seller_sku]) as sku<br \/>\nremove-this-phrase&#8211;,p.sku<br \/>\nremove-this-phrase&#8211;,trim(concat(&#8216;shopforsoul-&#8216;,s.[Model Code]))<br \/>\n, round(amazon_special_price_gbp + 6, 2) as price<br \/>\n, round(amazon_gbp_minimum_price + 6, 2) as [minimum-seller-allowed-price]<br \/>\n, round(amazon_list_price_gbp + 6 ,2) as [maximum-seller-allowed-price]<br \/>\n, 1 as quantity<br \/>\n, 10 as [handling-time]<br \/>\n, &#8216;default&#8217; as [fulfillment-channel]<br \/>\nremove-this-phrase&#8211;, s.[Stock status]<\/p>\n<p>from july_22nd_2019__price_calculations p<br \/>\ninner join UkAllListingsReport08262019 uk on trim(uk.[seller-sku])=trim(p.sku)<br \/>\nremove-this-phrase&#8211;inner join NewCanadaAllListingsReport02062019 canada on trim(canada.[seller_sku])=trim(p.sku)<br \/>\nremove-this-phrase&#8211;inner join [supplier-jan-10-2019] s on trim(concat(&#8216;shopforsoul-&#8216;,s.[Model Code]))=trim(p.sku)<br \/>\nwhere (uk.status=&#8217;Active&#8217;) and (p.status=1)<br \/>\nremove-this-phrase&#8211;and s.[Stock status] = &#8216;In Stock&#8217;<br \/>\nremove-this-phrase&#8211;and sku like &#8216;%shopforsoul-PTO_03FTX3%&#8217;<\/p>\n<p>remove-this-phrase&#8211;#FranceAllListingsReport02272019<br \/>\nremove-this-phrase&#8211;minimum price update<br \/>\nselect fr.[seller-sku] as sku<br \/>\nremove-this-phrase&#8211;select trim(canada.[seller_sku]) as sku<br \/>\nremove-this-phrase&#8211;,p.sku<br \/>\nremove-this-phrase&#8211;,trim(concat(&#8216;shopforsoul-&#8216;,s.[Model Code]))<br \/>\n, round(amazon_special_price_eu + 6, 2) as price<br \/>\n, round(amazon_eu_minimum_price + 6, 2) as [minimum-seller-allowed-price]<br \/>\n, round(amazon_list_price_eu + 6 ,2) as [maximum-seller-allowed-price]<br \/>\n, 1 as quantity<br \/>\n, 10 as [handling-time]<br \/>\n, &#8216;default&#8217; as [fulfillment-channel]<br \/>\nremove-this-phrase&#8211;, s.[Stock status]<\/p>\n<p>from july_22nd_2019__price_calculations p<br \/>\ninner join SpainAllListingsReport08262019 fr on fr.[seller-sku]=trim(p.sku)<br \/>\nremove-this-phrase&#8211;inner join NewCanadaAllListingsReport02062019 canada on trim(canada.[seller_sku])=trim(p.sku)<br \/>\nremove-this-phrase&#8211;inner join [supplier-jan-10-2019] s on trim(concat(&#8216;shopforsoul-&#8216;,s.[Model Code]))=trim(p.sku)<br \/>\nwhere (fr.status=&#8217;Active&#8217;) and (p.status=1) and (fr.[seller-sku] like &#8216;%shopforsoul%&#8217;)<br \/>\nremove-this-phrase&#8211;and s.[Stock status] = &#8216;In Stock&#8217;<br \/>\nremove-this-phrase&#8211;and sku like &#8216;%shopforsoul-PTO_03FTX3%&#8217;<\/p>\n<p>remove-this-phrase&#8212;<br \/>\nremove-this-phrase&#8211;#spain<br \/>\nremove-this-phrase&#8211;minimum price update<br \/>\nselect trim(sp.[seller_sku]) as sku<br \/>\nremove-this-phrase&#8211;select trim(canada.[seller_sku]) as sku<br \/>\nremove-this-phrase&#8211;,p.sku<br \/>\nremove-this-phrase&#8211;,trim(concat(&#8216;shopforsoul-&#8216;,s.[Model Code]))<br \/>\n, round(amazon_special_price_eu + 6, 2) as price<br \/>\n, round(amazon_eu_minimum_price + 6, 2) as [minimum-seller-allowed-price]<br \/>\n, round(amazon_list_price_eu + 6 ,2) as [maximum-seller-allowed-price]<br \/>\n, 1 as quantity<br \/>\n, 5 as [handling-time]<br \/>\n, &#8216;default&#8217; as [fulfillment-channel]<br \/>\nremove-this-phrase&#8211;, s.[Stock status]<\/p>\n<p>from [new_price_calculations_feb-24-2019] p<br \/>\ninner join SpainAllListingsReport02272019 sp on trim(sp.[seller_sku])=trim(p.sku)<br \/>\nremove-this-phrase&#8211;inner join NewCanadaAllListingsReport02062019 canada on trim(canada.[seller_sku])=trim(p.sku)<br \/>\nremove-this-phrase&#8211;inner join [supplier-jan-10-2019] s on trim(concat(&#8216;shopforsoul-&#8216;,s.[Model Code]))=trim(p.sku)<br \/>\nwhere (sp.status=&#8217;Active&#8217;) and (p.status=1)<br \/>\nremove-this-phrase&#8211;and s.[Stock status] = &#8216;In Stock&#8217;<br \/>\nremove-this-phrase&#8211;and sku like &#8216;%shopforsoul-PTO_03FTX3%&#8217;<\/p>\n<p>remove-this-phrase&#8211;remove-this-phrase&#8211;remove-this-phrase&#8211;remove-this-phrase&#8211;remove-this-phrase&#8211;remove-this-phrase&#8211;remove-this-phrase&#8211;remove-this-phrase&#8211;remove-this-phrase&#8211;remove-this-phrase&#8211;remove-this-phrase&#8211;remove-this-phrase&#8211;remove-this-phrase&#8211;remove-this-phrase&#8211;remove-this-phrase&#8211;remove-this-phrase&#8211;remove-this-phrase&#8211;remove-this-phrase&#8211;remove-this-phrase&#8211;remove-this-phrase&#8211;remove-this-phrase&#8211;remove-this-phrase&#8211;remove-this-phrase&#8211;remove-this-phrase&#8211;remove-this-phrase&#8211;remove-this-phrase&#8211;remove-this-phrase&#8211;remove-this-phrase&#8211;remove-this-phrase&#8211;remove-this-phrase&#8211;remove-this-phrase&#8211;remove-this-phrase&#8211;<br \/>\nremove-this-phrase&#8211;deactivate on amazon as they are disabled on ShopForSoul.com<br \/>\nselect p.sku<br \/>\n, round(amazon_special_price_usd,2) as price<br \/>\n, round(amazon_usd_minimum_price,2) as [minimum-seller-allowed-price]<br \/>\n, round(amazon_list_price_usd,2) as [maximum-seller-allowed-price]<br \/>\n, 0 as quantity, 4 as [handling-time]<br \/>\n, &#8216;default&#8217; as [fulfillment-channel]<br \/>\n, uk.asin1 as asinremove-this-phrase&#8211;, &#8216;Inactive&#8217; as status<br \/>\nfrom july_22nd_2019__price_calculations p<br \/>\nremove-this-phrase&#8211;inner join UkAllListingsReport08262019 usa on trim(usa.[seller-sku])=trim(p.sku)<br \/>\ninner join UkAllListingsReport08262019 uk on trim(uk.[seller-sku])=trim(p.sku)<br \/>\nremove-this-phrase&#8211;inner join NewCanadaAllListingsReport02062019 canada on trim(canada.[seller_sku])=trim(p.sku)<br \/>\nwhere (uk.status=&#8217;Active&#8217;) and (p.status=1)<\/p>\n<p>END<br \/>\nGO<br \/>\n*** . *** *** . *** . *** . ***<\/p>\n<p><em><strong><em><strong>Training Courses: <\/strong><a href=\"http:\/\/training.sitestree.com\/\">http:\/\/Training.SitesTree.com<\/a> <\/em><br \/>\nBlog<\/strong>: <a href=\"http:\/\/bangla.salearningschool.com\/\">http:\/\/Bangla.SaLearningSchool.com<\/a>, <a href=\"http:\/\/sitestree.com\">http:\/\/SitesTree.com<\/a><\/em><br \/>\n<em><strong>8112223 Canada Inc\/Justetc<\/strong>: <a href=\"http:\/\/JustEtc.net\">http:\/\/JustEtc.net<\/a><\/em><br \/>\n<em>Youtube: <\/em><a href=\"https:\/\/www.youtube.com\/channel\/UCHrtq0pV8mEuTLGd2-Lp9ig\/playlists\">https:\/\/www.youtube.com\/channel\/UCHrtq0pV8mEuTLGd2-Lp9ig\/playlists<\/a><br \/>\n<em><strong>Medium: <\/strong><\/em><a href=\"https:\/\/medium.com\/@SayedAhmedCanada\">https:\/\/medium.com\/@SayedAhmedCanada<\/a><\/p>\n<p><em><\/em><br \/>\n<em><strong>Sayed Ahmed<\/strong><br \/>\n<\/em><br \/>\n<em><strong>BSc. Eng. in Comp. Sc. &amp; Eng. (BUET)<\/strong><\/em><br \/>\n<em><strong>MSc. in Comp. Sc. (U of Manitoba, Canada)<\/strong><\/em><br \/>\n<em><strong>MSc. in Data Science and Analytics (Ryerson University, Canada)<\/strong><\/em><br \/>\n<em><strong>Linkedin<\/strong>: <a href=\"https:\/\/ca.linkedin.com\/in\/sayedjustetc\">https:\/\/ca.linkedin.com\/in\/sayedjustetc<\/a><br \/>\n<\/em><\/p>\n<p><em><strong>Facebook Groups\/Forums to discuss (Q &amp; A): <\/strong><\/em><br \/>\n<a href=\"https:\/\/www.facebook.com\/salearningschool\/?ref=your_pages\">https:\/\/www.facebook.com\/salearningschool<\/a><\/p>\n<p><a href=\"https:\/\/www.facebook.com\/banglasalearningschool\">https:\/\/www.facebook.com\/banglasalearningschool<\/a><br \/>\n<a href=\"https:\/\/www.facebook.com\/justetcsocial\">https:\/\/www.facebook.com\/justetcsocial<\/a><\/p>\n<p><em>Get access to courses on Big Data, Data Science, AI, Cloud, Linux, System Admin, Web Development and Misc. related. Also, create your own course to sell to others. <\/em><a href=\"http:\/\/sitestree.com\/training\/\">http:\/\/sitestree.com\/training\/<\/a><\/p>\n<p><strong>Join, Discuss, and Thrive:<\/strong><br \/>\nFinance: <a href=\"https:\/\/www.facebook.com\/groups\/1792339521056034\">https:\/\/www.facebook.com\/groups\/1792339521056034<\/a><\/p>\n<p>Bangladesh and Canada: <a href=\"https:\/\/www.facebook.com\/groups\/398414183875009\">https:\/\/www.facebook.com\/groups\/398414183875009<\/a><\/p>\n<p>Bangladesh: IT &amp; Eng: Canada: <a href=\"https:\/\/www.facebook.com\/groups\/480297675634630\">https:\/\/www.facebook.com\/groups\/480297675634630<\/a><\/p>\n<p>BUETians in Ontario: <a href=\"https:\/\/www.facebook.com\/groups\/371982239854027\">https:\/\/www.facebook.com\/groups\/371982239854027<\/a><\/p>\n<p>Worldwide IT: <a href=\"https:\/\/www.facebook.com\/groups\/28362061867\">https:\/\/www.facebook.com\/groups\/28362061867<\/a><\/p>\n<p>JustEtc: <a href=\"https:\/\/www.facebook.com\/JustETC-Technologies-Inc-289864738261\">https:\/\/www.facebook.com\/JustETC-Technologies-Inc-289864738261<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\/****** Object: StoredProcedure [dbo].[xls_auto_pricing_data_for_Uk_eu] Script Date: 2020-06-19 10:15:42 PM ******\/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO remove-this-phrase&#8211; ============================================= remove-this-phrase&#8211; Author: &lt;Author,,Name&gt; remove-this-phrase&#8211; Create date: &lt;Create Date,,&gt; remove-this-phrase&#8211; Description: &lt;Description,,&gt; remove-this-phrase&#8211; ============================================= CREATE PROCEDURE [dbo].[xls_auto_pricing_data_for_Uk_eu] AS BEGIN remove-this-phrase&#8211; SET NOCOUNT ON added to prevent extra result sets from remove-this-phrase&#8211; interfering with SELECT statements. SET &hellip; <\/p>\n<p><a class=\"more-link btn\" href=\"http:\/\/bangla.sitestree.com\/?p=17188\">Continue reading<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1915,182],"tags":[],"class_list":["post-17188","post","type-post","status-publish","format-standard","hentry","category-selling-on-amazon","category---blog","item-wrap"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":17178,"url":"http:\/\/bangla.sitestree.com\/?p=17178","url_meta":{"origin":17188,"position":0},"title":"sync_with_uk_inventory","author":"Sayed","date":"June 19, 2020","format":false,"excerpt":"\/****** Object: StoredProcedure [dbo].[sync_with_uk_inventory] Script Date: 2020-06-19 10:12:46 PM ******\/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO remove-this-phrase-- ============================================= remove-this-phrase-- Author: <Author,,Name> remove-this-phrase-- Create date: <Create Date,,> remove-this-phrase-- Description: <Description,,> remove-this-phrase-- ============================================= CREATE PROCEDURE [dbo].[sync_with_uk_inventory] AS BEGIN remove-this-phrase-- SET NOCOUNT ON added to prevent extra result sets from remove-this-phrase--\u2026","rel":"","context":"In &quot;manage-selling-on-amazon-using-sql&quot;","block_context":{"text":"manage-selling-on-amazon-using-sql","link":"http:\/\/bangla.sitestree.com\/?cat=1915"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":17187,"url":"http:\/\/bangla.sitestree.com\/?p=17187","url_meta":{"origin":17188,"position":1},"title":"xls_auto_pricing_data_for_canada","author":"Sayed","date":"June 19, 2020","format":false,"excerpt":"\/****** Object: StoredProcedure [dbo].[xls_auto_pricing_data_for_canada] Script Date: 2020-06-19 10:15:42 PM ******\/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO remove-this-phrase-- ============================================= remove-this-phrase-- Author: <Author,,Name> remove-this-phrase-- Create date: <Create Date,,> remove-this-phrase-- Description: <Description,,> remove-this-phrase-- ============================================= CREATE PROCEDURE [dbo].[xls_auto_pricing_data_for_canada] AS BEGIN remove-this-phrase-- SET NOCOUNT ON added to prevent extra result sets from remove-this-phrase--\u2026","rel":"","context":"In &quot;manage-selling-on-amazon-using-sql&quot;","block_context":{"text":"manage-selling-on-amazon-using-sql","link":"http:\/\/bangla.sitestree.com\/?cat=1915"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":17189,"url":"http:\/\/bangla.sitestree.com\/?p=17189","url_meta":{"origin":17188,"position":2},"title":"xls_auto_pricing_data_for_usa","author":"Sayed","date":"June 19, 2020","format":false,"excerpt":"\/****** Object: StoredProcedure [dbo].[xls_auto_pricing_data_for_usa] Script Date: 2020-06-19 10:15:42 PM ******\/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO remove-this-phrase-- ============================================= remove-this-phrase-- Author: <Author,,Name> remove-this-phrase-- Create date: <Create Date,,> remove-this-phrase-- Description: <Description,,> remove-this-phrase-- ============================================= CREATE PROCEDURE [dbo].[xls_auto_pricing_data_for_usa] AS BEGIN remove-this-phrase-- SET NOCOUNT ON added to prevent extra result sets from remove-this-phrase--\u2026","rel":"","context":"In &quot;manage-selling-on-amazon-using-sql&quot;","block_context":{"text":"manage-selling-on-amazon-using-sql","link":"http:\/\/bangla.sitestree.com\/?cat=1915"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":17164,"url":"http:\/\/bangla.sitestree.com\/?p=17164","url_meta":{"origin":17188,"position":3},"title":"adjust_stock_status_data_for_canada","author":"Sayed","date":"June 19, 2020","format":false,"excerpt":"\/****** Object: StoredProcedure [dbo].[adjust_stock_status_data_for_canada] Script Date: 2020-06-19 10:15:42 PM ******\/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO remove-this-phrase-- ============================================= remove-this-phrase-- Author: <Author,,Name> remove-this-phrase-- Create date: <Create Date,,> remove-this-phrase-- Description: <Description,,> remove-this-phrase-- ============================================= CREATE PROCEDURE [dbo].[adjust_stock_status_data_for_canada] AS BEGIN remove-this-phrase-- SET NOCOUNT ON added to prevent extra result sets from remove-this-phrase--\u2026","rel":"","context":"In &quot;Finance&quot;","block_context":{"text":"Finance","link":"http:\/\/bangla.sitestree.com\/?cat=50"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":17163,"url":"http:\/\/bangla.sitestree.com\/?p=17163","url_meta":{"origin":17188,"position":4},"title":"remove this word product_name_mismatch","author":"Sayed","date":"June 19, 2020","format":false,"excerpt":"USE ProductAndPriceManagement GO \/****** Object: StoredProcedure [dbo].[product_name_mismatch] Script Date: 2020-06-19 9:56:07 PM ******\/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO remove-this-phrase-- ============================================= remove-this-phrase-- Author: <Author,,Name> remove-this-phrase-- Create date: <Create Date,,> remove-this-phrase-- Description: <Description,,> remove-this-phrase-- ============================================= CREATE PROCEDURE [dbo].[product_name_mismatch] AS BEGIN remove-this-phrase-- SET NOCOUNT ON added to prevent extra result\u2026","rel":"","context":"In &quot;manage-selling-on-amazon-using-sql&quot;","block_context":{"text":"manage-selling-on-amazon-using-sql","link":"http:\/\/bangla.sitestree.com\/?cat=1915"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":17166,"url":"http:\/\/bangla.sitestree.com\/?p=17166","url_meta":{"origin":17188,"position":5},"title":"auto_pricing_data_for_canada","author":"Sayed","date":"June 19, 2020","format":false,"excerpt":"USE [AmazonShopForSoul] GO \/****** Object: StoredProcedure [dbo].[auto_pricing_data_for_canada] Script Date: 2020-06-19 10:16:30 PM ******\/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO remove-this-phrase-- ============================================= remove-this-phrase-- Author: <Author,,Name> remove-this-phrase-- Create date: <Create Date,,> remove-this-phrase-- Description: <Description,,> remove-this-phrase-- ============================================= CREATE PROCEDURE [dbo].[auto_pricing_data_for_canada] AS BEGIN remove-this-phrase-- SET NOCOUNT ON added to prevent extra result\u2026","rel":"","context":"In &quot;manage-selling-on-amazon-using-sql&quot;","block_context":{"text":"manage-selling-on-amazon-using-sql","link":"http:\/\/bangla.sitestree.com\/?cat=1915"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/17188","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=17188"}],"version-history":[{"count":1,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/17188\/revisions"}],"predecessor-version":[{"id":17229,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/17188\/revisions\/17229"}],"wp:attachment":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=17188"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=17188"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=17188"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}