- How to determine Sheeting, Tubing, Sleeves, Furniture Bag, Marketplace:
- Furniture Bag - SHOP.RULESET=105
- Continuous Sheeting – Singlewound: SHOP.RULESET=401
- Continuous Sheeting – Centerfold: SHOP.RULESET=402
- Continuous Sheeting – Gusseted: SHOP.RULESET=403
- Perforated Sheets – Singlewound: SHOP.RULESET=407
- Perforated Sheets – Centerfold: SHOP.RULESET=408
- Perforated Sheets – Gusseted: SHOP.RULESET=409
- Tubing – Layflat: SHOP.RULESET=301
- Tubing – Gusseted: SHOP.RULESET=302
- Sleeves – Layflat: SHOP.RULESET=303
- Sleeves – Gusseted: SHOP.RULESET=304
- Marketplace (Zip tops): SHOP.RULESETS 201 (Ziptop), 205 (ZT Static Control) and 207 (ZT w/Hang Holes)
- Bottomseal vs Sideweld, Sideweld Nbr Up, and Bubblesize: Call WEB.BSEAL.SWELD - first set all arguments to null. This program returns:
- BS.OR.SW will be set to "BS" if job will be produced Bottomseal or "SW" if job will be produced Sideweld
- SW.NBR.UP - If a sideweld job, this will return 1 or 2 (will run 1up or 2up)
- BUBBLE.SIZE - bubblesize
- True Gauge - Jobs are run Nominal Gauge unless 'Full Gauge' is selected on the shop widget. Nominal Gauge is less than the entered gauge. To determine the True Gauge based on the Nominal Guage entered and the Full Gauge Flag setting:
- TRUE.GAUGE = FCT.TRUE.GAUGE()
- Color Job - To determine if this is a color job:
- If SHOP.COLOR # 'Clear' and SHOP.MATERIAL # 'VCI': This is a color job
- If SHOP.MATERIAL='VCI' and SHOP.COLOR # 'Std Blue VCI' and SHOP.COLOR # 'Clear': This is a color job
- The quote quantity variable is REQUESTED.QTY (doesn't have the SHOP. prefix). All other shop widget fields are prefixed with SHOP. (see SYSCON NAMED.PARAMS.LAD for list of shop variables)
- Cases vs Rolls: Check SHOP.PKG to see if cases or rolls by doing an INDEX looking for 'Cases' or 'Rolls'. The following is the list of possibilities:
- Cases
- Cases, Poly Lined
- Rolls, Boxed
- Rolls, Cradlepacked
- Bags Folded in Half - if SHOP.FOLDED is true, then bags will be folded in half. Logic for FOLDED.WIDTH:
- If SHOP.FOLDED then FOLDED.WIDTH = SHOP.WIDTH / 2 (use SHOP.LENGTH for FURN)
- If NOT(SHOP.FOLDED) then use SHOP.WIDTH (use SHOP.LENGTH for FURN)
- To call a table for info:
- RTN.VAL = ''
- TABLE.NAME = the name of the table you want to find info from
- COLUMN.NAME = can be a multi-valued list of all columns in the table that you want data returned from
- SEARCH.VAL = What the program should search for (ie, bubblesize, zip code, etc)
- CALL WEB.TABLE.LOOKUP(TABLE.NAME,COLUMN.NAME,SEARCH.VAL,RTN.VAL)
- RTN.VAL will return a multi-valued list of data from each column specified in COLUMN.NAME