Optio Object Reader Report
DocumentCheck
Creation date12/1/99
Last modified15/02/2004
FilenameSampleDSdd.dcl
Report date09/04/2004
Report typeDocumentation
DocumentCheck
Code Before
LET localdir = "c:\Program Files\optio\odcs\reprint"
LET doctype = "Checks" & SHOWDATE("%m%d%y%H%M%S", NOW ()) & ".pcl"
LET command = "submit " & doctype & " Checks " & localdir
Code After
LET sys = SYSTEM(globals::command)
Generated by
7.8.22
Text InputText Data
Primary
Yes
Input mappingText Data Datamap
Region/SegmentDetail
Parent Section
None
Repeating Section
Yes
Fieldinvoice_num
Field type
Key field
Field type
Is Numeric
Region/SegmentFooter
When to execute format
@@Page=@@TotalPages
Parent Section
None
Fieldfooter_check
Field type
Watch field
Field type
Regularexpression
Expression
****
Fieldsig_check
Code After
LET sig_check = TONUMBER(total_amount)
Region/SegmentHeader
Parent Section
None
Fieldvendor_num
Linked input field
cVendorID
Linked to secondary input
CopyPerVendor : Delimited input
Delimited inputCopyPerVendor
Filename
~samples\CustomerCopies.txt
Lookup Source
Yes
Number of Fields 2
Laser printer OutputLaser Printer
Device
CO_MICR.dev
Printer queue
\\appdcs\app_hp
Output frequency
End of Job
File OutputOutput File
Device
CO_MICR.dev
Filename
= (globals::localdir&CANON("\92")&globals::doctype)
Output frequency
End of Job
E-Mail OutputCFO Over-Limit E-Mail
Device
CO_Pdf.dev
Server
NTEXCHANGE
Output frequency
End of Job
Mail to
oema
Subject
Over-Limit check needs your signature!
Mail from
ClubOptioDemo
Reply to
ClubOptioDemo@optiosoftware.com
Attachment name
check.pdf
LayoutAuto-Signature
Break on
Footer.check_num
Duplexing
Off
Region/SegmentBackground
Parent Section
None
When to Output
ALL
Region/SegmentDetail1
Parent Section
None
Repeating Section
Yes
Region/SegmentFooter1
Parent Section
None
When to Output
ALL
FieldImage4
Image filename
bmpsig.bmp
Fieldscanline
Content
="C" & CI("check_num") & "C A98765432A 123456789C"
FieldImage1
Image filename
ClubOptioLogo.tif
Region/SegmentHeader1
Parent Section
None
When to Output
ALL
LayoutPage one
Duplexing
Off
Region/SegmentBackground1
Parent Section
None
When to Output
ALL
LayoutSignature required
When to execute format
sig_check > 3000
Break on
Footer.check_num
Duplexing
Off
Region/SegmentBackground2
Parent Section
None
When to Output
ALL
Region/SegmentDetail11
Parent Section
None
Repeating Section
Yes
Region/SegmentFooter11
Parent Section
None
When to Output
ALL
Fieldcheck_num
Code Before
SWITCH Layout.Footer11.check_num
CASE 0
LET numbercode = "零 "
EXIT SWITCH
CASE 1
LET numbercode = "壹 "
EXIT SWITCH
CASE 2
LET numbercode = "貳 "
EXIT SWITCH
CASE 3
LET numbercode = "參 "
EXIT SWITCH
CASE 4
LET numbercode = "肆 "
EXIT SWITCH
CASE 5
LET numbercode = "伍 "
EXIT SWITCH
CASE 6
LET numbercode = "陸 "
EXIT SWITCH
CASE 7
LET numbercode = "柒 "
EXIT SWITCH
CASE 8
LET numbercode = "捌 "
EXIT SWITCH
CASE 9
LET numbercode = "玖 "
EXIT SWITCH
OTHERWISE
LET numbercode = " "
EXIT SWITCH
END SWITCH
Content
=numbercode
Fieldscanline
Content
="C" & CI("check_num") & "C A98765432A 123456789C"
FieldImage1
Image filename
ClubOptioLogo.tif
Region/SegmentHeader11
Parent Section
None
When to Output
ALL
IF ConditionIf Condition
Condition/Target
Condition.Footer.sig_check < 3000
Signature
Condition/Target
Condition.Footer.sig_check > 3000
No Signature
IF ConditionReprint If Condition
Condition/Target
Condition.Footer.sig_check < 3000
Signature
Condition/Target
Condition.Footer.sig_check > 3000
No Signature