By using this website, you agree to our Terms of Use (click here)
Notifications
Clear all
Everything Else
2
Posts
2
Users
0
Reactions
2,573
Views
January 23, 2020 8:12 pm
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")]
[PXIntList(new int[] {0, 1}, new string[] {"YES", "NO"})]
[PXUIField(DisplayName="Recurring")]
[PXDefault(false, PersistingCheck = PXPersistingCheck.Nothing)]
1 Reply
February 8, 2020 8:13 pm
Hey Aaron,
You might want to try StackOverflow for this one:
https://stackoverflow.com/questions/tagged/acumatica