home *** CD-ROM | disk | FTP | other *** search
Wrap
^title Example purchase order form provided with JetForm Filler ^page 1 SEVA LANDSCAPING PURCHASE REQUEST [DBPATH ] [TO ] Vendor Code Vendor Name [ ] [VENDOR_CODE ] [VENDNAME ] [ ] [ ] [ ] Date Req Number Standard Vendor Terms [CC ] [ ] [DATE ] [REQ_NUMBER] [VENDTERM ] [ ] [ ] [0] [ ] Vendor Bill To [JF02 ] [SUBJECT ] [VENDADDR1 ] Marketing [VENDADDR2 ] [JF01 ] [VENDADDR3 ] Sales [VENDADDR4 ] Administration [VENDADDR5 ] Other Charge Code [JF06 ] [JF03 ] [JF05 ] Part Qty Description Ord Unit Total Price No. Unit Price [PARTNO ][QTY ][PARTNAME ][UNITS][PRICE ][LINETOTAL ] [PARTNO ][QTY ][PARTNAME ][UNITS][PRICE ][LINETOTAL ] [PARTNO ][QTY ][PARTNAME ][UNITS][PRICE ][LINETOTAL ] [PARTNO ][QTY ][PARTNAME ][UNITS][PRICE ][LINETOTAL ] [PARTNO ][QTY ][PARTNAME ][UNITS][PRICE ][LINETOTAL ] [PARTNO ][QTY ][PARTNAME ][UNITS][PRICE ][LINETOTAL ] [PARTNO ][QTY ][PARTNAME ][UNITS][PRICE ][LINETOTAL ] Employee Id [00 ] Page Total [POTOTAL ] Discount % [DISCOUNT ] Employee's Signature Discount Total [DISCTOTAL ] [SIGNATURE ] State Tax [SALESTAX ] Manager's Signature [MAN_SIG ] FINAL TOTAL [GRANDTOTAL ] Comments/explanations [JF07 ] [ ] [ ] ^end ^field DBPATH ^noecho ^calculation Rtrim(Substr(GetProfile("OpenDataFile","Paths"), 1, (Len(GetProfile("OpenDataFile","Paths")) -5))) ^field TO ^noecho ^field VENDOR_CODE ^warning ^validation SetValue("","VendName", "VendTerm", "VendAddr1", "VendAddr2", "VendAddr3", "VendAddr4", "VendAddr5") if(DbFetch(Concat(DBPATH,"\","EX_E_11.DBF"),"VENDNO",1)<>"1",return("0")) SetValue(DbField(1,"VendName"), "VendName") SetValue(DbField(1,"VendTerm" ), "VendTerm") SetValue(DbField(1,"VendAddr1"), "VendAddr1") SetValue(DbField(1,"VendAddr2"), "VendAddr2") SetValue(DbField(1,"VendAddr3"), "VendAddr3") SetValue(DbField(1,"VendAddr4"), "VendAddr4") SetValue(DbField(1,"VendAddr5"), "VendAddr5") ^message Invalid Vendor Code To see list of valid vendor names, press F3 ^field VENDNAME ^field CC ^noecho ^field DATE ^warning ^calculation today() ^default ^field REQ_NUMBER ^warning ^justify center ^field VENDTERM ^warning ^justify center ^field SEND_INDEX 0 ^numeric ^noecho ^calculation 1 ^default ^field SUBJECT ^noecho ^field VENDADDR1 ^field JF01 ^radio 38 Check here if billing should be to marketing department ^field VENDADDR2 ^field JF02 ^radio 38 Check here if billing should be to sales department ^field VENDADDR3 ^field JF03 ^radio 38 Check here if billing should be to admin department ^field VENDADDR4 ^field JF05 ^radio 38 Check here if billing should be to some department other than marketing, sales, or admin. ^field VENDADDR5 ^field JF06 ^calculation If(JF01 = "X", "65000", If(JF02 = "X", "66000", If(JF03 = "X", "67000", "99999"))) ^field PARTNO ^validation SetValue("","PartName","Units","Price") if (DbFetch(Concat(DBPATH,"\","EX_E_12.DBF"),"PARTNO",2)<>"1", return("0")) SetValue(DbField(2,"PartName"), "PartName") SetValue(DbField(2,"Units"), "Units") SetValue(DbField(2,"Price"), "Price") return("1") ^message Invalid part number To see list of valid part numbers, press F3 ^field QTY ^numeric ^justify right ^picture Z,ZZ9 ^field PARTNAME ^protected ^field UNITS ^protected ^field PRICE ^protected ^justify right ^field LINETOTAL ^numeric ^justify right ^picture $zzz,zzz.zz ^calculation QTY*PRICE ^field PARTNO ^validation SetValue("","PartName","Units","Price") if (DbFetch(Concat(DBPATH,"\","EX_E_12.DBF"),"PARTNO",2)<>"1", return("0")) SetValue(DbField(2,"PartName"), "PartName") SetValue(DbField(2,"Units"), "Units") SetValue(DbField(2,"Price"), "Price") return("1") ^message Invalid part number To see list of valid part numbers, press F3 ^field QTY ^numeric ^justify right ^picture Z,ZZ9 ^field PARTNAME ^protected ^field UNITS ^protected ^field PRICE ^protected ^justify right ^field LINETOTAL ^numeric ^justify right ^picture $zzz,zzz.zz ^calculation QTY*PRICE ^field PARTNO ^validation SetValue("","PartName","Units","Price") if (DbFetch(Concat(DBPATH,"\","EX_E_12.DBF"),"PARTNO",2)<>"1", return("0")) SetValue(DbField(2,"PartName"), "PartName") SetValue(DbField(2,"Units"), "Units") SetValue(DbField(2,"Price"), "Price") return("1") ^message Invalid part number To see list of valid part numbers, press F3 ^field QTY ^numeric ^justify right ^picture Z,ZZ9 ^field PARTNAME ^protected ^field UNITS ^protected ^field PRICE ^protected ^justify right ^field LINETOTAL ^numeric ^justify right ^picture $zzz,zzz.zz ^calculation QTY*PRICE ^field PARTNO ^validation SetValue("","PartName","Units","Price") if (DbFetch(Concat(DBPATH,"\","EX_E_12.DBF"),"PARTNO",2)<>"1", return("0")) SetValue(DbField(2,"PartName"), "PartName") SetValue(DbField(2,"Units"), "Units") SetValue(DbField(2,"Price"), "Price") return("1") ^message Invalid part number To see list of valid part numbers, press F3 ^field QTY ^numeric ^justify right ^picture Z,ZZ9 ^field PARTNAME ^protected ^field UNITS ^protected ^field PRICE ^protected ^justify right ^field LINETOTAL ^numeric ^justify right ^picture $zzz,zzz.zz ^calculation QTY*PRICE ^field PARTNO ^validation SetValue("","PartName","Units","Price") if (DbFetch(Concat(DBPATH,"\","EX_E_12.DBF"),"PARTNO",2)<>"1", return("0")) SetValue(DbField(2,"PartName"), "PartName") SetValue(DbField(2,"Units"), "Units") SetValue(DbField(2,"Price"), "Price") return("1") ^message Invalid part number To see list of valid part numbers, press F3 ^field QTY ^numeric ^justify right ^picture Z,ZZ9 ^field PARTNAME ^protected ^field UNITS ^protected ^field PRICE ^protected ^justify right ^field LINETOTAL ^numeric ^justify right ^picture $zzz,zzz.zz ^calculation QTY*PRICE ^field PARTNO ^validation SetValue("","PartName","Units","Price") if (DbFetch(Concat(DBPATH,"\","EX_E_12.DBF"),"PARTNO",2)<>"1", return("0")) SetValue(DbField(2,"PartName"), "PartName") SetValue(DbField(2,"Units"), "Units") SetValue(DbField(2,"Price"), "Price") return("1") ^message Invalid part number To see list of valid part numbers, press F3 ^field QTY ^numeric ^justify right ^picture Z,ZZ9 ^field PARTNAME ^protected ^field UNITS ^protected ^field PRICE ^protected ^justify right ^field LINETOTAL ^numeric ^justify right ^picture $zzz,zzz.zz ^calculation QTY*PRICE ^field PARTNO ^validation SetValue("","PartName","Units","Price") if (DbFetch(Concat(DBPATH,"\","EX_E_12.DBF"),"PARTNO",2)<>"1", return("0")) SetValue(DbField(2,"PartName"), "PartName") SetValue(DbField(2,"Units"), "Units") SetValue(DbField(2,"Price"), "Price") return("1") ^message Invalid part number To see list of valid part numbers, press F3 ^field QTY ^numeric ^justify right ^picture Z,ZZ9 ^field PARTNAME ^protected ^field LINETOTAL ^numeric ^justify right ^picture $zzz,zzz.zz ^calculation QTY*PRICE ^field UNITS ^protected ^field PRICE ^protected ^justify right ^field POTOTAL ^numeric ^justify right ^picture $zzz,zzz.zz ^calculation Sum(LINETOTAL) ^field DISCOUNT ^numeric ^justify right ^picture z9.99 ^validation $<50 ^valiOverride ^message discount must be < 50% discount percentage must be less than 50% ^field DISCTOTAL ^numeric ^justify right ^picture $zzz,zzz.zz ^calculation POTOTAL*DISCOUNT/100 ^field SALESTAX ^numeric ^justify right ^picture $zzz,zzz.zz ^calculation (POTOTAL-DISCTOTAL)*0.08 ^override ^field GRANDTOTAL ^numeric ^justify right ^picture $zzz,zzz.zz ^calculation POTOTAL-DISCTOTAL+SALESTAX ^field EMPID 00 ^numeric ^mandatory ^validation Oneof(Substr($, 1, 1), "1", "2", "3") ^message Invalid employee ID - Must start with 1, 2 or 3 Enter your 4 digit employee ID which must start with 1, 2, or 3. ^field SIGNATURE ^warning ^signature ^calculation LockFields(2,"DISCOUNT","PARTNO","PO_NUMBER","QTY","VENDOR_CODE") Hit the space bar to get to the signature dialog, then enter your signature password. If you have forgotten your password, contact Sys-Admin at 555-1213. ^field MAN_SIG ^signature ^calculation LockFields(2,"SIGNATURE") Hit the space bar to get the signature dialog, then enter your signature password. ^field JF07