Voucher
Info
Inherits from kDataObject\kDataBasic
Properties
|
Name |
Type |
Label |
List |
Owned |
Cluster |
Mandatory |
Unique |
Note |
|---|---|---|---|---|---|---|---|---|
|
Status |
Status |
|
||||||
|
Barcode |
Barcode |
|
|
(A) |
||||
|
BarcodeType |
Barcode Type |
- |
(A) |
|||||
|
VoucherType |
Voucher Type |
|
||||||
|
Product |
Product |
|
(A) |
|||||
|
ProductsIncluded |
Product Included |
List |
Not Owned |
- |
||||
|
ProductsUpgrade |
Products Upgrade |
List |
Not Owned |
- |
||||
|
ProductAllocated |
Product Allocated |
- |
||||||
|
StandardPrefix |
Standard Prefix |
- |
(A) |
|||||
|
Stores |
Stores |
List |
Not Owned |
- |
||||
|
Category |
Category |
- |
||||||
|
EffectivePrice |
Effective Price |
- |
prezzo di listino corrente (compreso promo) |
|||||
|
EffectivePrice.Value |
Price |
- |
||||||
|
EffectivePrice.Currency |
Currency |
- |
||||||
|
EffectivePrice.UnitOfMeasure |
UOM |
- |
TODO: true only if tkvalue<>0 |
|||||
|
OfficialPrice |
Official Price |
- |
prezzo ufficiale |
|||||
|
OfficialPrice.Value |
Price |
- |
||||||
|
OfficialPrice.Currency |
Currency |
- |
||||||
|
OfficialPrice.UnitOfMeasure |
UOM |
- |
TODO: true only if tkvalue<>0 |
|||||
|
Discount |
Discount |
- |
||||||
|
Discount.Value |
Amount |
- |
||||||
|
Discount.Currency |
Currency |
- |
mandatory(true) {TODO: Mandatory only if Value<>0} |
|||||
|
Amount |
Amount |
- |
Price - Discount |
|||||
|
Amount.Value |
Amount |
- |
||||||
|
Amount.Currency |
Currency |
- |
mandatory(true) {TODO: Mandatory only if Value<>0} |
|||||
|
LoyaltyCustomer |
Customer |
- |
||||||
|
Batch |
Voucher Generation Batch |
- |
||||||
|
Carnet |
Carnet |
- |
||||||
|
VATCode |
VAT Code |
- |
(A) |
|||||
|
BusinessDocument |
Business Document |
- |
||||||
|
Receipt |
Receipt |
- |
||||||
|
IsPhysicalCard |
Is Physical Card |
- |
(A) |
|||||
|
ExternalReferenceNumber |
External Ref Number |
- |
||||||
|
ExternalReferenceType |
External Ref Type |
- |
||||||
|
ExternalReferenceDateTime |
External Ref Date Time |
- |
||||||
|
ExternalReferenceLine |
External Ref Line |
- |
||||||
|
AllocateExternalReferenceNumber |
Allocate External Ref Number |
- |
||||||
|
AllocateExternalReferenceType |
Allocate External Ref Type |
- |
||||||
|
AllocateExternalReferenceDateTime |
Allocate External Ref Date Time |
- |
||||||
|
AllocateExternalReferenceLine |
Allocate External Ref Line |
- |
||||||
|
CreatedByStore |
Created by Store |
- |
||||||
|
IssuedByStore |
Issued by Store |
- |
||||||
|
IssueDate |
Date of Issue |
- |
||||||
|
UsedByStore |
Used by Store |
- |
||||||
|
RedeemByStore |
Redeemed by Store |
- |
||||||
|
ExpiryDate |
Expiry Date |
- |
||||||
|
LastAllocationDate |
Allocation Date |
- |
||||||
|
LastRedeemDate |
Redeem Date |
- |
||||||
|
LastBlockDate |
Block Date |
- |
||||||
|
LastSuspendDate |
Suspend Date |
- |
||||||
|
FirstTransaction |
Date/Time of the first Transaction |
- |
||||||
|
LastTransaction |
Date/Time of the last Transaction |
- |
||||||
|
LinkForExtension |
Link For Validity Extension |
- |
||||||
|
Inherited from kDataBasic |
||||||||
|
Code |
Code |
|
|
|||||
|
Description |
Description |
- |
||||||
|
Remark |
Remark |
Owned |
- |
|||||
|
Inherited from kDataObject |
||||||||
|
Id |
Id |
|
|
|||||
|
ClassName |
Class Name |
- |
||||||
|
CreatedBy |
Created by |
- |
||||||
|
LastModifiedBy |
Last Modified By |
- |
||||||
|
CreatedDate |
Created Date |
- |
||||||
|
LastModifiedDate |
Last Modified Date |
- |
||||||
|
RevisionNumber |
Revision Number |
- |
||||||
|
WorkflowStatus |
Workflow Status |
- |
||||||
|
OwnedOnRequest |
Is owned upon request |
- |
||||||
|
Origin |
Origin |
- |
||||||
|
LastModifiedProcess |
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
Autocoderoles
|
Property |
Ignore user input |
When |
Code part |
||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
Type |
Value |
Start |
Length |
Fill Char |
Dir |
Seq. Suf. |
Prefix |
Limit Len |
|||
|
code |
|
insert |
fixed |
V |
|||||||
|
property |
VoucherType.StandardPrefix |
4 |
|||||||||
|
fixed |
##date:yyyy## |
||||||||||
|
sequence |
BaseVoucherSeq |
6 |
0 |
left |
VoucherType.StandardPrefix |
||||||
|
random |
100000 |
0 |
5 |
0 |
left |
||||||
|
barcode |
|
insert |
property |
code |
|||||||
|
description |
|
insert |
property |
code |
|||||||
|
standardprefix |
|
insert |
property |
VoucherType.StandardPrefix |
|||||||
|
product |
|
insert |
property |
VoucherType.product |
|||||||
|
VatCode |
|
insert |
property |
VoucherType.product.vatcode |
|||||||
|
IsPhysicalCard |
|
insert |
property |
VoucherType.IsPhysicalCard |
|||||||
|
barcodetype |
|
insert |
fixed |
2 |
|||||||
(I) : Autocoderole is defined in parent class
Events
|
When |
Method Name |
Module |
Parameters |
On |
Off |
Asynch |
|---|---|---|---|---|---|---|
|
beforeinsert (I) |
OnInitWorkFlow |
kCoreServices |
||||
|
afterinsert (I) |
AutoTransition |
kCoreServices |
||||
|
afterupdate (I) |
AutoTransition |
kCoreServices |
workflowstatus |
(I) : Event is defined in parent class
IncrementalSearch
-
class : kVoucher
-
searchproperty : code,vouchertype.code,status
-
displayproperties : code,vouchertype.code,status
-
displaypropertiesnames : status
-
displaytextproperties : code,vouchertype.code,status
Used By
|
Class |
Property |
|---|---|
| kVoucherTransaction |
Voucher |
| kCarnet |
Vouchers |
| kReceiptLine |
Voucher |
| kReceiptPayment |
Voucher |