I am writing a crystal report about order history. I cannot find where the line and order header comments are stored. I used OECMTHST but the comments only went up to 2002 for me.
For open orders, both the line and header comments are in OELINCMT_SQL. The two are distinguished by the field cmt_type and this is an "L" for line comments and an "H" for header comments.
After the invoice is posted, these records move to the OECMTHST_SQL table with essentially the same table structure.
Software Sales, Training, Implementation and Support for Macola, eSynergy, and Crystal Reports
I only have "I"(I assume invoice type comments) and "L" type showing and they only go up to 2002. If I go into recent order history I see the header comments and line comments. Why would they not be in that file and what can I do about it?
We have Starship - would this affect anything? They write to header comments - that is why I mention it.
Does anyone know why I would not be able to see any comments past 2002? I viewed the comments in order number order and the highest order numbers were from 2002. When I view order history I can see comments in recent orders.
You said earlier that you can go into recent order history see the header comments and line comments. If it's order history, it's reading the OECMTHST_SQL table. If they are open orders, it's reading the OELINCMT_SQL table. In either case, for the recent order history you see in Macola with comments, you should be able to browse the table and see the same information externally.
It looks like you are missing a batch of comments inbetween.
I think I found out what my issue is. I was linking to order number but it looks like I should link to real_ord_no. I think ord_no may represent invoice number - because our invoice numbers are running about what the order numbers were in 2002. That explains why I was seeing the info in Macola and not in the table.
You're correct. The ord_no in the OECMTHST_SQL table represents the invoice number though it's formatted as a character field vs. numeric as the invoice number usually is. The real_ord_no field is the original order number.
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.