infor.com
concierge
infor u
developer portal
Home
Groups
Lawson - Technology Customer Community [READ ONLY]
PO20 comments
unknown
what table are the comments stored in when adding a comment to the line item detail? Thank you.
Find more posts tagged with
Infor Lawson Technology Group - Discussion
Comments
Jim Norbut
if you have access to SQL Mgmt Studio....here's a trick.
Asuming your looking for POLINE here.
so navigate to POLINE in the sql management studio application and click on the plus sign next to POLINE
then click on Indexes.
NOTICE that in front of the index sets is a 3 character code
in this case PLI (this is the prefix you need to know)
you can also get this from either dbdoc if you have access to lid and lookup how to use the dbdoc command
or if you have access to the Lawson Data File Text documentation from the support site...you can also look up a prefix for a table there by system code (in this case Purchase Order)
now....having said all that.
you then need to look at the L_ tables in sql
so find L_HPLI
then you'll need to take find the records your interested in POLINE
and match them up to the associated records in L_PHI by the L_INDEX field
SOMETHING LIKE THIS will at least give you a general idea of a starting point :
select TOP 500 COMPANY,
PO_NUMBER,
PO_RELEASE,
PO_CODE,
LINE_NBR,
POLINE.L_INDEX,
ATCHNBR,
NAME,
TYPE,
[OBJECT] FROM ls_apps.POLINE
join
ls_apps.L_HPLI ON
POLINE.L_INDEX = L_HPLI.L_INDEX
ORDER BY L_INDEX
the OBJECT field is what you will care about....and have to parse out the needed information.
unknown
Be aware that if the Comment/Attachment is > 512 bytes, you will also need to look at the L_DPLI record as well (1024 bytes). Multiple records will be created for > one L_DPLI record - Seq 00, 01, etc.
com_2010feb_proactive.pdf
Quick Links
All Categories
Recent Posts
Activity
Unanswered
Groups
Help
Popular Tags
Infor Lawson Human Resources Group - Discussion
Infor Lawson Technology Group - Discussion
General Discussions
VISUAL - Enterprise General Discussions
Infor Lawson Supply Chain Management - Discussion
Process Automation (IPA) - General Discussions
Pegasus - Partner General Discussions
Infor Lawson Supply Chain Group - Discussion
Infor Lawson Financials Group - Discussion
Infor EPM Discussions