Solved

Custom Kit Assembly Report Duplicating subreport

  • 27 July 2023
  • 3 replies
  • 62 views

Userlevel 3
Badge

I have been building a custom Kit Assembly report for my company to use and have it all set up the way I like it. However, it will repeat the “stock-items” sub report for as many items that are in the stock items.

I feel like I’m missing something simple, I tried to set it up similarly to how fs641000.rpx works, with sub reports for stock items and non-stock items (stock items also has a sub report in it for lot/serials).

think the problem is with the sub report for stock items (KA207013.rpx). I have tried the grouping but keep getting the duplicates


Any help would be greatly appreciated!

icon

Best answer by lauraj46 27 July 2023, 23:21

View original

3 replies

Userlevel 3
Badge

Update: Here is a General Inquiry with the same issue, probably easier to diagnose than the report(s).

Side-question. How to make my parameter empty? Used to be =NULL but that now just puts in NULL ever since 2022R2 update...

Userlevel 7
Badge +7

Hi @rmillerKimball ,

The problem is that you have joined both INComponentTran and INKitSpecStkDet.  You may not need INKitSpecStkDet in the schema.  The INComponentTran details the component on the specific kit assembly record, whereas INKitSpecStkDet is based on the standard kit specification.  Because you have multiple detail tables, you will end up with a cross join creating duplicate records.

If you want to separate the stock from the non stock items you should be able to use the field INComponentTran.IsStockItem.

Hope this helps!

Laura

Userlevel 3
Badge

Hi @lauraj46,

That makes perfect sense! I was just trying to mirror the Kit Assembly screen fields, which brings in INKitSpecStkDet to show the Component Qty.

Maybe I’ll create another sub-report to add component Qty to the line next to my stock items sub report. 

Thank you!!

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