kOmniCart
Omni Cart
Info
Inherits from kDataObject\kDataBasic
Properties
| Name | Type | Label | List | Owned | Cluster | Mandatory | Unique | Note |
|---|---|---|---|---|---|---|---|---|
| Channel | kOmniChannel | Channel | - | |||||
| CartDate | tkDateTime | Cart Date | - | |||||
| Status | tkOmniCartStatusType | Status | - | |||||
| CustomerType | tkOmniCustomerType | Customer Type | - | |||||
| Card | kLoyaltyCard | Loyalty Card | - | |||||
| Customer | kLoyaltyCustomer | Loyalty Customer | - | |||||
| SoldTo | tkOmniCartCustomerData | Sold To | - | |||||
| SoldTo.Name | tkName | - | mandatory(true) Da risolvere con una classe owned(true) anziché un campo strutturato | |||||
| SoldTo.Surname | tkSurname | - | mandatory(true) | |||||
| SoldTo.CompanyName | tkDescription | - | ||||||
| SoldTo.Address | tkAddressInfo | - | (E) | |||||
| SoldTo.Address.Address | tkAddress | Address | - | |||||
| SoldTo.Address.City | tkCity | City | - | |||||
| SoldTo.Address.ZipCode | tkZipCode | Zip Code | - | |||||
| SoldTo.Address.Country | kCountry | Country | - | |||||
| SoldTo.Address.StateProvince | kStateProvince | State Province | - | |||||
| SoldTo.Address.Coords | tkCoord | Coords | - | |||||
| SoldTo.Address.Coords.Latitude | tkAngle | Latitude | - | |||||
| SoldTo.Address.Coords.Longitude | tkAngle | Longitude | - | |||||
| SoldTo.Address.Coords.Blocked | tkYesNo | Blocked | - | |||||
| SoldTo.Address.CoordsValid | tkCoordValid | Valid coordinates | - | |||||
| SoldTo.EmailAddress | tkEmail | - | ||||||
| SoldTo.MobileNumber | tkPhoneNumber | - | ||||||
| SoldTo.HomeNumber | tkPhoneNumber | - | ||||||
| SoldTo.IdDocumentNumber | tkIdDocumentNumber | - | ||||||
| SoldTo.IdDocumentType | kIDDocumentType | - | ||||||
| ShipTo | tkOmniCartCustomerData | Ship To | - | |||||
| ShipTo.Name | tkName | - | mandatory(true) Da risolvere con una classe owned(true) anziché un campo strutturato | |||||
| ShipTo.Surname | tkSurname | - | mandatory(true) | |||||
| ShipTo.CompanyName | tkDescription | - | ||||||
| ShipTo.Address | tkAddressInfo | - | (E) | |||||
| ShipTo.Address.Address | tkAddress | Address | - | |||||
| ShipTo.Address.City | tkCity | City | - | |||||
| ShipTo.Address.ZipCode | tkZipCode | Zip Code | - | |||||
| ShipTo.Address.Country | kCountry | Country | - | |||||
| ShipTo.Address.StateProvince | kStateProvince | State Province | - | |||||
| ShipTo.Address.Coords | tkCoord | Coords | - | |||||
| ShipTo.Address.Coords.Latitude | tkAngle | Latitude | - | |||||
| ShipTo.Address.Coords.Longitude | tkAngle | Longitude | - | |||||
| ShipTo.Address.Coords.Blocked | tkYesNo | Blocked | - | |||||
| ShipTo.Address.CoordsValid | tkCoordValid | Valid coordinates | - | |||||
| ShipTo.EmailAddress | tkEmail | - | ||||||
| ShipTo.MobileNumber | tkPhoneNumber | - | ||||||
| ShipTo.HomeNumber | tkPhoneNumber | - | ||||||
| ShipTo.IdDocumentNumber | tkIdDocumentNumber | - | ||||||
| ShipTo.IdDocumentType | kIDDocumentType | - | ||||||
| Shipment | tkShipment | Shipment | - | |||||
| Shipment.Courier | kCourier | - | ||||||
| Shipment.CourierType | tkCourierType | - | ||||||
| Shipment.Amount | tkValue | - | ||||||
| Shipment.On_delivery_fee | tkValue | - | ||||||
| SourceType | tkSourceType | Source Type | - | |||||
| Totem | tkTotem | Totem | - | |||||
| Totem.TotemId | tkShortDescription | Id | - | |||||
| Totem.Description | tkDescription | Description | - | |||||
| TotemStore | kStore | Totem store | - | |||||
| InvoiceRequested | tkYesNo | Invoice requested | - | |||||
| VatId | tkVATId | Partita Iva | - | |||||
| TaxCode | tkTaxCode | Codice Fiscale | - | |||||
| LegalEmailAddress | tkEmail | Legal E-mail Address | - | |||||
| InterchangeId | tkInterchangeId | Interchange ID | - | |||||
| PaymentStatus | tkOmniPaymentStatus | Payment Status | - | |||||
| PaymentLocation | tkOmniPaymentLocation | Payment Location | - | |||||
| DeliveryMethod | tkOmniDeliveryMethod | Delivery Method | - | |||||
| DeliveryInstructions | kRemark | Delivery Instructions | Owned | - | ||||
| ShipToStore | kStore | Ship to Store | - | |||||
| IsGift | tkYesNo | Is a Gift? | - | |||||
| GiftMessage | kRemark | Gift Message | Owned | - | ||||
| Lines | kOmniCartLine | Lines | List | Owned | - | |||
| Discounts | kOmniDiscountLine | Discounts | List | Owned | - | |||
| Payments | kOmniCartPaymentLine | Payments | List | Owned | - | |||
| TotalPointsUsed | tkLoyaltyPoint | Total Points Used | - | |||||
| TotalQuantity | tkValue | Total Quantity | - | |||||
| TotalAmount | tkAmount | Total Amount | - | |||||
| TotalAmount.Value | tkValue | Amount | - | |||||
| TotalAmount.Currency | kCurrency | Currency | - | mandatory(true) {TODO: Mandatory only if Value<>0} | ||||
| TemporaryCartID | tkDescription | Temporary Cart ID | - | |||||
| ExternalOrderID | tkDescription | External Order ID | - | |||||
| ShipmentWorkflow | tkShipmentWorkflow | Shipment workflow | - | |||||
| Inherited from kDataBasic | ||||||||
| Code | tkCode | Code | ||||||
| Description | tkTranslatableDescription | Description | - | |||||
| Remark | kRemark | Remark | Owned | - | ||||
| Inherited from kDataObject | ||||||||
| Id | tkUnique | Id | ||||||
| ClassName | tkCode | Class Name | - | |||||
| CreatedBy | tkCode | Created BY | - | |||||
| LastModifiedBy | tkCode | Last Modified By | - | |||||
| CreatedDate | tkDateTime | Created Date | - | |||||
| LastModifiedDate | tkDateTime | Last Modified Date | - | |||||
| RevisionNumber | tkInteger | Revision Number | - | |||||
| WorkflowStatus | kWorkflowStatus | Workflow Status | - | |||||
| OwnedOnRequest | tkYesNo | Is owned on request | - | |||||
| Origin | kSystem | Origin | - | |||||
| LastModifiedProcess | tkGuid | Last process | - | |||||
(E) : Type have an event assigned to it, look at type documentation for mode details
(A) : Property have an autocoderole, look autocoderole grid for mode details
Events
| When | Method Name | Module | Parameters | On | Off | Asynch |
|---|---|---|---|---|---|---|
| beforeinsert (I) | OnInitWorkFlow | kCoreServices | ||||
| afterinsert (I) | AutoTransition | kCoreServices | ||||
| afterupdate (I) | AutoTransition | kCoreServices | workflowstatus |
IncrementalSearch
Inherited from kDataBasic
- class : kDataBasic
- searchproperty : description,code
- displayproperties : code,description