Skip to main content
Solved

How to connect Tasks with Sales Order table for GI

  • Oct 28, 2022 2:37 PM UTC
  • 4 replies
  • 357 views
  • Translate All

michaelho
Semi-Pro III
Forum|alt.badge.img+1

I’m trying to create a GI that includes task data (type, status, summary, start date, due date, etc.) along with information from the related entity; in this case, related sales orders (order total, customer ID, etc.). Anyone have any suggestions how to go about connecting these two tables? I tried to “Add Related Table” but the SOOrder table wasn’t an option:

 

Best answer by wfilipiak67

@mikeho , We have tied from an Invoice  to the Activity table using the NoteId to RefNoteID. 
The same with the AR Payment to Activity. 

 

 

View original

4 replies

BenjaminCrisman
Acumatica Employee
Forum|alt.badge.img+4

Hi @mikeho! The Activity data will be linked to the person who created it, so you’ll need to link CRActivity to Contact table first so you can get activities related to the person.

Is this for task details appearing on the grid of the sales order? If so then you’ll probably need to go SOOrder to SOLine to PMTask or PMTimeActivity, something like this maybe.

Can you show which details you’re looking to link to? I’m a visual kind of person and so I can accidentally branch into unnecessary rabbit holes in my head if I don’t know specifics 😂

Translate

michaelho
Semi-Pro III
Forum|alt.badge.img+1
  • Author
  • Semi-Pro III
  • Oct 28, 2022 3:44 PM UTC

Hi @BenjaminCrisman! Currently I’m just working with the CRActivity table:

 

 

To this I’m looking to add the CustomerID and the CuryOrderTotal from the corresponding sales order.

Translate

wfilipiak67
Captain II
Forum|alt.badge.img+3
  • Captain II
  • Answer
  • Oct 28, 2022 7:16 PM UTC

@mikeho , We have tied from an Invoice  to the Activity table using the NoteId to RefNoteID. 
The same with the AR Payment to Activity. 

 

 

Translate

michaelho
Semi-Pro III
Forum|alt.badge.img+1
  • Author
  • Semi-Pro III
  • Oct 28, 2022 10:45 PM UTC

Thanks for the suggestion, @wfilipiak67! I tried this and it seems to have worked:

 

Translate