AugForums.com

An Acumatica User Group

  • Free
    • Start Here
    • In-Person Gatherings
    • Power BI Workshop
    • Podcast
    • Rolodex
    • Blog
    • Forums
  • Paid
    • AugSQL
    • GI Course
    • GI Library
    • Consulting
  • Register

— The Forums are now read-only —

— All new activity now takes place here: —

AugForums.com Discord Server
Forums
AUG Forums
Everything Else
Quote Custom field ...
 
Notifications
Clear all

Questions Quote Custom field drop down - needs default value

 
Everything Else
Last Post by Tim Rodman 6 years ago
2 Posts
2 Users
0 Reactions
3,086 Views
RSS
Aaron Thomas, CPA, CITP, CISA, CISM, CRISC, CCSFP
Posts: 5
 Aaron Thomas, CPA, CITP, CISA,...
Topic starter
January 23, 2020 8:12 pm
(@aaron-thomas-cpa-citp-cisa-cism-crisc-csf)
Member
Joined: 7 years ago
I created a custom field for the quote line item.  Basically the list consists of a Yes or No value.  I would like the field to default to always be Yes, so I added the last line of code.  Every time I enter a new line on the quote I get the following error "Error: Unhandled exception has occurred, your changes have been rolled back: Error: An error occurred during processing of the field UsrRecurring: Specified cast is not valid..

 

".  

 
Thoughts?
 
[PXDBInt]
[PXIntList(new int[] {0, 1}, new string[] {"YES", "NO"})]
[PXUIField(DisplayName="Recurring")]
[PXDefault(false, PersistingCheck = PXPersistingCheck.Nothing)]

Topic Tags
quote custom field default value
1 Reply
Tim Rodman
Posts: 3204
 Tim Rodman
Admin
February 8, 2020 8:13 pm
(@timrodman)
Famed Member
Joined: 11 years ago

Hey Aaron,

You might want to try StackOverflow for this one:

https://stackoverflow.com/questions/tagged/acumatica


Reply
Forum Jump:
  Previous Topic
Next Topic  
Related Topics
  • New fields in quote option don't save its value
    3 years ago
Topic Tags:  quote (2) , custom field (2) , default value (1) ,
Forum Information
Recent Posts
Unread Posts
Tags
  • 12 Forums
  • 2,533 Topics
  • 11 K Posts
  • 71 Online
  • 2,438 Members
Our newest member: Ralph Torres
Latest Post: Nested SubReport Issue
Forum Icons: Forum contains no unread posts Forum contains unread posts
Topic Icons: Not Replied Replied Active Hot Sticky Unapproved Solved Private Closed

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

Acumatica Forums

Terms of Use & Disclaimers :: Privacy Policy

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

‹›×

    ‹›×