3.4. Order Manager
Some things that are needed for the order manager:
- Add these fields to transactions:
affiliate approx. char(32)
archived char(1)
campaign approx. char(32)
comments blob/text
complete char(1)
deleted char(1)
order_wday char(10)
order_ymd char(8)
po_number approx. char(32)
- Add these fields to transactions:
affiliate approx. char(32)
campaign approx. char(32)
- Remove this field from userdb:
mv_credit_card_info
- Add these fields to userdb:
inactive char(1)
credit_limit char(14) or decimal(12,2)
dealer char(3)
- Create the directory 'logs'.
- Create the directory 'orders' if it doesn't already exist.
- Update your order routes to those in the Interchange distribution. Note that the route log_entry is necessary if you want to enter orders from the Interchange UI.
- Update the etc/log_transaction file.
- Add the etc/log_entry file.
- Add this to catalog.cfg:
## Don't want people setting their credit_limit directly
UserDB default scratch "credit_limit dealer"