Skip to main content
Skip table of contents

Autocoderole e sequence utilizzate da POSible

Per visualizzare in Vibecode le autocoderole accedere alla voce di menu:

Amministratore > Autocoderoles > Autocoderoles (kAutocoderole)

Nota bene:

se il parametro “Vibecode Internal Autocoderole” è impostato a “Sì” allora l’autocoderole è stata definita nei vibs* e viene importata in Vibecode alla partenza:

Definizione dell’autocoderole nel file cPOSible.vibs:

Per visualizzare in Vibecode le sequence accedere alla voce di menu:

Amministratore > Autocoderoles > Sequenza (kSequence)

Elenco autocoderole e sequence

Class

Property

Autocoderole

Sequence

kGiftCard

code

autocoderole class(kGiftCard) property(code) ignoreuserinput(false)

codepart type(property) value(Group.StandardPrefix) length(4)

codepart type(sequence) value(giftcardseq) length(8) fillchar(0) filldirection(left)

codepart type(random) start(0) value(999) length(3) fillchar(0) filldirection(left)

codepart type(checksum) value(gtin-16)

sequence name(giftcardseq) period(none)

kGiftCard

barcode

autocoderole class(kGiftCard) property(barcode) ignoreuserinput(false)

codepart type(property) value(code)

kGiftCard

barcodetype

autocoderole class(kGiftCard) property(barcodetype) ignoreuserinput(false)

codepart type(fixed) value("2")

kGiftCardTransaction

code

autocoderole class(kGiftCardTransaction) property(code) ignoreuserinput(false)

codepart type(fixed) value("VIBECODE")

codepart type(fixed) value(##date:yyyy##)

codepart type(sequence) value(giftcardtransaction) length(7) fillchar(0) filldirection(left)

sequence name(giftcardtransaction) period(year)

kCustomer

code

autocoderole class(kCustomer) property(code) ignoreuserinput(true)

codepart type(fixed) value("S")

codepart type(sequence) value(customersequence) length(5) fillchar(0) filldirection(left)

sequence name(customersequence)

kLoyaltyCustomer

code

autocoderole class(kLoyaltyCustomer) property(code) ignoreuserinput(true)

codepart type(fixed) value("F")

codepart type(sequence) value(loycustomersequence) length(5) fillchar(0) filldirection(left)

sequence name(loycustomersequence)

kLoyaltyCard

code

autocoderole class(kLoyaltyCard) property(code) ignoreuserinput(true)

codepart type(sequence) value(loycardsequence) length(7) fillchar(0) filldirection(left)

sequence name(loycardsequence)

kReceipt

InvoiceNumber

autocoderole class(kReceipt) property(InvoiceNumber) ignoreuserinput(true) Validity(field(ToBeInvoiced) eq(1))

codepart type(sequence) value(InvoiceNumber)

sequence name(InvoiceNumber) period(year)

kReceipt

InvoiceDate

autocoderole class(kReceipt) property(InvoiceDate) ignoreuserinput(true) Validity(field(ToBeInvoiced) eq(1))

codepart type(property) value(DateTime)

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.