Using SQL to do much more than update a field such as ITEM CLASS is a bad
idea. I have had customers try it and regret it. It is hard to fully
understand what a programmer has set up under the covers and will not get
executed by coming in the back door.
Sent from my Verizon Wireless Phone
Richard (Dick) Stover
Guide Technologies
215-499-8530
-----Original message-----
From: Tom E Stieger <testieger@xxxxxxxxxxxx>
To: MAPICS ERP System Discussion <mapics-l@xxxxxxxxxxxx>
Sent: Mon, Feb 6, 2012 20:17:00 GMT+00:00
Subject: Re: [MAPICS-L] LTPUR not recalculated after changing ITEMBL with
SQL
I've run into a similar problem with updating files via SQL. The Online
Knowledge base suggested running a XA reorg which would recalculate the
field in question (NOOPS in the FACMST file). For our specific case it
didn't work because it was not updated to recalculate that field in an
EPDM environment. I ended up just calculating the field myself and
updating it through SQL as well.
All the warnings and caveats per Kevin Fox's reply pertain as well.
-Tom Stieger
IT Manager
California Fine Wire
-----Original Message-----
From: mapics-l-bounces@xxxxxxxxxxxx
[mailto:mapics-l-bounces@xxxxxxxxxxxx] On Behalf Of Bryan Burns
Sent: Monday, February 06, 2012 6:02 AM
To: mapics-l@xxxxxxxxxxxx
Subject: [MAPICS-L] LTPUR not recalculated after changing ITEMBL with
SQL
In an XA5.5 test environment, I updated LTVEN and LTSAF using SQL; but
LTPUR has not been re-calculated for those items I updated.
I went into ITEMBL file maintenace on a record and I was able to get it
re-calculated that way.
Two questions:
1. This was my first accomplishment using SQL to do an update and I'd
like to know if I did any damage, and what other file/fields can be
damaged with even the most careful use of SQL?
2. How can I automagically get the LTPUR recalculated for about 130
records?
_______________________________________________
This is the MAPICS ERP System Discussion (MAPICS-L) mailing list To post
a message email: MAPICS-L@xxxxxxxxxxxx To subscribe, unsubscribe, or
change list options,
visit:
http://lists.midrange.com/mailman/listinfo/mapics-l
or email: MAPICS-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/mapics-l.
_______________________________________________
This is the MAPICS ERP System Discussion (MAPICS-L) mailing list
To post a message email: MAPICS-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/mapics-l
or email: MAPICS-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
http://archive.midrange.com/mapics-l.
As an Amazon Associate we earn from qualifying purchases.