AugForums.com

An Acumatica User Group

  • Free
    • Start Here
    • Rolodex
    • Podcast
    • Blog
    • Forums
  • Paid
    • AugSQL
    • GI Course
    • GI Library
    • Consulting
  • Register
Acumatica Forums

By using this website, you agree to our Terms of Use (click here)

Forums
AUG Forums
Everything Else
Using the descripti...
 
Notifications
Clear all

Questions Using the description text field in a report or inquiry,

 
Everything Else
Last Post by Tim Rodman 7 years ago
3 Posts
2 Users
0 Reactions
2,317 Views
RSS
Dgodsill
Posts: 11
 Dgodsill
Topic starter
October 19, 2018 9:23 am
(@dgodsill)
Eminent Member
Joined: 5 years ago

For example the description tab on stock items or CRM opportunities allow you to format data but it stores the HTML formatting in the text making it unusable on a report or GI.  Acuamatica dev says it is not possible.  https://feedback.acumatica.com/ideas/ACU-I-920

There must be some way to get this data by creating a SQL query and then creating a DAC or whatever.

 


2 Replies
Dgodsill
Posts: 11
 Dgodsill
Topic starter
October 23, 2018 8:00 am
(@dgodsill)
Eminent Member
Joined: 5 years ago

This is from Acumatica L2 support

I just found better workaround for you.

You can customizae the CROpportunity by adding the calculated field that works similar to CRCase.DescriptionAsPlainText which is defined as follow:

 

#region DescriptionAsPlainText
        public abstract class descriptionAsPlainText : IBqlField { }

        private string _plainText;
        [PXString(IsUnicode = true)]
        [PXUIField(Visible = false)]
        [PXDependsOnFields(typeof(description))]
        public virtual String DescriptionAsPlainText
        {
            get
            {
                return _plainText ?? (_plainText = PX.Data.Search.SearchService.Html2PlainText(this.Description));
            }
        }
        #endregion


Reply
Tim Rodman
Posts: 3193
 Tim Rodman
Admin
October 25, 2018 8:29 pm
(@timrodman)
Famed Member
Joined: 10 years ago

Cool! Thanks for sharing! I could see this technique being useful in a number of places.

FYI, I'm in JAMS M200 training this week. Finally found my way into the Manufacturing modules. It's been a fun couple of days. And John Pavain is in the class. So your name came up. It's such a small world.


Reply
Forum Jump:
  Previous Topic
Next Topic  
Forum Information
Recent Posts
Unread Posts
Tags
  • 12 Forums
  • 2,526 Topics
  • 10.9 K Posts
  • 53 Online
  • 2,327 Members
Our newest member: Sheryl Dole
Latest Post: Pick List report suddenly not splitting on Shipment
Forum Icons: Forum contains no unread posts Forum contains unread posts
Topic Icons: Not Replied Replied Active Hot Sticky Unapproved Solved Private Closed

Online Members

 No online members at the moment

Acumatica Forums

Terms of Use & Disclaimers :: Privacy Policy

Copyright © 2025 · AUG Forums, LLC. All rights reserved. This website is not owned, affiliated with, or endorsed by Acumatica, Inc.

‹›×

    ‹›×