kSalesOrder
Order
Info
Inherits from kDataObject\kDataBasic
Properties
| Name | Type | Label | List | Owned | Cluster | Mandatory | Unique | Note |
|---|---|---|---|---|---|---|---|---|
| Channel | kOmniChannel | Channel | ||||||
| OrderDate | tkDateTime | Order Date | ||||||
| Status | tkOrderStatus | Status | ||||||
| CustomerType | tkOmniCustomerType | Customer Type | ||||||
| LoyaltyCard | kLoyaltyCard | Loyalty Card | - | |||||
| LoyaltyCustomer | 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 | kOrderLine | Lines | List | Owned | ||||
| Discounts | kOmniDiscountLine | Discounts | List | Owned | - | |||
| Payments | kOmniCartPaymentLine | Payments | List | Owned | ||||
| TotalPointsUsed | tkLoyaltyPoint | Total Points Used | - | |||||
| TotalQuantity | tkValue | Total Quantity | ||||||
| GrossAmount | tkAmount | Gross Amount | ||||||
| GrossAmount.Value | tkValue | Amount | - | |||||
| GrossAmount.Currency | kCurrency | Currency | - | mandatory(true) {TODO: Mandatory only if Value<>0} | ||||
| NetAmount | tkAmount | Net Amount | - | Per adesso, non gestito | ||||
| NetAmount.Value | tkValue | Amount | - | |||||
| NetAmount.Currency | kCurrency | Currency | - | mandatory(true) {TODO: Mandatory only if Value<>0} | ||||
| TemporaryCartID | tkDescription | Temporary Cart ID | - | |||||
| ExternalOrderID | tkDescription | External Order ID | - | |||||
| NeedsManualCheck | tkYesNo | Needs manual check | - | |||||
| ErrorType | tkErrorType | Error type | - | |||||
| ErrorType.EType | tkEType | Short description | - | |||||
| ErrorType.Description | tkDescription | Long description | - | |||||
| InvoiceError | tkYesNo | Invoice error | - | |||||
| OperatorNote | kRemark | Operator notes | Owned | - | ||||
| ShipmentWorkflow | tkShipmentWorkflow | Shipment workflow | - | |||||
| NeedsPaymentConfirmation | tkYesNo | Needs payment confirmation | - | |||||
| PaymentConfirmation | tkPaymentConfirmation | Payment confirmation | - | |||||
| PaymentConfirmation.Date | tkDate | Date | - | |||||
| PaymentConfirmation.Reference | tkDescription | Reference | - | |||||
| PaymentConfirmation.Amount | tkAmount | Amount | - | |||||
| PaymentConfirmation.Amount.Value | tkValue | Amount | - | |||||
| PaymentConfirmation.Amount.Currency | kCurrency | Currency | - | mandatory(true) {TODO: Mandatory only if Value<>0} | ||||
| WaitInvoiceConfirmation | tkYesNo | Wait Invoice Confirmation | - | |||||
| InvoiceDate | tkDate | - | ||||||
| InvoiceNumber | tkShortDescription | - | ||||||
| InvoiceFileName | tkShortDescription | - | ||||||
| ReprocessCount | tkInteger | - | ||||||
| LastReprocessDate | tkDateTime | - | ||||||
| ProcessOrderCompleted | tkYesNo | - | ||||||
| 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 | OmniCommerce_CheckManualOrder | kOmniCommerce | ||||
| afterinsert | OmniCommerce_AddManualTrigger | kOmniCommerce | ||||
| beforedelete | OmniCommerce_ClearRemark | kOmniCommerce | ||||
| beforeinsert (I) | OnInitWorkFlow | kCoreServices | ||||
| afterinsert (I) | AutoTransition | kCoreServices | ||||
| afterupdate (I) | AutoTransition | kCoreServices | workflowstatus |
IncrementalSearch
- class : kSalesOrder
- searchproperty : Code
- displayproperties : Code
- additionalproperties : Description
Used By
| Class | Property |
|---|---|
| kPickingListHeader | Order |
| kOmniCommerce_AllocationTrigger | Order |
| kSalesOrderLog | Order |
| kReturnOrder | SalesOrder |