Skip to main content
Solved

Customizations not exporting in Astea Alliance reports

  • December 24, 2021
  • 3 replies
  • 81 views

Forum|alt.badge.img+2
  • Do Gooder (Customer)
  • 8 replies

I have created some customized fields.  They are based on a “list” so predefined options for the user.  When I goto export the field in the export module, the exported value is just 1 or 2, not the text.  Can someone advise why that would be or how do I get the text?

Best answer by Phil Seifert

So, to confirm you have a drop down list defined as a customized field in say the service order module.  The agent makes a selection and this selection is saved with the order (thus in the database).

Now when you try to EXPORT the service order, the data exported does not contain the value linked to the key of the drop down list but only the key itself.

What you suggest would give you your data in the export if the string value for the ID is not exported.  I might use a short code instead of the whole string just so you can recognize it but still keep the output reasonable sane.

Or you could create a module to manage the list itself and then define the custom field as a computed column looking up from the custom table containing the list.  That value would then be saved to the database and exported is how I think.

 

View original
Did this topic help you find an answer to your question?

3 replies

Phil Seifert
Ultimate Hero (Employee)
Forum|alt.badge.img+23
  • Ultimate Hero (Employee)
  • 1296 replies
  • December 24, 2021

What do you mean by it is a list? Where is the list stored, within the customized field itself or did you create a custom module to manage a list?  What seems to be exported based on your description are the keys to the lookup.

If it is a custom module, you can’t export the data stored in the database which is used for the lookup is my thinking.


Forum|alt.badge.img+2
  • Author
  • Do Gooder (Customer)
  • 8 replies
  • December 24, 2021

Thanks for the reply Phil.  I set the field up as “Drop down values” as that was the only way I could see getting a multiple choice response without the risk of user misspelling.  

 

What I want exported is the data in the field which has been completed.  I have worked out that the export shows the line number of which has been selected.  So I wonder if I made the key the data too, would that fix the issue for me?


Phil Seifert
Ultimate Hero (Employee)
Forum|alt.badge.img+23
  • Ultimate Hero (Employee)
  • 1296 replies
  • Answer
  • December 24, 2021

So, to confirm you have a drop down list defined as a customized field in say the service order module.  The agent makes a selection and this selection is saved with the order (thus in the database).

Now when you try to EXPORT the service order, the data exported does not contain the value linked to the key of the drop down list but only the key itself.

What you suggest would give you your data in the export if the string value for the ID is not exported.  I might use a short code instead of the whole string just so you can recognize it but still keep the output reasonable sane.

Or you could create a module to manage the list itself and then define the custom field as a computed column looking up from the custom table containing the list.  That value would then be saved to the database and exported is how I think.

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings