I have a system which requires me to export packing slips in an unusual way. Each shipment is a row, with the last "x" number of columns representing the packages (or line items) in the packing slip. For example, if I am shipping three items, I will have columns for job number, address, csz and then three additional columns, one for each item.
I may have two items or I may have 20 items.
Currently, I control this by adding and removing fields from the export database so that each item gets its own column. The actual data is the number of items going to each location.
This works great if I am the one creating each shipment, but I would like to be able to take a vacation.
How do I script either the creation (or deletion) or fields, or, alternatively, script the creation of columns in the excel export?
Thanks for any help!
Jason Tempestini