                      Ship Calculation module

Program included:  ssship.exe (Strong Software ship calculation program)
                   modified soposd.scx/sct sales order form

There are no modification made to the ACCPAC programs with one minor 
  exception. The sales order form: soposd requires a command button that 
  is visible only when a Ship Type line item is entered. If you have existing
  modifications to this form, please contact us as to how to place this 
  button on the form.  Otherwise, you may use the form included with this
  package.  

Overview:
  When entering a ship type line item, a "Calculate" command button will 
  appear on the order entry screen.  Clicking on this button, brings up 
  a form displaying the total weight computed from the weight field in 
  e inventory file.  You may enter a value from a chart, add a flat
  amount or add a percentage.

  Computing UPS rate is an optional feature. 
  
TRIAL vs LIVE MODE:
  The trial program runs in Pro Series for Company 99 (no install code 
  needed).
  
  For Live mode, you will need and activation code to enter into the 
  Rules table. Please supply Company Name (shown in Change System
  Information) for each company you wish to install.
  Once you have received the install code, enter it into the Pro Rules
  table:  Go to the Rules section of System Manager  
  Enter Rule SS_INST
  In the message line enter the 4 digit install code:
    example: 1234

 
INSTALL Ship Calculation module:
  Create a subdirectory off of the Pro system directory, name it 
  "Ship".  Copy all supplied files and programs into the Ship directory
  Copy the ssship.exe file into the Pro system directory. 

  The order entry detail screen, soposd.vcx/vct, needs to be updated
  to display the "Calculate Shipping Charge" button when a ship type 
  line item is entered. See "To set the Calculating Shipping Charge.. "
  at the end of this readme file for instructions on creating this 
  button through Customization Manager.
  
Setting default values:  
  We use the price and cost fields from the inventory file as the default 
  values. These values may be overwritten in the Rules table so that
  you will have different defaults for entering with the calc module or
  without.

 Note: All these following rules are optional.

To enter the default price go to the Rules section of System Manager  
  Enter Rule SS_PRICE
  In the message line enter the value:
    example: 25.00
  For Cost, Rule is SS_COST
    Enter cost in message line. Example:18.25
  To determine price by adding fixed amount to cost, Rule is SS_ADD
    Enter add amount in message line. Example: 9.25
  To determine price by adding a percentage to cost, Rule is SS_PERCT
    Enter percent in message line. Example: 8.25

 Operational Modes:
  There are two modes for entering the price and cost values.
  Default is to set the cost either from inventory default (avg cost), Rules 
  table, or manually, then add a fixed or a percentage to get the price.
  You may click the radio button to calculate the cost separately. In 
  this case, the Cost is on the 2nd line and the Price is on the 1st line.
  
 Safety features:
  If there are line items on the order that do not have a weight from the
    inventory file, our program will indicate that on the screen.
  If there is already a ship type item on the order, we indicate this 
    and do not allow you to proceed with the Calc program. But of course,
    you may enter values from the ACCPAC order entry.
  If the 'base' price has a value but the final price is 0, we prompt for
    a calculation (by pressing Add or Percent).
  


TO set the "Calculate Shipping Charge" button on form through Customization
Manager:

In Customization Manager, Subclass the soposd file in SO.  In the Sub Class
Page enter:
Seq #: 10
Name: SHIP2
Description: Calculate Shipping Charge
Class Library: SHIP2
Class Library Path: Ship

Edit the form by placing a new Command button anywhere on the form.
Paste the following into it's Init procedure

*- step (1) Command1.Init
*******************
this.caption="Calculate Shipping Charge"
this.FontBold= .t.
this.FontSize = 11
this.color =RGB(128,64,0)
this.height = 51
this.left = 180
this.top = 34
this.visible = .f.
this.width = 216
*******************

Paste the following into it's Click procedure:
*- step(2) Command1.Click
********************
do ssship
********************

Click on the TXTSOTRAN_ITEM textbox (first field on the screen)
and select the LostFocus method. Paste the following into
it's LostFocus procedure:
*-step (3) txtSotran_item.LostFocus
********************
= DODEFAULT()
if ! empty(this.value)
  ll_trace = .t.
  ThisForm.cmdShip.visible = l_shiptyp()
endif
*****************




    Thanks for using our products!

    Dwight Strong
    Strong Software
    433 Town Center#637
    Corte Madera, CA 94925
    415-927-3163

    www.strongsoftware.com
      
 
