# ######################################################### # sxe-7m.rul merge rule file for NxTrend application # # Requires, at least, UnForm version 7.0.09 # # This rule file includes rule set setup for extra # # features like archiving and emailing # ######################################################### # This rule file is provided "AS IS", without warranty. # # Under no circumstances will the publisher be liable # # for consequential damages resulting from the use or # # inability to use the contents. # ######################################################### # # NOTE: SDSI has attempted to create # rule sets that are generic enough # that they cover as many options as # possible.If you find situations that # the rule set is not handling properly, # do not hesitate to contact us and # provide us with a sample text file # showing the problem. We will be # happy to provide the "correction" # in a timely manner. # The above assumes that no modifications # have been made to the application. # # # Modification history # # Last modified 02/05/2007 - BCJ # [SO Acknowledgement/Quote] # # Archiving section # # Coding for this feature uses the following constants # which are preset in standard SDSI rule files/sets # Globals constants set at top of rule file # UFTRIM - trim value for get command (std, "Y") # # These constant(s) must be added in rule file/set as needed # or inserted below # # establish text-based docdate format for date conversion into segments # adjust this format to fit your document local UFA_DATEFMT="MM/DD/YY" prejob { day_format "UFA_DATEFMT" } prepage { # arclibpath$=name of library ufa_libpath$="SXE_Sales" # arcdoctype$=document type, default=rule set name ufa_doctype$="Acknowledgement" if pos("Quote Order"=text$[2]) then ufa_doctype$="Quote" # arcdocid$=document id,eg invoice #, default=10 digit sequential number ufa_docid$=get(121,3,12,"UFTRIM") # arcsubid$=subid name, default=@unform ufa_subid$="" # arctitle$=document title, default=title command or derived from data ufa_docdate$=get(106,3,12,"UFTRIM") if ufa_docdate$="" then ufa_docdate$=get(94,5,8) # recommend insuring date is valid if ufa_docdate$="" then ufa_docdate$=dte(0:"%Mz/%Dz/%Yz") ufa_custid$="Id: "+get(11,4,13) ufa_custname$=get(12,7,35,"UFTRIM") ufa_custpo$="PO "+get(104,5,22,"UFTRIM") if trim(ufa_custpo$)="PO" then ufa_custpo$="PO (none)" ufa_title$=ufa_docdate$+" "+ufa_custid$+":"+ufa_custname$+" "+ufa_custpo$ # arcnotes$=free form document notes ufa_notes$="" # arckeywords$=semi-colon delimited document identifiers, # default=derived from unique words in document ufa_keywords$="*;" # arccats$=semi-colon delimited sort keys(indexes), # categories can contain multiple segments separated by pipes (|) # info needed for categories ufa_shiptoname$=get(12,12,35,"UFTRIM") ufa_yyyy$=dte(ufa_docdate$:"%Ys") ufa_mmm$=dte(ufa_docdate$:"%Ms") ufa_dd$=dte(ufa_docdate$:"%Dz") # 3 segment category:year then year-month then year-month-day ufa_yyyymmmdd$=ufa_yyyy$+"|"+ufa_yyyy$+" "+ufa_mmm$+"|"+ufa_yyyy$+" "+ufa_mmm$+" "+ufa_dd$ # 2 segment year category: year then year-month ufa_yyyymmm$=ufa_yyyy$+"|"+ufa_yyyy$+" "+ufa_mmm$ # now set categories ufa_cats$="Customer|Id|"+ufa_custid$+":"+ufa_custname$+"|"+ufa_yyyymmm$+";" ufa_cats$+="Customer|Name|"+ufa_custname$+"|"+ufa_yyyymmm$+";" ufa_cats$+="CustPo|Id|"+ufa_custid$+":"+ufa_custname$+"|"+ufa_custpo$+";" ufa_cats$+="CustPo|Name|"+ufa_custname$+"|"+ufa_custpo$+";" ufa_cats$+="CustShipTo|Id|"+ufa_custid$+":"+ufa_custname$+"|"+ufa_shiptoname$+"|"+ufa_yyyymmm$+";" ufa_cats$+="CustShipTo|Name|"+ufa_custname$+"|"+ufa_shiptoname$+"|"+ufa_yyyymmm$+";" ufa_cats$+="by Month|"+ufa_yyyymmm$+";" ufa_cats$+="by Day|"+ufa_yyyymmmdd$+";" # arclinks$=links to other documents ufa_links$="" # arcargs$=UnForm command line arguments to pass to archive subjobs ufa_args$="-ce 1" # arcdtm$= date & time for document, # default=current date and time ufa_dtm$="" # arcsubtitle$=titles for subids ufa_subtitle$="" # arcsubdtm$=date & time for subids ufa_subdtm$="" } # Place a # in front of the archive line to turn off archiving if uf.arcenabled archive {ufa_libpath$},{ufa_doctype$},{ufa_docid$},subid {ufa_subid$},title {ufa_title$},notes {ufa_notes$},keywords {ufa_keywords$},categories {ufa_cats$},links {ufa_links$},args {ufa_args$},dtm {ufa_dtm$},subtitle {ufa_subtitle$},subdtm {ufa_subdtm$} endif # # Scanning barcode copy section # # Coding for this feature uses the following constants # which are preset in standard SDSI rule files/sets # Globals constants set at top of rule file # UFTRIM - trim value for get command (std, "Y") # DFONT - detail font (std, cgtimes,9) # locals constants set near top of rule set # MAXCOLS - max columns on document, eg. 80 # MAXROWS - max rows on document, eg. 66 # SCANNING_COPY- copy # barcodes should be placed, eg. 2 # # These constants must be added in rule file/set as needed # or inserted below # prepage { # ufs_doctype$ MUST be upper case ufs_doctype$="ACK" if pos("Quote Order"=text$[2]) then ufs_doctype$="QTE" ufs_docid$=get(121,3,12,"UFTRIM") # warning message text ufs_warnmsg$="Please do not write in this area." # increase rows to allow space for barcodes. # s/b at least 4 rows more than maximum # for enhanced page. ufs_maxrows=MAXROWS+5 # adjusted max form columns as needed ufs_maxcols=MAXCOLS # set flag for right-justified signature # line: 0=no, 1=yes ufs_sign=1 # set signature text, "" for no text ufs_text_sign$="Accepted By" } precopy { # if no archiving enabled then turn off scanning copy if copy=SCANNING_COPY and not(uf.arcenabled) then skip=1 # to turn off scanning copy, remove the # from next line # if copy=SCANNING_COPY then skip=1 # Specify copy to print barcodes ufs_copy=SCANNING_COPY } merge "Engine for scanning copy barcodes","DOC_ENGINE" [IC Transfer_Packing List] # # Archiving section # # Coding for this feature uses the following constants # which are preset in standard SDSI rule files/sets # Globals constants set at top of rule file # UFTRIM - trim value for get command (std, "Y") # # These constant(s) must be added in rule file/set as needed # or inserted below # # establish text-based docdate format for date conversion into segments # adjust this format to fit your document local UFA_DATEFMT="MM/DD/YY" prejob { day_format "UFA_DATEFMT" } prepage { # arclibpath$=name of library ufa_libpath$="SXE_Operations" # arcdoctype$=document type, default=rule set name ufa_doctype$="Transfer" # arcdocid$=document id,eg invoice #, default=10 digit sequential number ufa_docid$=get(105,3,12,"UFTRIM") # arcsubid$=subid name, default=@unform ufa_subid$="" # arctitle$=document title, default=title command or derived from data ufa_docdate$=get(94,5,8,"UFTRIM") ufa_custname$=get(12,7,35,"UFTRIM") if ufa_custname$="" then ufa_custname$=comp_name$ ufa_title$=ufa_docdate$+" "+ufa_custname$ # arcnotes$=free form document notes ufa_notes$="" # arckeywords$=semi-colon delimited document identifiers, # default=derived from unique words in document ufa_keywords$="*;" # arccats$=semi-colon delimited sort keys(indexes), # categories can contain multiple segments separated by pipes (|) # info needed for categories ufa_shiptoname$=get(12,12,35,"UFTRIM") ufa_yyyy$=dte(ufa_docdate$:"%Ys") ufa_mmm$=dte(ufa_docdate$:"%Ms") ufa_dd$=dte(ufa_docdate$:"%Dz") # 3 segment category:year then year-month then year-month-day ufa_yyyymmmdd$=ufa_yyyy$+"|"+ufa_yyyy$+" "+ufa_mmm$+"|"+ufa_yyyy$+" "+ufa_mmm$+" "+ufa_dd$ # 2 segment year category: year then year-month ufa_yyyymmm$=ufa_yyyy$+"|"+ufa_yyyy$+" "+ufa_mmm$ # now set categories ufa_cats$="Customer|"+ufa_custname$+"|"+ufa_yyyymmm$+";" ufa_cats$+="CustShipTo|"+ufa_custname$+"|"+ufa_shiptoname$+"|"+ufa_yyyymmm$+";" ufa_cats$+="by Month|"+ufa_yyyymmm$+";" ufa_cats$+="by Day|"+ufa_yyyymmmdd$+";" # arclinks$=links to other documents ufa_links$="" # arcargs$=UnForm command line arguments to pass to archive subjobs ufa_args$="-ce 1" # arcdtm$= date & time for document, # default=current date and time ufa_dtm$="" # arcsubtitle$=titles for subids ufa_subtitle$="" # arcsubdtm$=date & time for subids ufa_subdtm$="" } # Place a # in front of the archive line to turn off archiving if uf.arcenabled archive {ufa_libpath$},{ufa_doctype$},{ufa_docid$},subid {ufa_subid$},title {ufa_title$},notes {ufa_notes$},keywords {ufa_keywords$},categories {ufa_cats$},links {ufa_links$},args {ufa_args$},dtm {ufa_dtm$},subtitle {ufa_subtitle$},subdtm {ufa_subdtm$} endif # # Scanning barcode copy section # # Coding for this feature uses the following constants # which are preset in standard SDSI rule files/sets # Globals constants set at top of rule file # UFTRIM - trim value for get command (std, "Y") # DFONT - detail font (std, cgtimes,9) # locals constants set near top of rule set # MAXCOLS - max columns on document, eg. 80 # MAXROWS - max rows on document, eg. 66 # SCANNING_COPY- copy # barcodes should be placed, eg. 2 # # These constants must be added in rule file/set as needed # or inserted below # prepage { # ufs_doctype$ MUST be upper case ufs_doctype$="TRS" ufs_docid$=get(105,3,24,"UFTRIM") # warning message text ufs_warnmsg$="Please do not write in this area." # increase rows to allow space for barcodes. # s/b at least 4 rows more than maximum # for enhanced page. ufs_maxrows=MAXROWS+5 # adjusted max form columns as needed ufs_maxcols=MAXCOLS # set flag for right-justified signature # line: 0=no, 1=yes ufs_sign=1 # set signature text, "" for no text ufs_text_sign$="Accepted By" } precopy { # if no archiving enabled then turn off scanning copy if copy=SCANNING_COPY and not(uf.arcenabled) then skip=1 # to turn off scanning copy, remove the # from next line # if copy=SCANNING_COPY then skip=1 # Specify copy to print barcodes ufs_copy=SCANNING_COPY } merge "Engine for scanning copy barcodes","DOC_ENGINE" [SO Invoice/Credit Memo] # # Archiving section # # Coding for this feature uses the following constants # which are preset in standard SDSI rule files/sets # Globals constants set at top of rule file # UFTRIM - trim value for get command (std, "Y") # # These constant(s) must be added in rule file/set as needed # or inserted below # # establish text-based docdate format for date conversion into segments # adjust this format to fit your document local UFA_DATEFMT="MM/DD/YY" prejob { day_format "UFA_DATEFMT" } prepage { # arclibpath$=name of library ufa_libpath$="SXE_Sales" # arcdoctype$=document type, default=rule set name ufa_doctype$="Invoice" # arcdocid$=document id,eg invoice #, default=10 digit sequential number ufa_docid$=get(121,3,12,"UFTRIM") # arcsubid$=subid name, default=@unform ufa_subid$="" # arctitle$=document title, default=title command or derived from data ufa_docdate$=get(106,3,8,"UFTRIM") if ufa_docdate$="" then ufa_docdate$=get(105,15,8) # recommend insuring date is valid if ufa_docdate$="" then ufa_docdate$=dte(0:"%Mz/%Dz/%Yz") ufa_custid$="Id: "+get(11,4,13) ufa_custname$=get(12,7,35,"UFTRIM") ufa_custpo$="PO "+get(104,5,22,"UFTRIM") if trim(ufa_custpo$)="PO" then ufa_custpo$="PO (none)" ufa_title$=ufa_docdate$+" "+ufa_custid$+":"+ufa_custname$+" "+ufa_custpo$ # arcnotes$=free form document notes ufa_notes$="" # arckeywords$=semi-colon delimited document identifiers, # default=derived from unique words in document ufa_keywords$="*;" # arccats$=semi-colon delimited sort keys(indexes), # categories can contain multiple segments separated by pipes (|) # info needed for categories ufa_shiptoname$=get(12,12,35,"UFTRIM") ufa_yyyy$=dte(ufa_docdate$:"%Ys") ufa_mmm$=dte(ufa_docdate$:"%Ms") ufa_dd$=dte(ufa_docdate$:"%Dz") # 3 segment category:year then year-month then year-month-day ufa_yyyymmmdd$=ufa_yyyy$+"|"+ufa_yyyy$+" "+ufa_mmm$+"|"+ufa_yyyy$+" "+ufa_mmm$+" "+ufa_dd$ # 2 segment year category: year then year-month ufa_yyyymmm$=ufa_yyyy$+"|"+ufa_yyyy$+" "+ufa_mmm$ # now set categories ufa_cats$="Customer|Id|"+ufa_custid$+":"+ufa_custname$+"|"+ufa_yyyymmm$+";" ufa_cats$+="Customer|Name|"+ufa_custname$+"|"+ufa_yyyymmm$+";" ufa_cats$+="CustPo|Id|"+ufa_custid$+":"+ufa_custname$+"|"+ufa_custpo$+";" ufa_cats$+="CustPo|Name|"+ufa_custname$+"|"+ufa_custpo$+";" ufa_cats$+="CustShipTo|Id|"+ufa_custid$+":"+ufa_custname$+"|"+ufa_shiptoname$+"|"+ufa_yyyymmm$+";" ufa_cats$+="CustShipTo|Name|"+ufa_custname$+"|"+ufa_shiptoname$+"|"+ufa_yyyymmm$+";" ufa_cats$+="by Month|"+ufa_yyyymmm$+";" ufa_cats$+="by Day|"+ufa_yyyymmmdd$+";" # arclinks$=links to other documents ufa_links$="" # arcargs$=UnForm command line arguments to pass to archive subjobs ufa_args$="-ce 1" # arcdtm$= date & time for document, # default=current date and time ufa_dtm$="" # arcsubtitle$=titles for subids ufa_subtitle$="" # arcsubdtm$=date & time for subids ufa_subdtm$="" } # Place a # in front of the archive line to turn off archiving if uf.arcenabled archive {ufa_libpath$},{ufa_doctype$},{ufa_docid$},subid {ufa_subid$},title {ufa_title$},notes {ufa_notes$},keywords {ufa_keywords$},categories {ufa_cats$},links {ufa_links$},args {ufa_args$},dtm {ufa_dtm$},subtitle {ufa_subtitle$},subdtm {ufa_subdtm$} endif # # Scanning barcode copy section # # Coding for this feature uses the following constants # which are preset in standard SDSI rule files/sets # Globals constants set at top of rule file # UFTRIM - trim value for get command (std, "Y") # DFONT - detail font (std, cgtimes,9) # locals constants set near top of rule set # MAXCOLS - max columns on document, eg. 80 # MAXROWS - max rows on document, eg. 66 # SCANNING_COPY- copy # barcodes should be placed, eg. 2 # # These constants must be added in rule file/set as needed # or inserted below # prepage { # ufs_doctype$ MUST be upper case ufs_doctype$="INV" ufs_docid$=get(121,3,12,"UFTRIM") # warning message text ufs_warnmsg$="Please do not write in this area." # increase rows to allow space for barcodes. # s/b at least 4 rows more than maximum # for enhanced page. ufs_maxrows=MAXROWS+5 # adjusted max form columns as needed ufs_maxcols=MAXCOLS # set flag for right-justified signature # line: 0=no, 1=yes ufs_sign=1 # set signature text, "" for no text ufs_text_sign$="Accepted By" } precopy { # if no archiving enabled then turn off scanning copy if copy=SCANNING_COPY and not(uf.arcenabled) then skip=1 # to turn off scanning copy, remove the # from next line # if copy=SCANNING_COPY then skip=1 # Specify copy to print barcodes ufs_copy=SCANNING_COPY } merge "Engine for scanning copy barcodes","DOC_ENGINE" [SO Pick ticket] # # Archiving section # # Coding for this feature uses the following constants # which are preset in standard SDSI rule files/sets # Globals constants set at top of rule file # UFTRIM - trim value for get command (std, "Y") # # These constant(s) must be added in rule file/set as needed # or inserted below # # establish text-based docdate format for date conversion into segments # adjust this format to fit your document local UFA_DATEFMT="MM/DD/YY" prejob { day_format "UFA_DATEFMT" } prepage { # arclibpath$=name of library ufa_libpath$="SXE_Sales" # arcdoctype$=document type, default=rule set name ufa_doctype$="Pick Ticket" # arcdocid$=document id,eg invoice #, default=10 digit sequential number ufa_docid$=get(108,3,12,"UFTRIM") # arcsubid$=subid name, default=@unform ufa_subid$="" # arctitle$=document title, default=title command or derived from data ufa_docdate$=get(100,15,8,"UFTRIM") if ufa_docdate$="" then ufa_docdate$=get(110,15,8) # recommend insuring date is valid if ufa_docdate$="" then ufa_docdate$=dte(0:"%Mz/%Dz/%Yz") ufa_custid$="Id: "+get(11,4,13) ufa_custname$=get(12,7,35,"UFTRIM") ufa_custpo$="PO "+get(104,5,22,"UFTRIM") if trim(ufa_custpo$)="PO" then ufa_custpo$="PO (none)" ufa_title$=ufa_docdate$+" "+ufa_custid$+":"+ufa_custname$+" "+ufa_custpo$ # arcnotes$=free form document notes ufa_notes$="" # arckeywords$=semi-colon delimited document identifiers, # default=derived from unique words in document ufa_keywords$="*;" # arccats$=semi-colon delimited sort keys(indexes), # categories can contain multiple segments separated by pipes (|) # info needed for categories ufa_shiptoname$=get(12,12,35,"UFTRIM") ufa_yyyy$=dte(ufa_docdate$:"%Ys") ufa_mmm$=dte(ufa_docdate$:"%Ms") ufa_dd$=dte(ufa_docdate$:"%Dz") # 3 segment category:year then year-month then year-month-day ufa_yyyymmmdd$=ufa_yyyy$+"|"+ufa_yyyy$+" "+ufa_mmm$+"|"+ufa_yyyy$+" "+ufa_mmm$+" "+ufa_dd$ # 2 segment year category: year then year-month ufa_yyyymmm$=ufa_yyyy$+"|"+ufa_yyyy$+" "+ufa_mmm$ # now set categories ufa_cats$="Customer|Id|"+ufa_custid$+":"+ufa_custname$+"|"+ufa_yyyymmm$+";" ufa_cats$+="Customer|Name|"+ufa_custname$+"|"+ufa_yyyymmm$+";" ufa_cats$+="CustPo|Id|"+ufa_custid$+":"+ufa_custname$+"|"+ufa_custpo$+";" ufa_cats$+="CustPo|Name|"+ufa_custname$+"|"+ufa_custpo$+";" ufa_cats$+="CustShipTo|Id|"+ufa_custid$+":"+ufa_custname$+"|"+ufa_shiptoname$+"|"+ufa_yyyymmm$+";" ufa_cats$+="CustShipTo|Name|"+ufa_custname$+"|"+ufa_shiptoname$+"|"+ufa_yyyymmm$+";" ufa_cats$+="by Month|"+ufa_yyyymmm$+";" ufa_cats$+="by Day|"+ufa_yyyymmmdd$+";" # arclinks$=links to other documents ufa_links$="" # arcargs$=UnForm command line arguments to pass to archive subjobs ufa_args$="-ce 1" # arcdtm$= date & time for document, # default=current date and time ufa_dtm$="" # arcsubtitle$=titles for subids ufa_subtitle$="" # arcsubdtm$=date & time for subids ufa_subdtm$="" } # Place a # in front of the archive line to turn off archiving if uf.arcenabled archive {ufa_libpath$},{ufa_doctype$},{ufa_docid$},subid {ufa_subid$},title {ufa_title$},notes {ufa_notes$},keywords {ufa_keywords$},categories {ufa_cats$},links {ufa_links$},args {ufa_args$},dtm {ufa_dtm$},subtitle {ufa_subtitle$},subdtm {ufa_subdtm$} endif # # Scanning barcode copy section # # Coding for this feature uses the following constants # which are preset in standard SDSI rule files/sets # Globals constants set at top of rule file # UFTRIM - trim value for get command (std, "Y") # DFONT - detail font (std, cgtimes,9) # locals constants set near top of rule set # MAXCOLS - max columns on document, eg. 80 # MAXROWS - max rows on document, eg. 66 # SCANNING_COPY- copy # barcodes should be placed, eg. 2 # # These constants must be added in rule file/set as needed # or inserted below # prepage { # ufs_doctype$ MUST be upper case ufs_doctype$="PICK" ufs_docid$=get(107,3,12,"UFTRIM") # warning message text ufs_warnmsg$="Please do not write in this area." # increase rows to allow space for barcodes. # s/b at least 4 rows more than maximum # for enhanced page. ufs_maxrows=MAXROWS+5 # adjusted max form columns as needed ufs_maxcols=MAXCOLS # set flag for right-justified signature # line: 0=no, 1=yes ufs_sign=1 # set signature text, "" for no text ufs_text_sign$="Accepted By" } precopy { # if no archiving enabled then turn off scanning copy if copy=SCANNING_COPY and not(uf.arcenabled) then skip=1 # to turn off scanning copy, remove the # from next line # if copy=SCANNING_COPY then skip=1 # Specify copy to print barcodes ufs_copy=SCANNING_COPY } merge "Engine for scanning copy barcodes","DOC_ENGINE" [AR Statement] # # Archiving section # # Coding for this feature uses the following constants # which are preset in standard SDSI rule files/sets # Globals constants set at top of rule file # UFTRIM - trim value for get command (std, "Y") # # These constant(s) must be added in rule file/set as needed # or inserted below # # establish text-based docdate format for date conversion into segments # adjust this format to fit your document local UFA_DATEFMT="MM/DD/YY" prejob { day_format "UFA_DATEFMT" } prepage { # arclibpath$=name of library ufa_libpath$="SXE_Accounting" # arcdoctype$=document type, default=rule set name ufa_doctype$="Statement" # arcdocid$=document id,eg invoice #, default=10 digit sequential number ufa_docdate$=get(69,7,8,"UFTRIM") if ufa_docdate$="" then ufa_docdate$=dte(0:"%Mz/%Dz/%Yz") ufa_yyyy$=dte(ufa_docdate$:"%Ys") ufa_mmm$=dte(ufa_docdate$:"%Ms") ufa_dd$=dte(ufa_docdate$:"%Dz") ufa_custid$="Id: "+get(71,5,9,"UFTRIM") ufa_docid$=ufa_custid$+"-"+ufa_yyyy$+upper(ufa_mmm$)+ufa_dd$ # arcsubid$=subid name, default=@unform ufa_subid$="" # arctitle$=document title, default=title command or derived from data ufa_custname$=get(11,15,35,"UFTRIM") ufa_title$=ufa_docdate$+" "+ufa_custid$+":"+ufa_custname$ # arcnotes$=free form document notes ufa_notes$="" # arckeywords$=semi-colon delimited document identifiers, # default=derived from unique words in document ufa_keywords$="*;" # arccats$=semi-colon delimited sort keys(indexes), # categories can contain multiple segments separated by pipes (|) # info needed for categories # 3 segment category:year then year-month then year-month-day ufa_yyyymmmdd$=ufa_yyyy$+"|"+ufa_yyyy$+" "+ufa_mmm$+"|"+ufa_yyyy$+" "+ufa_mmm$+" "+ufa_dd$ # 2 segment year category: year then year-month ufa_yyyymmm$=ufa_yyyy$+"|"+ufa_yyyy$+" "+ufa_mmm$ # now set categories ufa_cats$="Customer|Id|"+pad(ufa_custid$,10,"L")+":"+ufa_custname$+"|"+ufa_yyyy$+";" ufa_cats$+="Customer|Name|"+ufa_custname$+"|"+ufa_yyyy$+";" ufa_cats$+="by Month|"+ufa_yyyymmm$+";" ufa_cats$+="by Year|"+ufa_yyyy$+";" # arclinks$=links to other documents ufa_links$="" # arcargs$=UnForm command line arguments to pass to archive subjobs ufa_args$="-ce 1" # arcdtm$= date & time for document, # default=current date and time ufa_dtm$="" # arcsubtitle$=titles for subids ufa_subtitle$="" # arcsubdtm$=date & time for subids ufa_subdtm$="" } # Place a # in front of the archive line to turn off archiving if uf.arcenabled archive {ufa_libpath$},{ufa_doctype$},{ufa_docid$},subid {ufa_subid$},title {ufa_title$},notes {ufa_notes$},keywords {ufa_keywords$},categories {ufa_cats$},links {ufa_links$},args {ufa_args$},dtm {ufa_dtm$},subtitle {ufa_subtitle$},subdtm {ufa_subdtm$} endif # # Scanning barcode copy section # # Coding for this feature uses the following constants # which are preset in standard SDSI rule files/sets # Globals constants set at top of rule file # UFTRIM - trim value for get command (std, "Y") # DFONT - detail font (std, cgtimes,9) # locals constants set near top of rule set # MAXCOLS - max columns on document, eg. 80 # MAXROWS - max rows on document, eg. 66 # SCANNING_COPY- copy # barcodes should be placed, eg. 2 # # These constants must be added in rule file/set as needed # or inserted below # prepage { } prepage { # ufs_doctype$ MUST be upper case ufs_doctype$="STM" ufs_docdate$=get(69,7,8,"UFTRIM") ufs_yyyy$=dte(ufs_docdate$:"%Ys") ufs_mmm$=dte(ufs_docdate$:"%Ms") ufs_dd$=dte(ufs_docdate$:"%Dz") ufs_custid$=get(71,5,10,"UFTRIM") ufs_docid$=ufs_custid$+"-"+ufs_yyyy$+upper(ufs_mmm$)+ufs_dd$ # warning message text ufs_warnmsg$="Please do not write in this area." # increase rows to allow space for barcodes. # s/b at least 4 rows more than maximum # for enhanced page. ufs_maxrows=MAXROWS+4 # adjusted max form columns as needed ufs_maxcols=MAXCOLS # set flag for right-justified signature # line: 0=no, 1=yes ufs_sign=1 # set signature text, "" for no text ufs_text_sign$="Accepted By" } precopy { # if no archiving enabled then turn off scanning copy if copy=SCANNING_COPY and not(uf.arcenabled) then skip=1 # to turn off scanning copy, remove the # from next line # if copy=SCANNING_COPY then skip=1 # Specify copy to print barcodes ufs_copy=SCANNING_COPY } merge "Engine for scanning copy barcodes","DOC_ENGINE" [PO Purchase order/Returns] # # Archiving section # # Coding for this feature uses the following constants # which are preset in standard SDSI rule files/sets # Globals constants set at top of rule file # UFTRIM - trim value for get command (std, "Y") # # These constant(s) must be added in rule file/set as needed # or inserted below # # establish text-based docdate format for date conversion into segments # adjust this format to fit your document local UFA_DATEFMT="MM/DD/YY" prejob { day_format "UFA_DATEFMT" } prepage { # arclibpath$=name of library ufa_libpath$="SXE_Purchasing" # arcdoctype$=document type, default=rule set name ufa_doctype$="Purchase Order" if get(11,1,8,"UFTRIM")="RETURN M" then ufa_doctype$="Return" # arcdocid$=document id,eg invoice #, default=10 digit sequential number ufa_docid$=get(115,2,12,"UFTRIM") # arcsubid$=subid name, default=@unform ufa_subid$="" # arctitle$=document title, default=title command or derived from data ufa_docdate$=get(105,2,8,"UFTRIM") # recommend insuring date is valid if ufa_docdate$="" then ufa_docdate$=dte(0:"%Mz/%Dz/%Yz") ufa_vendid$="Id: "+get(11,3,12) ufa_vendname$=get(11,5,30,"UFTRIM") ufa_title$=ufa_docdate$+" "+ufa_vendid$+":"+ufa_vendname$ # arcnotes$=free form document notes ufa_notes$="" # arckeywords$=semi-colon delimited document identifiers, # default=derived from unique words in document ufa_keywords$="*;" # arccats$=semi-colon delimited sort keys(indexes), # categories can contain multiple segments separated by pipes (|) # info needed for categories ufa_soldtoname$=get(52,5,30,"UFTRIM") ufa_invtoname$=get(96,5,30,"UFTRIM") ufa_shiptoname$=get(11,10,30,"UFTRIM") ufa_yyyy$=dte(ufa_docdate$:"%Ys") ufa_mmm$=dte(ufa_docdate$:"%Ms") ufa_dd$=dte(ufa_docdate$:"%Dz") # 3 segment category:year then year-month then year-month-day ufa_yyyymmmdd$=ufa_yyyy$+"|"+ufa_yyyy$+" "+ufa_mmm$+"|"+ufa_yyyy$+" "+ufa_mmm$+" "+ufa_dd$ # 2 segment year category: year then year-month ufa_yyyymmm$=ufa_yyyy$+"|"+ufa_yyyy$+" "+ufa_mmm$ # now set categories ufa_cats$="Vendor|Id|"+ufa_vendid$+":"+ufa_vendname$+"|"+ufa_yyyymmm$+";" ufa_cats$+="Vendor|Name|"+ufa_vendname$+"|"+ufa_yyyymmm$+";" ufa_cats$+="VendShipTo|Id|"+ufa_vendid$+":"+ufa_vendname$+"|"+ufa_shiptoname$+"|"+ufa_yyyymmm$+";" ufa_cats$+="VendShipTo|Name|"+ufa_vendname$+"|"+ufa_shiptoname$+"|"+ufa_yyyymmm$+";" ufa_cats$+="VendSoldTo|Id|"+ufa_vendid$+":"+ufa_vendname$+"|"+ufa_shiptoname$+"|"+ufa_yyyymmm$+";" ufa_cats$+="VendSoldTo|Name|"+ufa_vendname$+"|"+ufa_shiptoname$+"|"+ufa_yyyymmm$+";" ufa_cats$+="VendInvoiceTo|Id|"+ufa_vendid$+":"+ufa_vendname$+"|"+ufa_shiptoname$+"|"+ufa_yyyymmm$+";" ufa_cats$+="VendInvoiceTo|Name|"+ufa_vendname$+"|"+ufa_shiptoname$+"|"+ufa_yyyymmm$+";" ufa_cats$+="by Month|"+ufa_yyyymmm$+";" ufa_cats$+="by Day|"+ufa_yyyymmmdd$+";" # arclinks$=links to other documents ufa_links$="" # arcargs$=UnForm command line arguments to pass to archive subjobs ufa_args$="-ce 1" # arcdtm$= date & time for document, # default=current date and time ufa_dtm$="" # arcsubtitle$=titles for subids ufa_subtitle$="" # arcsubdtm$=date & time for subids ufa_subdtm$="" } # Place a # in front of the archive line to turn off archiving if uf.arcenabled archive {ufa_libpath$},{ufa_doctype$},{ufa_docid$},subid {ufa_subid$},title {ufa_title$},notes {ufa_notes$},keywords {ufa_keywords$},categories {ufa_cats$},links {ufa_links$},args {ufa_args$},dtm {ufa_dtm$},subtitle {ufa_subtitle$},subdtm {ufa_subdtm$} endif # # Scanning barcode copy section # # Coding for this feature uses the following constants # which are preset in standard SDSI rule files/sets # Globals constants set at top of rule file # UFTRIM - trim value for get command (std, "Y") # DFONT - detail font (std, cgtimes,9) # locals constants set near top of rule set # MAXCOLS - max columns on document, eg. 80 # MAXROWS - max rows on document, eg. 66 # SCANNING_COPY- copy # barcodes should be placed, eg. 2 # # These constants must be added in rule file/set as needed # or inserted below # prepage { # ufs_doctype$ MUST be upper case ufs_doctype$="PO" if get(11,1,8,"UFTRIM")="RETURN M" then ufs_doctype$="RTN" ufs_docid$=get(115,2,12,"UFTRIM") # warning message text ufs_warnmsg$="Please do not write in this area." # increase rows to allow space for barcodes. # s/b at least 4 rows more than maximum # for enhanced page. ufs_maxrows=MAXROWS+6 # adjusted max form columns as needed ufs_maxcols=MAXCOLS # set flag for right-justified signature # line: 0=no, 1=yes ufs_sign=1 # set signature text, "" for no text ufs_text_sign$="Accepted By" } precopy { # if no archiving enabled then turn off scanning copy if copy=SCANNING_COPY and not(uf.arcenabled) then skip=1 # to turn off scanning copy, remove the # from next line # if copy=SCANNING_COPY then skip=1 # Specify copy to print barcodes ufs_copy=SCANNING_COPY } merge "Engine for scanning copy barcodes","DOC_ENGINE" [AP Check long stub] # # Archiving section # # Coding for this feature uses the following constants # which are preset in standard SDSI rule files/sets # Globals constants set at top of rule file # UFTRIM - trim value for get command (std, "Y") # # These constant(s) must be added in rule file/set as needed # or inserted below # # establish text-based docdate format for date conversion into segments # adjust this format to fit your document local UFA_DATEFMT="MM/DD/YY" prejob { day_format "UFA_DATEFMT" } prepage { # arclibpath$=name of library ufa_libpath$="SXE_Accounting" # arcdoctype$=document type, default=rule set name ufa_doctype$="A/P Check" # arcdocid$=document id,eg invoice #, default=10 digit sequential number ufa_docid$=get(72,2,12,"UFTRIM") # arcsubid$=subid name, default=@unform ufa_subid$="" # arctitle$=document title, default=title command or derived from data ufa_docdate$=get(27,51,8,"UFTRIM") ufa_vendid$="Id: "+get(13,2,12) ufa_vendname$=get(11,56,35,"UFTRIM") ufa_title$=ufa_docdate$+" "+ufa_vendid$+":"+ufa_vendname$ # arcnotes$=free form document notes ufa_notes$="" # arckeywords$=semi-colon delimited document identifiers, # default=derived from unique words in document ufa_keywords$="*;" # arccats$=semi-colon delimited sort keys(indexes), # categories can contain multiple segments separated by pipes (|) # info needed for categories ufa_yyyy$=dte(ufa_docdate$:"%Ys") ufa_mmm$=dte(ufa_docdate$:"%Ms") ufa_dd$=dte(ufa_docdate$:"%Dz") # 3 segment category:year then year-month then year-month-day ufa_yyyymmmdd$=ufa_yyyy$+"|"+ufa_yyyy$+" "+ufa_mmm$+"|"+ufa_yyyy$+" "+ufa_mmm$+" "+ufa_dd$ # 2 segment year category: year then year-month ufa_yyyymmm$=ufa_yyyy$+"|"+ufa_yyyy$+" "+ufa_mmm$ # now set categories ufa_cats$="Vendor|Id|"+ufa_vendid$+":"+ufa_vendname$+"|"+ufa_yyyy$+";" ufa_cats$+="Vendor|Name|"+ufa_vendname$+"|"+ufa_yyyy$+";" ufa_cats$+="by Year|"+ufa_yyyy$+";" # arclinks$=links to other documents ufa_links$="" # arcargs$=UnForm command line arguments to pass to archive subjobs ufa_args$="-ce 1" # arcdtm$= date & time for document, # default=current date and time ufa_dtm$="" # arcsubtitle$=titles for subids ufa_subtitle$="" # arcsubdtm$=date & time for subids ufa_subdtm$="" } # Place a # in front of the archive line to turn off archiving if uf.arcenabled archive {ufa_libpath$},{ufa_doctype$},{ufa_docid$},subid {ufa_subid$},title {ufa_title$},notes {ufa_notes$},keywords {ufa_keywords$},categories {ufa_cats$},links {ufa_links$},args {ufa_args$},dtm {ufa_dtm$},subtitle {ufa_subtitle$},subdtm {ufa_subdtm$} endif [AP Check short stub] dsn_sample "/u0/unform_test/houston/txt/Check.txt" # # Archiving section # # Coding for this feature uses the following constants # which are preset in standard SDSI rule files/sets # Globals constants set at top of rule file # UFTRIM - trim value for get command (std, "Y") # # These constant(s) must be added in rule file/set as needed # or inserted below # # establish text-based docdate format for date conversion into segments # adjust this format to fit your document local UFA_DATEFMT="MM/DD/YY" prejob { day_format "UFA_DATEFMT" } prepage { # arclibpath$=name of library ufa_libpath$="SXE_Accounting" # arcdoctype$=document type, default=rule set name ufa_doctype$="A/P Check" # arcdocid$=document id,eg invoice #, default=10 digit sequential number ufa_docid$=get(72,1,12,"UFTRIM") # arcsubid$=subid name, default=@unform ufa_subid$="" # arctitle$=document title, default=title command or derived from data ufa_docdate$=get(27,50,8,"UFTRIM") ufa_vendid$="Id: "+get(13,1,12) ufa_vendname$=get(11,55,35,"UFTRIM") ufa_title$=ufa_docdate$+" "+ufa_vendid$+":"+ufa_vendname$ # arcnotes$=free form document notes ufa_notes$="" # arckeywords$=semi-colon delimited document identifiers, # default=derived from unique words in document ufa_keywords$="*;" # arccats$=semi-colon delimited sort keys(indexes), # categories can contain multiple segments separated by pipes (|) # info needed for categories ufa_yyyy$=dte(ufa_docdate$:"%Ys") ufa_mmm$=dte(ufa_docdate$:"%Ms") ufa_dd$=dte(ufa_docdate$:"%Dz") # 3 segment category:year then year-month then year-month-day ufa_yyyymmmdd$=ufa_yyyy$+"|"+ufa_yyyy$+" "+ufa_mmm$+"|"+ufa_yyyy$+" "+ufa_mmm$+" "+ufa_dd$ # 2 segment year category: year then year-month ufa_yyyymmm$=ufa_yyyy$+"|"+ufa_yyyy$+" "+ufa_mmm$ # now set categories ufa_cats$="Vendor|Id|"+ufa_vendid$+":"+ufa_vendname$+"|"+ufa_yyyy$+";" ufa_cats$+="Vendor|Name|"+ufa_vendname$+"|"+ufa_yyyy$+";" ufa_cats$+="by Year|"+ufa_yyyy$+";" # arclinks$=links to other documents ufa_links$="" # arcargs$=UnForm command line arguments to pass to archive subjobs ufa_args$="-ce 1" # arcdtm$= date & time for document, # default=current date and time ufa_dtm$="" # arcsubtitle$=titles for subids ufa_subtitle$="" # arcsubdtm$=date & time for subids ufa_subdtm$="" } # Place a # in front of the archive line to turn off archiving if uf.arcenabled archive {ufa_libpath$},{ufa_doctype$},{ufa_docid$},subid {ufa_subid$},title {ufa_title$},notes {ufa_notes$},keywords {ufa_keywords$},categories {ufa_cats$},links {ufa_links$},args {ufa_args$},dtm {ufa_dtm$},subtitle {ufa_subtitle$},subdtm {ufa_subdtm$} endif