cam32.app

Provides programatic “automation” of CAM32 applications.

There is a limit to what can be done with this, of course. Basically we’re limited to launching new instances of CAM32 via the command line, and passing a sort of “sub-program” parameter which informs CAM32 of the module we wish to run.

Most of this module consists of convenience functions, which merely call cam32.app.launch() with predefined parameters. They would hardly even be necessary since a call to launch() is so simple, except for the fact that CAM32’s command line parameters are quite cryptic and difficult to remember. :)

You’re welcome to call cam32.app.launch() yourself; all you must pass to it is the command line to be sent to the CAM32.EXE program executable, NOT including the path to executable itself. See the function’s documentation for more info.

Functions

cam32.app.launch(*args)

Launch CAM32.EXE with parameters.

Note

Whatever you pass here will be sent directly along as arguments to the command line for CAM32.EXE. There is no need to send the executable path, as that will be provided for you. No checking is done to verify anything at all about the parameters you provide.

Commands found in CAM32’s “Automated Task Commands” program are good candidates for this function; just remember to “replace {...} with appropriate data” like CAM32 tells you to, and don’t include the executable path itself.

cam32.app.print_display_files()

Launches “Print/Display Saved Files.” This is normally accessed via:

System Utilities -> Print/Display Files
cam32.app.import_ar()

Launches “Import A/R Transactions.” This is normally accessed via:

System Utilities -> Special Utilities Menu -> Special Programs

...then entering LVNAT_MENU, then:

Import A/R

Note

It’s possible that this program is not installed (or even allowed?) unless you have the Living Naturally interface which provides Loyalty Genius integration. Questions regarding this should be directed to CAM32 Technical Support.

cam32.app.purchase_order_importer(store_number=None)

Launches “Purchase Order Importer.” This is normally accessed via:

System Utilities -> Special Utilities Menu -> Special Programs Menu -> Purchase Orders

The store_number for which the purchase order(s) will be imported may be provided; by default it will be read from the pycam32.ini file.

cam32.app.price_change_utility()

Launches “Price Change Utility.” This is normally accessed via:

Inventory Control -> Price Change Utility
cam32.app.print_labels()

Launches “Print Labels For Selected Items.” This is normally accessed via:

Purchasing and Receiving -> Print Item Labels Menu -> Print Labels for Selected Items
cam32.app.import_data_files()

Launches “Import Data Files.” This is normally accessed via:

System Utilities -> Import ASCII Data Files -> Import ASCII Data Files
cam32.app.import_scancodes()

Launches Scancode Importer. This is normally accessed via:

System Utilities -> Special Utilities -> SCANCODE_IMPORT
cam32.app.price_change_importer()

Launches “Price Change Importer.” This is normally accessed via:

System Utilities -> Special Utilities Menu -> Special Programs Menu -> Price Change Files
cam32.app.purge_sales_log(days_to_keep)

Launches the “Purge Sales Log” automated task command.

You must provide a number of days for which data will be kept; i.e. not purged.

Warning

I hope it goes without saying, but BE CAREFUL with this one! :)

Table Of Contents

Previous topic

cam32

Next topic

cam32.ascii

This Page