[ic] O-oh: IC newbie customizing inventory control

Dan Browning interchange-users@icdevgroup.org
Thu Aug 8 12:06:00 2002


At 11:13 AM 8/8/2002 +0100, you wrote:
>Hello group,
>
>At our company we are trying to customize the inventory control of
>interchange to fit our needs. (More background info is in the end of this
>post).
>
>I'm customizing order_status.html. This allows button 'Ship checked order
>lines, send email to customer if appropriate' to nicely log the amounts being
>shipped. I would like the buttons 'Update status of line N' to do the same,
>but where can I find the code that handles the update?
>
>Viewing the page source shows the following HTML for the button:
><INPUT TYPE=submit VALUE="Update status of line 1">
>
>The FORM tag says
><FORM METHOD=POST
>ACTION="http://localhost.localdomain/cgi-bin/store/ui.html....">
>
>Page ui.html does not exist anywhere on my machine, how do I find out which
>page Interchange loads instead? (The same goes for process.html)?
>
>Regards,
>Marc Brevoort

In the same page you're reading, you'll see a place where etc/ship_notice 
is included.  The code isn't documented, but its rather easy to understand 
(if you have some perl background).  You should be able to call the same 
code from the other button as well.

+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Dan Browning, Kavod Technologies <db@kavod.com>
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Common sense is instinct, and enough of it is genius.
                 -- Josh Billings