Login
Register
Search
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Forums
Financial Management
Lawson S3 Financials
AP Check Comment Tables
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
Saef
Past 24 Hours:
0
Prev. 24 Hours:
0
Overall:
5226
People Online:
Visitors:
351
Members:
0
Total:
351
Online Now:
New Topics
S3 Systems Administration
ADFS certificate - new cert
12/3/2024 9:38 PM
The certificates on the windows boxes expired and
Lawson S3 HR/Payroll/Benefits
Post Tax Benefit Plan Table
11/14/2024 9:16 PM
Hi, totally new to Laswon. I have a repor
Lawson S3 Procurement
ED501 Error: Map 850 not supported by /law/c15vda/lawson/test10/edi/bin/laws_out_91
11/12/2024 3:47 PM
Tried runnning ED501 and getting the atathced erro
Lawson S3 HR/Payroll/Benefits
Error
11/6/2024 9:54 PM
When I try to enroll a retiree in 72.1 health plan
Infor ERP (Syteline)
Syteline: New Data Maintenance Wizard (Error) Need help
11/1/2024 4:24 PM
Hi, I need help with an error on syteline while us
Dealing with Lawson / Infor
Implementing Lawson v10 with Cerner Surginet, Case Cart Picking, and Quick Adds for the OR
10/29/2024 4:20 PM
Hi Everyone, I am wondering if there is any org
Lawson S3 HR/Payroll/Benefits
Canada Tax Calculation (Federal and Provincial) Issue
10/23/2024 5:00 AM
Initially, we had problem with CPP2 calculation is
Lawson S3 HR/Payroll/Benefits
CA Section 125 401k Plan
10/22/2024 10:13 PM
Does anyone have any recommendations on how to fac
S3 Systems Administration
Running AC120 deleted records from ACMASTER table
10/22/2024 3:40 PM
We recently ran the AC120 as normal and somehow it
Lawson S3 Procurement
RQ13 Approval Info
10/17/2024 2:12 PM
When a Requisition is approved on RQ13, what table
Top Forum Posters
Name
Points
Greg Moeller
4184
David Williams
3349
JonA
3291
Kat V
2984
Woozy
1973
Jimmy Chiu
1883
Kwane McNeal
1437
Ragu Raghavan
1372
Roger French
1315
mark.cook
1244
Forums
Filtered Topics
Unanswered
Unresolved
Announcements
Active Topics
Most Liked
Most Replies
Search Forums
Search
Advanced Search
Topics
Posts
Prev
Next
Forums
Financial Management
Lawson S3 Financials
AP Check Comment Tables
Please
login
to post a reply.
8 Replies
1
Subscribed to this topic
43 Subscribed to this forum
Sort:
Oldest First
Most Recent First
Author
Messages
Casy
Advanced Member
Posts: 31
12/31/2019 6:38 PM
I am working to query the check comments using SQL. I have located the comment tables L_D*** or L_H*** but am not able to locate the actual check comments. They are not located in any of the obvious L_HAP* or L_HCB* tables. Has anyone located them or found a way to decipher these L_ tables to know which apply to what part of the system? Some are obvious, others not so much. Thank you!
Kwane McNeal
Veteran Member
Posts: 479
12/31/2019 7:55 PM
First the table names themselves: L_tppp
Where t=Type: H for header, D for detail; ppp=Parent Table Prefix
(NOTE: L_ means ‘link’. These tables used to also hold email and URL links)
Now for what you’re looking for, are you sure it’s not in an actual table like APCOMMENTS?
Kwane
Casy
Advanced Member
Posts: 31
12/31/2019 8:22 PM
I did confirm they are not in the APCOMMENTS table. I initially thought they were in the API for AP Invoice but it isn't actual invoice comments. These comments are on the payment. The main table I am using to pull that data is APPAYMENT but not finding an L_ table to relate to the payments. I even went as far as to select the first 1000 rows from each table so am wondering if my eyes were crossed by the time I got to it or if it is somewhere else.
Kwane McNeal
Veteran Member
Posts: 479
12/31/2019 10:08 PM
I’m not on a system at the moment, but I’d check the COBOL (or RPG, if IBMi), and see what it’s updating.
I’ll check a system later if no one has replied and you haven’t figured it out.
Casy
Advanced Member
Posts: 31
1/2/2020 6:23 PM
Thank you for that recommendation to check the COBOL. I did some review and the comments are keyed on CB80 when the checks are voided there. I reviewed the CB80 code and it looks to be writing the comments to CBT. I then queried L_HCBT. The comments in this table are not the comments I need. When I review the CBCHECK table to find the L_INDEX value, it is blank on the examples I have with comments I need to find. The only other L_INDEX value I have found is on the APINVOICE table but it is not pulling back any comments in the L_HCBT table. I should note that I also queried L_DCBT and there were a total of 4 rows and I think that is just for overflow comments anyway so may not be pertinent.
If the comments aren't in L_HCBT, could it be that a flag to store them is not turned on??
John Henley
Posts: 3353
1/2/2020 6:48 PM
The comments are entered and associated with the invoice, not the check (in other words, they are (technically) invoice comments to print on the check. They are linked from APINVOICE to L_HAPI/L_DAPI. You need to use L_ATAPI_SS_SW = 'Y' as part of your WHERE clause on APINVOICE to get the subset of invoice records that has attachments, and then JOIN to L_HAPI using L_INDEX from APINVOICE, and to L_DAPI for overflow if needed. If you need more info on how comments and attachments are stored and retrieved, see this link
https://www.lawsonguru.co...ts-in-Lawson-v8.aspx
John Henley
Posts: 3353
1/2/2020 6:58 PM
Casy, sorry I typed this up before I saw your subsequent message about these being entered when voiding. In that case, the base records are in CBTRANS (CBT) and you use L_ATCBT_SS_SW = 'Y' and the L_INDEX from CBTRANS (NOT APINVOICE) to join to L_HCBT/L_DCBT.
Kwane McNeal
Veteran Member
Posts: 479
1/2/2020 7:41 PM
Thanks John, I missed that voiding part too.
Casy
Advanced Member
Posts: 31
1/2/2020 8:38 PM
I had already queried the L_HCBT and didn't find the comments, only the Title until I realized that the object field contained a good bit more information (including the comment detail). I reviewed the document and was able to track this down to get the query I need written. Thank you both so much for your help!
Please
login
to post a reply.