Skip to content

Commit f4ef27d

Browse files
authored
Merge pull request #4860 from simonxjx/v-chgri-commerce-ts-mig_2
v-chgri-commerce-ts-mig_2
2 parents 33811b0 + 724ac9a commit f4ef27d

54 files changed

Lines changed: 1387 additions & 8 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

support/dynamics-365/commerce/commerce-headquarters-operations/.gitkeep

Whitespace-only changes.
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
title: Customer records don't appear in Commerce headquarters
3+
description: This article provides troubleshooting guidance that can help when customer records don't immediately appear in Commerce headquarters.
4+
author: Reza-Assadi
5+
ms.author: josaw
6+
ms.topic: troubleshooting
7+
ms.date: 03/11/2021
8+
9+
---
10+
11+
# Customer records don't appear in Commerce headquarters
12+
13+
This article provides troubleshooting guidance that can help when customer records don't immediately appear in Commerce headquarters.
14+
15+
## Description
16+
17+
When you create a new customer record by using the sign-up flow in the e-commerce storefront, the corresponding customer record doesn't immediately appear in Commerce headquarters.
18+
19+
## Resolution
20+
21+
### Disable customer creation in async mode
22+
23+
> [!IMPORTANT]
24+
> If you disable asynchronous customer creation, system performance could be affected, because creation of each record will produce a real-time request to Commerce headquarters. In addition, if Commerce headquarters is down (for example, during servicing flows), any new customer creation flows will produce errors.
25+
26+
To disable customer creation in async mode in Commerce headquarters, follow these steps.
27+
28+
1. Go to **Retail and Commerce \> Channel setup \> Online store setup \> Functionality profiles**.
29+
1. If you aren't already using a functionality profile for your online channel, create one.
30+
1. Make sure that the **Create customer in async mode** option is set to **No**.
31+
1. Go to **Retail and Commerce \> Channels \> Online stores**.
32+
1. Select the online store to disable asynchronous customer creation for.
33+
1. On the **General** tab, make sure that the **Functionality profile** field is set to the functionality profile that you're using for your online channel.
34+
35+
## Additional resources
36+
37+
[Setup a B2C tenant in Commerce](/dynamics365/commerce/set-up-b2c-tenant)
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
---
2+
# required metadata
3+
4+
title: Order summary subtotal doesn't include taxes on charges when using customized order summary modules
5+
description: This article provides troubleshooting guidance that can help when you use customized order summary modules and the order summary subtotal doesn't include taxes on charges in the "price includes sales tax" scenario.
6+
author: gvrmohanreddy
7+
ms.author: josaw
8+
ms.topic: troubleshooting
9+
ms.date: 05/17/2022
10+
11+
---
12+
13+
# Order summary subtotal doesn't include taxes on charges when using customized order summary modules
14+
15+
This article provides troubleshooting guidance that can help when you use customized order summary modules and the order summary subtotal doesn't include taxes on charges in the "price includes sales tax" scenario.
16+
17+
## Description
18+
19+
As of the Microsoft Dynamics 365 Commerce version 10.0.27 release, the following changes have been made to the "price includes sales tax" scenario to provide a consistent experience in order summary modules across e-commerce site pages.
20+
21+
- Two new fields have been added: **TaxOnShippingCharge** and **TaxOnNonShippingCharges**.
22+
- The **GetSalesOrderBySalesId** and **GetSalesOrderByTransactionId** application programming interfaces (APIs) have accurate values for the following fields in the "price includes sales tax" scenario:
23+
24+
- SubtotalSalesAmount
25+
- SubtotalAmountWithoutTax
26+
- SubtotalAmount
27+
- ShippingChargeAmount
28+
- OtherChargeAmount
29+
30+
However, if you're using customized order summary modules, these changes might affect order summary subtotal values by not including taxes on charges.
31+
32+
## Resolution
33+
34+
If you're using customized order summary modules and don't want to inherit the changes that have been made to the "price includes sales tax" scenario in Commerce version 10.0.27 and later, follow the instructions in this section.
35+
36+
By reverting to the previous (before version 10.0.27) order summary behavior of the **salesTransaction.SubtotalAmount** and **salesTransaction.SubtotalAmountWithoutTax** fields, you restore the inclusion of the total charge tax amount (**TaxOnShippingCharge** and **TaxOnNonShippingCharges**) in the subtotal amounts (**SubtotalAmount** and **SubtotalAmountWithoutTax**).
37+
38+
To revert to the previous order summary behavior, follow these steps.
39+
40+
1. In Commerce headquarters, open the Commerce parameters page (**Retail and Commerce \> Headquarters setup \> Parameters \> Commerce parameters**).
41+
1. In the left navigation pane, select **Configuration parameters**.
42+
1. Add the following configuration parameters, and set the value of each to **true**:
43+
44+
- IsLegacyTaxOnChargeInSubtotalAmountIncludedInTaxIncusiveEnabled
45+
- IsLegacyOrderSummaryHydrationEnabled
46+
47+
> [!NOTE]
48+
> If you've previously used the **IsUpdatedPriceIncludesTaxSubtotalCalculationEnabled** configuration parameter and want to retain the same behavior for the **order.NetAmountWithoutTax** property, you should also add the **IsLegacyPriceIncludesTaxNetAmountWithoutTaxCalculationEnabled** configuration parameter and set its value to **true**.
49+
50+
## Additional resources
51+
52+
[Hide tax breakup information in order summaries](/dynamics365/commerce/hide-taxes-breakup)

support/dynamics-365/commerce/customer-accounts-loyalty/.gitkeep

Whitespace-only changes.

support/dynamics-365/commerce/development-sdks/.gitkeep

Whitespace-only changes.
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
---
2+
3+
title: Set up an e-commerce development environment to debug against a Tier 1 Retail Server virtual machine
4+
description: This article explains how to set up an e-commerce development environment to debug against a Tier 1 Retail Server virtual machine (VM).
5+
author: Reza-Assadi
6+
ms.author: josaw
7+
ms.topic: troubleshooting
8+
ms.date: 03/11/2021
9+
10+
---
11+
12+
# Set up an e-commerce development environment to debug against a Tier 1 Retail Server virtual machine
13+
14+
This article explains how to set up an e-commerce development environment to debug against a Tier 1 Retail Server virtual machine (VM).
15+
16+
## Description
17+
18+
Microsoft Dynamics 365 Commerce Tier 1 environments are typically deployed for Commerce runtime (CRT) and point of sale (POS) extension development. They are standalone environments. Because of the software as a service (SaaS) nature of the architecture, they don't include e-commerce components.
19+
20+
In some scenarios, you might want to test calls to extensions in a Tier 1 environment, so that you can debug extensions from e-commerce components. For general instructions, see [Debug against a Tier 1 Commerce development environment](/dynamics365/commerce/e-commerce-extensibility/debug-tier-1).
21+
22+
When you debug against a Tier 1 environment, because the site is now calling a different Retail Server, cross-server calls might cause various errors that are related to the content security policy.
23+
24+
The following illustration shows an example of an error that might occur when a variant is selected on a product details page.
25+
26+
![Error when a variant is selected on a product details page.](../../../media/common/unhandled-rejection-error.jpg)
27+
28+
The following illustration shows an example of a similar error in a browser's debugger tools (F12 Developer Tools). The error message mentions violation of the content security policy directive.
29+
30+
![Debugger tools error.](../../../media/common/debugger-tools-error.jpg)
31+
32+
## Resolution
33+
34+
### Disable the content security policy for the site in Commerce site builder
35+
36+
1. Select the site that you're working on.
37+
1. Select **Settings**, and then select **Extensions**.
38+
1. On the **Content security policy** tab, select **Disable content security policy**.
39+
1. Select **Save and publish**.
40+
41+
> [!NOTE]
42+
> Business-to-consumer (B2C) sign-in won't work in a local development environment. However, you can use guest checkouts or build page mocks to simulate a user sign-in as required.
43+
44+
## Additional resources
45+
46+
[Get started with e-commerce online extensibility development](/dynamics365/commerce/e-commerce-extensibility/sdk-getting-started)
47+
48+
[Manage content security policy (CSP) on e-commerce site](/dynamics365/commerce/manage-csp)

support/dynamics-365/commerce/ecommerce-storefront/.gitkeep

Whitespace-only changes.
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
3+
title: Items without inventory can be checked out
4+
description: This article provides troubleshooting guidance that can help when customers can add out-of-stock items to their cart and proceed to checkout.
5+
author: Reza-Assadi
6+
ms.author: josaw
7+
ms.topic: troubleshooting
8+
ms.date: 03/11/2021
9+
10+
---
11+
12+
# Items without inventory can be checked out
13+
14+
This article provides troubleshooting guidance that can help when customers can add out-of-stock items to their cart and proceed to checkout.
15+
16+
## Description
17+
18+
Users can add an item to their cart, even though there is no on-hand inventory in the store, and then proceed to the checkout page.
19+
20+
## Resolution
21+
22+
### Enable the Show Out Of Stock Errors property in Commerce site builder
23+
24+
To enable the **Show Out Of Stock Errors** property in Commerce site builder, follow these steps.
25+
26+
1. Select the site that you're working on.
27+
1. In the left navigation, select **Pages**.
28+
1. Select **CartPage** to open it.
29+
1. Select the **Cart 1** slot, select **Edit**, and then, in the properties pane, select the **Show Out Of Stock Errors** check box.
30+
1. Save and publish the page.
31+
32+
## Additional resources
33+
34+
[Apply inventory settings](/dynamics365/commerce/inventory-settings)
35+
36+
[Calculate inventory availability for retail channels](/dynamics365/commerce/calculated-inventory-retail-channels)
37+
38+
[Configure inventory buffers and inventory levels](/dynamics365/commerce/inventory-buffers-levels)
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
---
2+
3+
title: Pick this up option doesn't appear on cart or product details pages
4+
description: This article provides troubleshooting guidance that can help when the option for in-store pickup doesn't appear on the cart page or product details pages.
5+
author: Reza-Assadi
6+
ms.author: josaw
7+
ms.topic: troubleshooting
8+
ms.date: 03/11/2021
9+
10+
---
11+
12+
# "Pick this up" option doesn't appear on cart or product details pages
13+
14+
This article provides troubleshooting guidance that can help when the option for in-store pickup doesn't appear on the cart page or product details pages.
15+
16+
## Description
17+
18+
The **Pick this up** button doesn't appear on the cart page or product details pages.
19+
20+
The following illustration shows an example of a page that includes the **Pick this up** button.
21+
22+
![Pick this up button.](../../../media/common/pickup-button-missing.jpg)
23+
24+
## Resolution
25+
26+
### Enable the BOPIS extension in Commerce site builder
27+
28+
To enable the "buy online, pick up in store" (BOPIS) extension in Commerce site builder, follow these steps.
29+
30+
1. Select your site.
31+
1. Select **Site settings**, and then select **Extensions**.
32+
1. Make sure that the **Disable BOPIS** option is cleared.
33+
34+
### Configure modes of delivery in Commerce headquarters
35+
36+
To configure modes of delivery in Commerce headquarters, follow these steps.
37+
38+
1. Go to **Procurement and sourcing \> Setup \> Modes of delivery**.
39+
1. Make sure that a **Customer pickup** mode of delivery has been created, and that products and addresses are assigned to it.
40+
1. Go to **Retail and Commerce \> Headquarters setup \> Parameters**.
41+
1. In the left navigation, select **Customer orders**.
42+
1. Make sure that **Pickup mode of delivery** is correctly configured.
43+
44+
### Configure customer orders payments
45+
46+
To configure customer orders payments in Commerce headquarters, follow these steps.
47+
48+
1. Go to **Retail and Commerce \> Headquarters setup \> Parameters**.
49+
1. In the left navigation, select **Customer orders**.
50+
1. On the **Payments** FastTab, make sure that the **Terms of payment** and **Method of payment** fields are correctly set.
51+
52+
## Additional resources
53+
54+
[Configure BOPIS](/dynamics365/commerce/cpe-bopis)
55+
56+
[Enable multiple pickup delivery modes for customer orders](/dynamics365/commerce/multiple-pickup-modes)
57+
58+
[Omni-channel Commerce order payments](/dynamics365/commerce/dev-itpro/commerce-payments)
59+
60+
[Store selector module](/dynamics365/commerce/store-selector)
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
---
2+
3+
title: Retail store doesn't appear in the list of stores to pick up from
4+
description: This article provides troubleshooting guidance that can help when a retail store doesn't appear in the list of stores where items can be picked up.
5+
author: Reza-Assadi
6+
ms.author: josaw
7+
ms.topic: troubleshooting
8+
ms.date: 03/11/2021
9+
10+
---
11+
12+
# Retail store doesn't appear in the list of stores to pick up from
13+
14+
This article provides troubleshooting guidance that can help when a retail store doesn't appear in the list of stores where items can be picked up.
15+
16+
## Description
17+
18+
A retail store doesn't appear in the list of stores where items can be picked up.
19+
20+
## Resolution
21+
22+
### Configure the longitude and latitude for the store address in Commerce headquarters
23+
24+
To configure the longitude and latitude for the store address in Commerce headquarters, follow these steps.
25+
26+
1. Go to **Retail and Commerce \> Channels \> Stores \> All stores**.
27+
1. Find the store that you want to appear among the pickup options on the e-commerce site. Make a note of its **Operating unit number** value.
28+
1. Go to **Organization administration \> Organizations \> Operating units**.
29+
1. Search for the operating unit number that you noted earlier, and then select the operating unit in the search results.
30+
1. On the **Addresses** FastTab, select **More options**, and then select **Advanced**.
31+
1. On the **General** FastTab, make sure that the **Longitude** and **Latitude** fields are correctly set. As part of this step, make sure that the values are correctly specified as positive or negative numbers.
32+
33+
### Configure fulfillment groups in Commerce headquarters
34+
35+
To configure fulfillment groups in Commerce headquarters, follow these steps.
36+
37+
1. Go to **Retail and Commerce \> Channels \> Online stores**.
38+
1. Select the online store to configure.
39+
1. On the Action Pane, select **Set up**, and then select **Fulfillment group assignment**.
40+
1. On the **Fulfillment group assignment** page, select the fulfillment group for the online store.
41+
1. Under **Setup**, make sure that the retail store is correctly configured for the fulfillment group.
42+
43+
## Additional resources
44+
45+
[Create an operating unit](/dynamics365/fin-ops-core/fin-ops/organization-administration/tasks/create-operating-unit)
46+
47+
[Set up an online channel](/dynamics365/commerce/channel-setup-online)

0 commit comments

Comments
 (0)