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
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
2,573 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: 6 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: 3193
 Tim Rodman
Admin
February 8, 2020 8:13 pm
(@timrodman)
Famed Member
Joined: 10 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
    2 years ago
Topic Tags:  quote (2) , custom field (2) , default value (1) ,
Forum Information
Recent Posts
Unread Posts
Tags
  • 12 Forums
  • 2,526 Topics
  • 10.9 K Posts
  • 38 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.

‹›×

    ‹›×