kSale
Sale
Info
Inherits from kDataObject
Properties
Name | Type | Label | List | Owned | Cluster | Mandatory | Unique | Note |
---|---|---|---|---|---|---|---|---|
Source | kSaleSource | Origin | Owned | - | kReceipt,kInvoice... | |||
Store | kStore | Store | ||||||
DateTime | tkDateTime | Sale DateTime | ||||||
LoyaltyCard | kLoyaltyCard | Loyalty Card | - | |||||
LoyaltyCustomer | kLoyaltyCustomer | Loyalty customer | - | |||||
Customer | kCustomer | Customer | - | |||||
GrossAmount | tkAmount | Gross Amount | - | |||||
GrossAmount.Value | tkValue | Amount | - | |||||
GrossAmount.Currency | kCurrency | Currency | - | mandatory(true) {TODO: Mandatory only if Value<>0} | ||||
NetAmount | tkAmount | Net Amount | - | |||||
NetAmount.Value | tkValue | Amount | - | |||||
NetAmount.Currency | kCurrency | Currency | - | mandatory(true) {TODO: Mandatory only if Value<>0} | ||||
Lines | kSalesLine | Sales | List | Owned | - | |||
Discounts | kSalesDiscount | Discounts | List | Owned | - | |||
PricesVatInclusive | tkYesNo | Vat Inclusive | - | tutti i prezzi e gli sconti saranno espressi con/senza iva in accordo con questo flag | ||||
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 kDataObject
- class : kDataObject
- searchproperty : id
- displayproperties : id,ClassName
- displaytextproperties : id,ClassName