kSalesPrice_Discounts
kSalesPrice_Discounts
Info
Inherits from kDataObject\kRoot\kSalesPriceDiscount
Properties
Name | Type | Label | List | Owned | Cluster | Mandatory | Unique | Note |
---|---|---|---|---|---|---|---|---|
Inherited from kSalesPriceDiscount | ||||||||
DiscountReasonCode | kSalesDiscountReasonCode | Discount Reason Code | - | |||||
DiscountType | tkDiscountType | Discount Type | - | |||||
DiscountPercentage | tkPercentage | Discount Percentage | - | |||||
DiscountAmount | tkAmount | Discount Amount | - | |||||
DiscountAmount.Value | tkValue | Amount | - | |||||
DiscountAmount.Currency | kCurrency | Currency | - | mandatory(true) {TODO: Mandatory only if Value<>0} | ||||
Inherited from kRoot | ||||||||
TimeStampVersion | tkTimeStamp | - | mandatory(true) Servirebbe una query di update prima di poter applicare questa modifica | |||||
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 kRoot
- class : kRoot
- searchproperty : id
- displayproperties : id,ClassName
- displaytextproperties : id,ClassName