Vibecode Reference Manual

kCarnet

Carnet


Info


Inherits from kDataObject\kDataBasic



Properties


Name

Type

Label

List

Owned

Cluster

Mandatory

Unique

Note

BarcodeType

tkLoyaltyBarcodeType

Barcode Type

-

(A)

Barcode

tkCode

Barcode

check mark

check mark

(A)

TemporaryBarcode

tkCode

Temporary Barcode

check mark

check mark

(A)

CarnetType

kCarnetType

Carnet Type

check mark

Product

kProduct

Product

check mark

(A)

Stores

kStore

Stores

List

Not Owned

-

StandardPrefix

tkCode

Standard Prefix

-

(A)

Category

kCarnetCategory

Category

-

Vouchers

kVoucher

Vouchers Included

List

Not Owned

-

GiftCards

kGiftCard

GiftCards Included

List

Not Owned

-

EffectivePrice

tkPrice

Effective Price

-

prezzo di listino corrente (compreso promo)

EffectivePrice.Value

tkValue

Price

-

EffectivePrice.Currency

kCurrency

Currency

-

EffectivePrice.UnitOfMeasure

kUnitOfMeasure

UOM

-

TODO: true only if tkvalue<>0

OfficialPrice

tkPrice

Official Price

-

prezzo ufficiale

OfficialPrice.Value

tkValue

Price

-

OfficialPrice.Currency

kCurrency

Currency

-

OfficialPrice.UnitOfMeasure

kUnitOfMeasure

UOM

-

TODO: true only if tkvalue<>0

Discount

tkAmount

Discount

-

Discount.Value

tkValue

Amount

-

Discount.Currency

kCurrency

Currency

-

mandatory(true) {TODO: Mandatory only if Value<>0}

Amount

tkAmount

Amount

-

Price - Discount

Amount.Value

tkValue

Amount

-

Amount.Currency

kCurrency

Currency

-

mandatory(true) {TODO: Mandatory only if Value<>0}

LoyaltyCustomer

kLoyaltyCustomer

Customer

-

Batch

kCarnetBatch

Carnet Generation Batch

-

VATCode

kVATCode

VAT Code

-

BusinessDocument

tkDescription

Business Document

-

Receipt

tkDescription

Receipt

-

UsageLimit

tkIntegerPositive

Usage Limit

-

IsPhysicalCard

tkYesNo

Is Physical Card

-

CreatedByStore

kStore

Created by Store

-

IssuedByStore

kStore

Issued by Store

-

IssueDate

tkDateTime

Date of Issue

-

ExpiryDate

tkDateTime

Expiry Date

-

FirstTransaction

tkDateTime

Date/Time of the first Transaction

-

LastTransaction

tkDateTime

Date/Time of the last Transaction

-

ExternalReferenceNumber

tkDescription

External Ref Number

-

ExternalReferenceType

tkDescription

External Ref Type

-

ExternalReferenceDateTime

tkDateTime

External Ref Date Time

-

ExternalReferenceLine

tkDescription

External Ref Line

-

Inherited from kDataBasic

Code

tkCode

Code

check mark

check mark

Description

tkTranslatableDescription

Description

-

Remark

kRemark

Remark

Owned

-

Inherited from kDataObject

Id

tkUnique

Id

check mark

check mark

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 upon 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



Autocoderoles


Property

Ignore user input

When

Code part

Type

Value

Start

Length

Fill Char

Dir

Seq. Suf.

Prefix

Limit Len

code

cross mark

insert

fixed

C

property

CarnetType.StandardPrefix

4

fixed

##date:yyyy##

sequence

BaseCarnetSeq

6

0

left

CarnetType.StandardPrefix

random

100000

0

5

0

left

barcode

cross mark

insert

property

code

barcodetype

cross mark

insert

fixed

2

standardprefix

cross mark

insert

property

CarnetType.StandardPrefix

product

cross mark

insert

property

CarnetType.product

description

cross mark

insert

property

code

temporarybarcode

cross mark

insert

fixed

TC

property

CarnetType.StandardPrefix

4

fixed

##date:yyyy##

sequence

BaseCarnetSeq

6

0

left

CarnetType.StandardPrefix

random

100000

0

5

0

left

(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 : kCarnet

  • searchproperty : code,carnettype.code

  • displayproperties : code,carnettype.code



Used By


Class

Property

kVoucher

Carnet

kGiftCard

Carnet