Skip to main content
Answer

Kit specification information on report designer

  • October 6, 2022
  • 8 replies
  • 366 views

Forum|alt.badge.img

Hi All,

I am trying to retrieve kit components from a kit item into acumatica report.

I can only print 1 component out of 2. 

Can someone please help me with printing components of a kit?

the code I used was :

=IIf([INKitSpecStkDet.CompInventoryID]<>NULL,[INKitSpecStkDet.CompInventoryID],'')

Best answer by BenjaminCrisman

@atuljainajm I am just using the two tables, INKitSpecHdr and INKitSpecStkDet:

 

8 replies

BenjaminCrisman
Acumatica Employee
Forum|alt.badge.img+4
  • Acumatica Support Team
  • October 6, 2022

Hi @atuljainajm ! This table displays all the components for me, but I would make sure you aren’t putting it into a grouping section.

I joined INKitSpecHdr to INKitSpecStkDet and it shows one iteration of the kit for each revision unless I condition to specify a revision.

Can you share some screenshots of the issue you are seeing?


Forum|alt.badge.img
  • Author
  • Freshman I
  • October 6, 2022

Thanks @BenjaminCrisman .

Please see below:

JE178882 has two components.

below the first JE08352TK is coming from kits spec which has 2 items, it doesn’t display the second item. ‘Number 2’ below unit price is the number of lines on the kit. I did that to check existing lines.=Count([INKitSpecStkDet.LineNbr])

 

 


BenjaminCrisman
Acumatica Employee
Forum|alt.badge.img+4
  • Acumatica Support Team
  • Answer
  • October 6, 2022

@atuljainajm I am just using the two tables, INKitSpecHdr and INKitSpecStkDet:

 


Forum|alt.badge.img
  • Author
  • Freshman I
  • October 6, 2022

Thanks @BenjaminCrisman 

Can you please provide me the join information as well?

Thank you


BenjaminCrisman
Acumatica Employee
Forum|alt.badge.img+4
  • Acumatica Support Team
  • October 6, 2022

@atuljainajm The join is on KitInventoryID = KitInventoryID and RevisionID = RevisionID


Forum|alt.badge.img
  • Author
  • Freshman I
  • October 7, 2022

@BenjaminCrisman It worked. Thank you.

Can you please help me with another query?

I am trying to get a field from cross reference tab shown below:

JE08352 is a component of JE17882, I can only pull alternate ID field of JE17882 not JE08352.

Is there a way i can pull the field of JE08352

Thanks

 

 


Forum|alt.badge.img
  • Author
  • Freshman I
  • October 12, 2022

@BenjaminCrisman Can you please help with the question mentioned above?

Thank you.


BenjaminCrisman
Acumatica Employee
Forum|alt.badge.img+4
  • Acumatica Support Team
  • October 13, 2022

@atuljainajm I you would need to join INItemXRef to the INKitSpecStkDet to get the alternateID for the component item. If you join to the header INKitSpecHdr table it will only link to the kit item, not the components.

Does this help for your query?