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
Acumatica Generic I...
GI to Excel Format
 
Notifications
Clear all

Questions GI to Excel Format

 
Acumatica Generic Inquiries & Pivot Tables
Last Post by Taylan 8 years ago
8 Posts
2 Users
2 Reactions
5,533 Views
RSS
Taylan
Posts: 66
 Taylan
Topic starter
February 16, 2018 12:54 pm
(@taylan)
Estimable Member
Joined: 8 years ago

Do you know why some columns have the "General" format when exported from a GI to Excel, and whether there is a way to change the formatting?

 

When they come out as "General", they cannot be added up. Changing formatting to Number or Currency does not help either. The only way I found is to multiply cells by 1, so that they will be converted to numbers.

I even tried converting the resulting number to CDbl in the GI, as in 

=CDbl (IIf([ARAdjust.AdjdDocType]='INV' or [ARAdjust.AdjdDocType]='DRM',1,-1) * [ARAdjust.CuryAdjgAmt])

 

Thank you.


7 Replies
Tim Rodman
Posts: 3195
 Tim Rodman
Admin
February 17, 2018 2:46 pm
(@timrodman)
Famed Member
Joined: 10 years ago

It looks like your field is a formula. When you do a formula, the formula doesn't control the data type.

What actually controls the data type is the Schema Field column. It doesn't matter what field you select, just make sure to select any field that is a numeric field like this:

Two additional thoughts on exporting to Excel from a Generic Inquiry:

1. Personally, I don't like the extra stuff that gets included above the table. I would like to see it added to a new sheet. If you think so too, you can vote on this:
https://feedback.acumatica.com/ideas/ACU-I-1435

2. If you really want better control, then I would start in Excel and connect back to the Generic Inquiry using OData. Then you can set whatever formatting you want in Excel and it will "stick" during the refresh.


Reply
nsmith reacted
Taylan
Posts: 66
 Taylan
Topic starter
February 17, 2018 10:37 pm
(@taylan)
Estimable Member
Joined: 8 years ago

Thank you Tim. It works as expected now.

 

1 - I have voted for the idea. I think, as an alternative to keeping that information on a different sheet, it can be placed on header of the same sheet. It has pros and cons, but would keep it cleaner.

2 - I will give it a try.

 

Thanks again.


Reply
Taylan
Posts: 66
 Taylan
Topic starter
February 20, 2018 10:55 am
(@taylan)
Estimable Member
Joined: 8 years ago

For some reason it does not work with the invoice reference numbers. It still does not recognize them as numbers, hence, I have to multiply them by 1 in Excel.


Reply
Tim Rodman
Posts: 3195
 Tim Rodman
Admin
February 20, 2018 2:05 pm
(@timrodman)
Famed Member
Joined: 10 years ago

What if you try a combination of using CInt in the formula and also setting the Schema Field value?


Reply
Taylan
Posts: 66
 Taylan
Topic starter
February 23, 2018 8:01 am
(@taylan)
Estimable Member
Joined: 8 years ago

I have tried it, but it does not work, because, it removes all the leading zeros, hence 000002 becomes 2, which creates another problem if we need to do a VLOOKUP in Excel. In addition, Excel still does not recognize it as a number.


Reply
Tim Rodman
Posts: 3195
 Tim Rodman
Admin
February 23, 2018 10:04 pm
(@timrodman)
Famed Member
Joined: 10 years ago

Hmmm, weird. Have you considered using OData and pulling from Excel? That would definitely give you more control over formatting.


Reply
Taylan
Posts: 66
 Taylan
Topic starter
February 24, 2018 5:28 pm
(@taylan)
Estimable Member
Joined: 8 years ago

I have not tried that yet. Luckily, it is not a report we use everyday. I will wait until test it with 2017 R2, if it still fails, then I will give it a try.

Thank you.


Reply
Tim Rodman reacted
Forum Jump:
  Previous Topic
Next Topic  
Forum Information
Recent Posts
Unread Posts
Tags
  • 12 Forums
  • 2,526 Topics
  • 10.9 K Posts
  • 20 Online
  • 2,411 Members
Our newest member: thollings
Latest Post: Generic inquiry with information from Audit history(CT301000)
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.

‹›×

    ‹›×