SHP01T202
購物車項目
BusinessVersion: 1
ApprovedVersion: 1 | Review: Approved
No note.
Draft Review
Manage EntityType definition review here.
- Current Status
- Approved
- Submitted
- Not submitted
- Reviewed
- Not reviewed
- Comment
- No review comment.
No draft.
Source Query
Add Attribute
Add Source Join
Add Source Mapping
Draft can configure mapping before approval.
Source SQL Preview
API 查詢即以此 SQL 對讀取複本執行(ADR 0008)。
SELECT
[M].[ShoppingCartItemId] AS [ShoppingCartItemId],
[M].[ShoppingCartId] AS [ShoppingCartId],
[M].[Sku] AS [Sku],
[M].[MaterialsID] AS [MaterialsID],
[M].[Name] AS [Name],
[M].[AttributesJson] AS [AttributesJson],
[M].[UnitPrice] AS [UnitPrice],
[M].[Currency] AS [Currency],
[M].[Quantity] AS [Quantity],
[M].[Discount] AS [Discount],
[M].[Tax] AS [Tax],
[M].[LineTotal] AS [LineTotal]
FROM [SHP01T202] [M]
;
Projection Query JSON Preview
[
{
"ShoppingCartItemId": "ShoppingCartItemId-001",
"ShoppingCartId": "ShoppingCartId sample",
"Sku": "Sku sample",
"MaterialsID": "MaterialsID sample",
"Name": "Name sample",
"AttributesJson": "AttributesJson sample",
"UnitPrice": 123.45,
"Currency": "Currency sample",
"Quantity": 123,
"Discount": 123.45,
"Tax": 123.45,
"LineTotal": 123.45,
"UpdatedAt": "2026-04-08T09:30:00Z"
}
]
Attributes
| Code | Name | Type | Required | PrimaryKey | Active |
|---|---|---|---|---|---|
| ShoppingCartItemId | ShoppingCartItemId | string | Y | Y | Y |
| ShoppingCartId | ShoppingCartId | string | Y | N | Y |
| Sku | Sku | string | Y | N | Y |
| MaterialsID | MaterialsID | string | Y | N | Y |
| Name | Name | string | Y | N | Y |
| AttributesJson | AttributesJson | string | N | N | Y |
| UnitPrice | UnitPrice | decimal | Y | N | Y |
| Currency | Currency | string | Y | N | Y |
| Quantity | Quantity | int | Y | N | Y |
| Discount | Discount | decimal | Y | N | Y |
| Tax | Tax | decimal | Y | N | Y |
| LineTotal | LineTotal | decimal | Y | N | Y |
Source Joins
No joins.
Source Mappings
| Attribute | Alias | SourceField | Transform | Version | Active |
|---|---|---|---|---|---|
| AttributesJson - AttributesJson | M | AttributesJson | Direct | 1 | Y |
| Currency - Currency | M | Currency | Direct | 1 | Y |
| Discount - Discount | M | Discount | Direct | 1 | Y |
| LineTotal - LineTotal | M | LineTotal | Direct | 1 | Y |
| MaterialsID - MaterialsID | M | MaterialsID | Direct | 1 | Y |
| Name - Name | M | Name | Direct | 1 | Y |
| Quantity - Quantity | M | Quantity | Direct | 1 | Y |
| ShoppingCartId - ShoppingCartId | M | ShoppingCartId | Direct | 1 | Y |
| ShoppingCartItemId - ShoppingCartItemId | M | ShoppingCartItemId | Direct | 1 | Y |
| Sku - Sku | M | Sku | Direct | 1 | Y |
| Tax - Tax | M | Tax | Direct | 1 | Y |
| UnitPrice - UnitPrice | M | UnitPrice | Direct | 1 | Y |