The only reason the weights are in cgi form is that there are item types that have many different weights. The type "PRNT" (Printers) is a good example, this type has 20lb deskjets to 200lb plotters. Someone else handles what items go in what item type, that's out of my hands. Although, I have...
Ok, I'll give these a try. When I export the data from MAS90 it's seperated by spaces only. So the first part of the script which I didn't post just sorts the data into a tab delited txt file (inventory_file.txt). Then I sift the new tab delimited file to get the item to use for retreiving the...
When it gets exported, it's a text file that looks like:
Item # Description Qty Price Type
0284T Dell Power Supply 2.00 125.00 PWR
02K0849 IBM 3151 Terminal Keyboard 0.00 60.00 KYBD
02K0860 IBM Black Keyboard 1.00 20.00 KYBD
02K3453 IBM...
Ya tell me about it. Here's the thing, and yes I know how stupid it sounds.
1) They have a database that uses MAS90 for their inventory, but nobody knows how to export the data from it to an excel or csv file. I've tried many things but the limitation is that they don't want me having the...
It's not that I'm not convinced, just trying to think it all the way through and find the best solution. The _DATA_ solution might work for what I'm doing, but not completely sure. The reason being, there is more to the script than just...
if ( $itemType eq "PC" ) {
$itemWeight = "50";
}...
In a nutshell, they will open a script (edit_weights.cgi) that will edit the example script above (get_weights.cgi) and it was save changes to a temp file (edit_weights.cgi.bak) and then once they are done editing, it will rename (edit_weights.cgi.bak) to (edit_weights.cgi) replacing the...
Hey all,
Just wanted to ask a question that's been burning in my head for some time now. Here's an example of a script that I want to modify.
$itemType = "PC";
sub get_item_weight
{
$itemWeight = "";
if ( $itemType eq "PC" ) {
$itemWeight = "50";
}
elsif ( $itemType eq "CPU" ) {...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.