UserDefinedVariable object

Properties

Batches property

Invoices property

Name property

Value property

This object represents a user-defined variable (UDV).

Note You cannot get UDV values in the output directly via a transaction field in ReadSoft Invoices. If you need to the value in the output, you could use InvoiceRules (a standard product component available from ReadSoft) to set a field value from a UDV. Then use that field in the transaction description.

If you are using INVOICE COCKPIT, you can do the same thing in Eicc.ini.

Example

[AUTOADD::HEADER]
; add custom fields to the invoice fields
; $ = internal application values
; % = transaction description values
; & = single item field
; ^ = user defined variable
; ! = environment variable, e.g. !%COMPUTERNAME%
; @ = concatencate fields
; + = sum amount fields
;
;_RG=&Gutschrift
;_vendor_id=$Definition.Description
;_scandate=%#Date
;_blinedate=%#Date
;_crep=$JOBDESCRIPTION
;_crep=PV
;Benutzername=$Username
;Test=%#Imagefile
_SUPPLNUMBER=%#SupplNumber
;_SUPPLIER=%#Supplier
_BUYERNUMBER=%#BuyerNumber
_UDV1=^PA

Related topics

UserDefinedVariables collection