Solved

GI - Formula calculation result not included decimal number.

  • 29 August 2023
  • 2 replies
  • 62 views

Userlevel 2
Badge

Hi, I meet a problem when creating a GI, not sure why the result will not display decimal number result.

Here is the calculation.

=SUM(DateDiff('d',[POReceipt.UsrReceiptDate],[POOrder.ExpectedDate]))/(COUNT([POOrder.OrderNbr]))

 

The attached with the xml file.

icon

Best answer by sweta68 29 August 2023, 06:45

View original

2 replies

Userlevel 7
Badge +10

Hi @yansiongyu54,

I have reviewed your Generic inquiry formulae,

I suggest to use below formula for the  calculation.

=CDEC(MAX(DateDiff('d',[POOrder.OrderDate],[POOrder.ExpectedDate])))/(COUNT([POOrder.OrderNbr]))

Please note I have changed the field in Formulae as I don't have your custom field. so change it accordingly.

Let me know this will resolve your issue.

Regards,
Sweta

Userlevel 2
Badge

Hi @yansiongyu54,

I have reviewed your Generic inquiry formulae,

I suggest to use below formula for the  calculation.

=CDEC(MAX(DateDiff('d',[POOrder.OrderDate],[POOrder.ExpectedDate])))/(COUNT([POOrder.OrderNbr]))

Let me know this will resolve your issue.

Regards,
Sweta

Hi, thank you for your reply, it is solved,



 

Reply


About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2024  Acumatica, Inc. All rights reserved