PASS THE FOLLOWING DATA OUT OF THE MOD PRICING ROUTINE (for creation of "MOD" configuration records or calculating a price to be returned to the web results/recalc price). Note: Anything not in this list s/b in COMMON Variables (NAMED.PARAMS). A back-end program (ie, Get MOD Info Wrapper Pgm for Results area or Program that creates quote/config, etc) will call the MOD Pricing pgm … it will never be called directly from the web.
Data s/b passed via an array from the program argument list, since the MOD pricing program will only be called from another basic program. Therefore, the MOD pricing program does not need to return anything in RETURN.VALUE. The calling program will be the one that interfaces directly with the web and will pass info back via return.value.
Any program calling the MOD Pricing Pgm will get its info from the array returned in the argument list (outlined below).
- Pricing Unit of Measure ('M' for bags, furn, perforated sheets. 'RL' for continuous sheeting and tubing)
- Quote Adj Pct
- Preferred Resin Price?
- Mfg Facility (Set to Sterling, Texas, Iowa, Reno, Atlanta based on whs#)
- Warehouse Nbr
- Exclude LLDPE?
- Operation Table Name
- Minimum Lbs
- Yield per 1000 Bags
- Minimum Nbr of Bags (or Rolls)
- Case/Roll Weight
- Roll LengthxGauge
- Box Table Name
- Cubic Inches
- Full Gauge? If SHOP.FULLGAUGE = 1 THEN PASS 'Y'
- Nbr of Cases or Rolls
- Order Total Pounds
- Film Only?
- Operation#1 (Primary Work Center)
- Operation#2 (Alternate Work Center)
- Premix?
- Resin Table Row Nbr
- Resin Type (Heat Profile)
- Feet Per Roll/Case
- Final Lbs per Hour-Operation#1
- Final Lbs per Hour-Operation#2
- Final Cycles per Minute-Operation#1
- Final Cycles per Minute-Operation#2
- Final Feet per Minute-Operation#1
- Final Feet per Minute-Operation#2
- Operation Rate[Lbs/Hour]
- Operation Time Reqd[Hrs/M]
- Color Indicator (should be "NONE" or a color from list)
- Color Concentrate % Reqd
- Color Concentrate Item Nbr
- Color Concentrate $/LB
- Color Concentrate Lbs
- Box1 Item Nbr
- Box1 Total Qty Reqd
- Box2 Item Nbr
- Box2 Total Qty Reqd
- Box Core Item Nbr
- Box Core Qty
- Box Core Plug Item Nbr
- Box Core Plug Qty
- Package Weight
- Low Weight (10%) Tolerance
- Low Weight (4%) Tolerance
- Target Wgt
- High Weight (10%) Tolerance
- High Weight (4%) Tolerance
- BOR Add'l Pkg Wgt
- Hexene Pct Reqd (Note: all resin % s/b after all reductions are applied)
- Hexene Item Nbr
- Hexene $/LB
- Hexene Lbs
- Octene Pct Reqd
- Octene Item Nbr
- Octene $/LB
- Octene Lbs
- Liner Pct Reqd
- Liner Item Nbr
- Liner $/LB
- Liner Lbs
- Repro Pct Reqd
- Repro Item Nbr
- Repro $/LB
- Repro Lbs
- AmineFree Pink Pct Reqd
- AmineFree Pink Item Nbr
- AmineFree Pink $/LB
- AmineFree Pink Lbs
- AntiStat Pct Reqd
- AntiStat Item Nbr
- AntiStat $/LB
- AntiStat Lbs
- Slip Pct Reqd
- Slip Item Nbr
- Slip $/LB
- Slip Lbs
- Clarity Pct Reqd
- Clarity Item Nbr
- Clarity $/LB
- Clarity Lbs
- Bareback Pct Reqd
- Bareback Item Nbr
- Bareback $/LB
- Bareback Lbs
- Bareback LowDenPct Reqd
- Bareback LowDen Item Nbr
- Bareback LowDen $/LB
- Bareback LowDen Lbs
- Anti-Block Pct Reqd
- Anti-Block Item Nbr
- Anti-Block $/LB
- Anti-Block Lbs
- VCI Clear Pct Reqd
- VCI Clear Item Nbr
- VCI Clear $/LB
- VCI Clear Lbs
- VCI Blue Pct Reqd
- VCI Blue Item Nbr
- VCI Blue $/LB
- VCI Blue Lbs
- Slipblock Pct Reqd
- Slipblock Item Nbr
- Slipblock $/LB
- Slipblock Lbs
- Metallocene Pct Reqd: from SHOP.METALPCT but must be returned as MD3 (ie .150)
- Metallocene Item Nbr
- Metallocene $/LB
- Metallocene Lbs
- UVI/UVA Pct Reqd: from SHOP.UVIPCT but must be returned as MD3 (.025)
- UVI/UVA Item Nbr
- UVI/UVA $/LB
- UVI/UVA Lbs
- Print Ink Item Nbr
- Print Ink Qty
- Quote Qty Non-Material Discount%
- Work Center Backlog Days
- Non-Material $/LB
- Total Non-Material $$
- Total Material $$
- Color Upcharge $$
- Price Class Upcharge $$
- Full Gauge Upcharge $$
- Order Wgt w/Pkg and Skids
- Order Wgt w/Pkg
- Nbr of Pallets
- Total Shipping $$
- Venting Upcharge $$
- Folded Bag Upcharge $$
- Quote Unit Price (MD4)
- Poly Lining Upcharge $$
- BOR Boxing Upcharge $$
- Total Misc $$
- Quote Adjustment $/LB
- Printing Upcharge $$
- Total Extended Price
- Std Break1 Quantity
- Std Break1 Non-Material Disc%
- Std Break1 Total Price
- Std Break1 Unit Price
- Std Break2 Quantity
- Std Break2 Non-Material Disc%
- Std Breal2 Total Price
- Std Break2 Unit Price
- Std Break3 Quantity
- Std Break3 Non-Material Disc%
- Std Break3 Total Price
- Std Break3 Unit Price
- Custom Break1 Quantity
- Custom Break1 Non-Material Disc%
- Custom Break1 Total Price
- Custom Break1 Unit Price
- Custom Break2 Quantity
- Custom Break2 Non-Material Disc%
- Custom Break2 Total Price
- Custom Break2 Unit Price
- Custom Break3 Quantity
- Custom Break3 Non-Material Disc%
- Custom Break3 Total Price
- Custom Break3 Unit Price
- Easy Open? IF ANTIBLOCK=Y, SET THIS TO Y
- True Gauge
- Print Area – calculate and pass:
- If Printed and (Width-Depth = 0 OR Width-Depth > 9.00): "Center"
- If Printed and Width-Depth > 0 < 9.00: "Gusset"
- Bags on a Roll
- If Index(SHOP.PKG,"Roll",1) then pass back "Y"
- Packaging Uom:
- If 'Bags on a Roll' = Y, pass "RL" else pass "CS"
- Construction: BOTTOMSEAL or SIDEWELD
- Bubble Size
- Cradlepacked? Set to Y if INDEX on SHOP.PKG has 'Cradle' in it
- Folded Width:
- Bags: If fold bag in half=Y, Width / 2, else Null
- Furn Bags: If fold bag in half=Y, Length / 2, else Null
- All other items: Null
- Packaging Options: Set to what is after the comma in SHOP.PKG (ie, Poly Lined, Boxed, Cradlepacked. Could also be null if selected Cases (without poly lining).
- Catalog Code Description: from CATALOG.CD.USR<1> using PROD.TYPE
- NEPB Customer? If price class (CUSTMST<12>) # "01" then set this to "Y"
- Low Width Tolerance – see MOD Pricing functional spec #25 (in purple)
- Target Width Tolerance – pass Width+Depth
- High Width Tolerance – see MOD Pricing functional spec #26 (in purple)
- Low Length Tolerance – see MOD Pricing functional spec #27 (in purple)
- High Length Tolerance – see MOD Pricing functional spec #28 (in purple)
- Bag Size Delimiter for item description: Pass 'x' (lower case)
- Marketplace? – pass "Y" if this is a marketplace zip top quote If SHOP.RULESET=201,205 or 207 THEN PASS 'Y'
- Import? – pass "Y" if this is a marketplace import quote (pass null if marketplace domestic quote)
- Hang Hole? – pass "Y" if hang hole category was selected for this marketplace order (SHOP.RULESET=207)
- Ziptop Unit Cost – pass marketplace unit cost (MD3)
- Ziptop Zipper Price – pass marketplace zipper price (MD3)
- Ziptop Hang Hole Price – pass marketplace hang hole price (MD3)
- IF SHOP.ANTIBLOCK=1 THEN PASS 'Y'
- SLEEVES? IF SHOP.RULESET=303 OR 304 THEN PASS 'Y'
- IF SHOP.PRINTED=1 THEN PASS 'Y'
- IF SHOP.UVI=1 THEN PASS 'Y'
- IF SHOP.METALLOCENE=1 THEN PASS 'Y'
- IF SHOP.HIGHSLIP=1 THEN PASS 'Y'
- IF SHOP.VENTED=1 THEN PASS 'Y'
- If SHOP.MTO=1 THEN PASS 'Y' ELSE PASS 'N' *** I NEED SOMETHING IN THIS FIELD