Post Reply 
 
Thread Rating:
  • 1 Votes - 1 Average
  • 1
  • 2
  • 3
  • 4
  • 5
is stockmaster.netweight an obsolete field?
07-09-2013, 12:48 PM
Post: #1
is stockmaster.netweight an obsolete field?
Hi all:

I'm working on the DoFreightCalc function and digging into the code discovered that stockmaster has 2 weight related fields: kgs and netweight.

kgs is used in several scripts and netweight seems a zombi field.

it was added to stockmaster in 3.10 to 3.11 upgrade script
changed to nw in 3.11 to 4.00 upgrade script
still used in the demo and new sql script.

Used only in CopyBOM.php and Z_ChangeStockCode scripts.

Is it really used for anything? Should we get rid of it?

Regards,
Pak Ricard
Find all posts by this user
Quote this message in a reply
07-09-2013, 02:53 PM
Post: #2
RE: is stockmaster.netweight an obsolete field?
Yes I think it was added unnecessarily - I thought I changed it from nw to netweight at one point. But never checked where it was used.

Phil Daintree
webERP Admin
Logic Works Ltd
http://www.logicworks.co.nz
Visit this user's website Find all posts by this user
Quote this message in a reply
07-09-2013, 06:49 PM
Post: #3
RE: is stockmaster.netweight an obsolete field?
it would make sense to have that field in items: total weight (including packaging, etc, important for shippoing) versus the real world weight of the item.
I just shipped my bicycle in a manufacturer box and the box carried a gross weight and a net weight.

It would be one of the fields which I would call 'informative' - not used for BOM etc., but a good place to look the info up when needed.

Klaus
Find all posts by this user
Quote this message in a reply
07-09-2013, 07:46 PM
Post: #4
RE: is stockmaster.netweight an obsolete field?
Hi all: Klaus is right, IMO.

So, the current kgs can be renamed to grossweight (as it is used in shipment queries), and we can keep the netweight.

Then netweight should be maintained at some point.

Regards,
Pak Ricard
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)