Skip to main content
Solved

Formatting Date within Generic Inquiry


ralph86
Freshman II

I am currently trying to make a PositivePay compliant output from a Generic Inquiry. I am attempting to remove all comma, dash, decimal, and non-numeric characters from all numeric fields. So I would like date to be 010924 as an example. I see that my question has been answered here: 

 

However when I apply the below code to the Style field of APPayment.DocDate it has 0 effect on the output. I notice this solution was posted a year ago and I wonder if there has been some sort of update between then and now which has changed the approach?

=Concat(IIf(Month([APPayment.DocDate]) < 10, '0'+CStr(Month([APPayment.DocDate])), CStr(Month([APPayment.DocDate]))) + IIf(Day([APPayment.DocDate]) < 10, '0'+CStr(Day([APPayment.DocDate])), CStr(Day([APPayment.DocDate]))) + Substring(CStr(Year([APPayment.DocDate])),3,2) )

 

Best answer by ralph86

This was resolved. The correct field to apply the above formula is the data field not style. My mistake!

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

2 replies

ralph86
Freshman II
  • Author
  • Freshman II
  • 2 replies
  • Answer
  • January 11, 2024

This was resolved. The correct field to apply the above formula is the data field not style. My mistake!


Chris Hackett
Community Manager
Forum|alt.badge.img
  • Acumatica Community Manager
  • 2751 replies
  • January 11, 2024

Thank you for sharing your solution with the community @ralph86!


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