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
Acumatica Generic I...
Vendor Performance ...
 
Notifications
Clear all

Questions Vendor Performance - Difference Between Two Dates

 
Acumatica Generic Inquiries & Pivot Tables
Last Post by nickheuer 9 years ago
5 Posts
2 Users
1 Reactions
4,689 Views
RSS
nickheuer
Posts: 36
 nickheuer
Topic starter
September 29, 2017 1:29 pm
(@nickheuer)
Trusted Member
Joined: 6 years ago

Trying to get a GI that shows the difference in days from the Promise date on a POline to the actual receipt date on the POReceiptLine. Tried this formula DateDiff( 'd', [POLine.PromisedDate], [POReceiptLine.ReceiptDate] ) but it returns an error that d is not a field. My guess is that the issue is because the formula has 2 different tables in it and that is why it is not working. Any thoughts on how to get this data?


4 Replies
Tim Rodman
Posts: 3204
 Tim Rodman
Admin
September 29, 2017 2:18 pm
(@timrodman)
Famed Member
Joined: 11 years ago

Hi nheuer,

It works for me:

I'm using Acumatica Build 6.10.0472.

Maybe it's a problem with your Relations tab? This is what I used:


Reply
nickheuer
 nickheuer
(@nickheuer)
Joined: 6 years ago

Trusted Member
Posts: 36
September 29, 2017 2:50 pm
Reply toTim RodmanTim Rodman

Working now I hade the parent table as PO Line and the child as POReceiptLine after switching it worked. Thanks for the assist


Reply
Tim Rodman
Posts: 3204
 Tim Rodman
Admin
September 29, 2017 3:34 pm
(@timrodman)
Famed Member
Joined: 11 years ago

Just curious, I wouldn't think that the Parent/Child tables would matter unless you were doing a Left join. Were you doing a Left join?


Reply
nickheuer
 nickheuer
(@nickheuer)
Joined: 6 years ago

Trusted Member
Posts: 36
September 29, 2017 4:21 pm
Reply toTim RodmanTim Rodman

I thought the same thing but I just checked and it works either way, I must have had a different field in the relation section, might have hade pONbr in the parent table instead of OrderNbr.


Reply
Tim Rodman reacted
Forum Jump:
  Previous Topic
Next Topic  
Forum Information
Recent Posts
Unread Posts
Tags
  • 12 Forums
  • 2,533 Topics
  • 11 K Posts
  • 74 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.

‹›×

    ‹›×