Skip to content

Commit 2b0aea5

Browse files
author
Simonx Xu
authored
Merge pull request #4895 from MicrosoftDocs/v-chgri-commerce-ts-mig_2
Changes to 28 D365 Commerce migrated articles from public repo
2 parents 8f5fafa + b9a5b4e commit 2b0aea5

55 files changed

Lines changed: 1295 additions & 3 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: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
---
2+
title: Customer records don't appear in Commerce headquarters
3+
description: Provides a resolution for an issue where customer records don't immediately appear in Commerce headquarters.
4+
author: josaw1
5+
ms.author: josaw
6+
ms.reviewer: rassadi, brstor
7+
ms.date: 09/01/2023
8+
---
9+
# Customer records don't appear in Commerce headquarters
10+
11+
This article provides a resolution for an issue where customer records don't immediately appear after they're created in Commerce headquarters.
12+
13+
## Symptoms
14+
15+
When you create a new customer record by using the [sign-up flow](/dynamics365/commerce/create-user-flow-policies#create-a-sign-up-and-sign-in-user-flow-policy) in the [e-commerce storefront](/dynamics365/commerce/commerce-architecture#e-commerce-storefront), the corresponding customer record doesn't immediately appear in Commerce headquarters.
16+
17+
## Resolution
18+
19+
To solve this issue, disable customer creation in asynchronous (or async) mode.
20+
21+
> [!IMPORTANT]
22+
> If you disable asynchronous customer creation, system performance could be affected, because the 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), new customer creation flows will produce errors.
23+
24+
To disable customer creation in async mode in Commerce headquarters, follow these steps:
25+
26+
1. Go to **Retail and Commerce** > **Channel setup** > **Online store setup** > **Functionality profiles**.
27+
1. If you don't have a functionality profile for your online channel, create one.
28+
1. Make sure that the **Create customer in async mode** option is set to **No**.
29+
1. Go to **Retail and Commerce** > **Channels** > **Online stores**.
30+
1. Select the online store for which you want to disable asynchronous customer creation.
31+
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.
32+
33+
## More information
34+
35+
For more information, see [Set up a B2C tenant in Commerce](/dynamics365/commerce/set-up-b2c-tenant).
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
---
2+
title: Order summary subtotal doesn't include taxes on charges when using customized order summary modules
3+
description: Resolves an issue where the order summary subtotal doesn't include taxes on charges in the price includes sales tax scenario in Microsoft Dynamics Commerce.
4+
author: josaw1
5+
ms.author: josaw
6+
ms.reviewer: brstor
7+
ms.date: 09/01/2023
8+
---
9+
# Order summary subtotal doesn't include taxes on charges when using customized order summary modules
10+
11+
This article provides a resolution for an issue where the order summary subtotal doesn't include taxes on charges in the "price includes sales tax" scenario when you use customized order summary modules in Microsoft Dynamics Commerce.
12+
13+
## Symptoms
14+
15+
As of Microsoft Dynamics 365 Commerce version 10.0.27, 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.
16+
17+
- Two new fields have been added: `TaxOnShippingCharge` and `TaxOnNonShippingCharges`.
18+
- The `GetSalesOrderBySalesId` and `GetSalesOrderByTransactionId` application programming interfaces (APIs) have accurate values for the following fields in the "price includes sales tax" scenario:
19+
20+
- `SubtotalSalesAmount`
21+
- `SubtotalAmountWithoutTax`
22+
- `SubtotalAmount`
23+
- `ShippingChargeAmount`
24+
- `OtherChargeAmount`
25+
26+
However, if you use customized order summary modules, these changes might affect order summary subtotal values by not including taxes on charges.
27+
28+
## Resolution
29+
30+
If you use customized order summary modules and don't want to inherit the changes that have been made to the "price includes sales tax" scenario in Dynamics 365 Commerce version 10.0.27 and later, you can revert to the previous (before version 10.0.27) order summary behavior of the `salesTransaction.SubtotalAmount` and `salesTransaction.SubtotalAmountWithoutTax` fields. This will restore the inclusion of the total charge tax amount (`TaxOnShippingCharge` and `TaxOnNonShippingCharges`) in the subtotal amounts (`SubtotalAmount` and `SubtotalAmountWithoutTax`).
31+
32+
To revert to the previous order summary behavior, follow these steps:
33+
34+
1. In Commerce headquarters, go to **Retail and Commerce** > **Headquarters setup** > **Parameters** > **Commerce parameters** to open the **Commerce parameters** page.
35+
1. In the left navigation pane, select **Configuration parameters**.
36+
1. Add the following configuration parameters, and set the value of each to **true**:
37+
38+
- `IsLegacyTaxOnChargeInSubtotalAmountIncludedInTaxIncusiveEnabled`
39+
- `IsLegacyOrderSummaryHydrationEnabled`
40+
41+
> [!NOTE]
42+
> 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**.
43+
44+
## More information
45+
46+
For more information, see [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.
454 KB
Loading
158 KB
Loading
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
---
2+
title: Errors when debugging against a Tier 1 Retail Server virtual machine
3+
description: Resolves errors that occur when you debug a Tier 1 Retail Server VM in an e-commerce development environment in Microsoft Dynamics 365 Commerce.
4+
author: josaw1
5+
ms.author: josaw
6+
ms.reviewer: rassadi, brstor
7+
ms.date: 09/04/2023
8+
---
9+
# Errors when you debug against a Tier 1 Retail Server virtual machine in an e-commerce development environment
10+
11+
This article provides a resolution for an issue where you might receive an error when you debug against a Tier 1 Retail Server virtual machine (VM) in an e-commerce development environment in Microsoft Dynamics 365 Commerce.
12+
13+
## Introduction
14+
15+
Microsoft Dynamics 365 Commerce Tier 1 environments are typically deployed for [Commerce runtime (CRT)](/dynamics365/commerce/dev-itpro/crt-services) and [point of sale (POS) extension](/dynamics365/commerce/dev-itpro/pos-extension/pos-extension-overview) development. They are standalone environments. Because of the software as a service (SaaS) nature of the architecture, they don't include e-commerce components.
16+
17+
In some scenarios, you might need 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).
18+
19+
## Symptoms
20+
21+
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.
22+
23+
The following screenshot shows an example of an error that might occur when a variant is selected on a product details page.
24+
25+
> Unhandled Rejection (ActionError): Error
26+
27+
:::image type="content" source="media/set-up-dev-environment-debugging/unhandled-rejection-error.png" alt-text="Screenshot that shows an Unhandled Rejection Action error.":::
28+
29+
The following screenshot shows an example of a similar error in a browser's debugger tools (F12 Developer Tools). The error message mentions a violation of the content security policy directive.
30+
31+
:::image type="content" source="media/set-up-dev-environment-debugging/debugger-tools-error.png" alt-text="Screenshot that shows an error that mentions a violation of the content security policy directive in a browser's debugger tools.":::
32+
33+
## Resolution
34+
35+
To solve this issue, disable the [content security policy (CSP)](/dynamics365/commerce/manage-csp) for the site in Dynamics 365 Commerce site builder.
36+
37+
1. Select the site that you're working on.
38+
1. Select **Settings** > **Extensions**.
39+
1. On the **Content security policy** tab, select **Disable content security policy**.
40+
1. Select **Save and publish**.
41+
42+
> [!NOTE]
43+
> 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.
44+
45+
## More information
46+
47+
[Get started with e-commerce online extensibility development](/dynamics365/commerce/e-commerce-extensibility/sdk-getting-started)

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

Whitespace-only changes.
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
---
2+
title: Items without inventory can be checked out in Dynamics 365 Commerce
3+
description: Provides a resolution for an issue where you can add out-of-stock items to your cart and proceed to check out in Microsoft Dynamics 365 Commerce.
4+
author: josaw1
5+
ms.author: josaw
6+
ms.reviewer: rassadi, brstor
7+
ms.date: 09/01/2023
8+
---
9+
# Items without inventory can be checked out
10+
11+
This article provides a resolution for an issue where you can add out-of-stock items to your cart and proceed to check out without stock-related errors in Microsoft Dynamics 365 Commerce.
12+
13+
## Symptoms
14+
15+
You can add an item to your cart, even though there's no on-hand inventory in the store, and then proceed to the checkout page.
16+
17+
## Resolution
18+
19+
To solve this issue, follow these steps to enable the [Show out of stock errors](/dynamics365/commerce/add-cart-module#cart-module-properties-and-slots) property in Dynamics 365 Commerce site builder:
20+
21+
1. Select the site that you're working on.
22+
1. In the left navigation, select **Pages**.
23+
1. Select **CartPage** to open it.
24+
1. Select the **Cart 1** slot and select **Edit**.
25+
1. In the properties pane, select the **Show Out Of Stock Errors** check box.
26+
1. Save and publish the page.
27+
28+
## More information
29+
30+
- [Apply inventory settings](/dynamics365/commerce/inventory-settings)
31+
- [Calculate inventory availability for retail channels](/dynamics365/commerce/calculated-inventory-retail-channels)
32+
- [Configure inventory buffers and inventory levels](/dynamics365/commerce/inventory-buffers-levels)

0 commit comments

Comments
 (0)