Question

Add filter SubledgerID (report designer)


Userlevel 2

Hello,

I trying to add filter on subledgerID in report designer but always im getting an empty list (there is data in DB) 

 

 

 

 

Thanks for your feedback.


5 replies

Userlevel 7
Badge +17

Hi Sadok, 

In the Batch table, we have only the “LedgerID” field but NOT the “SubLedgerID”, can you please let us know what is the DAC and database field you are indicating.

 

Userlevel 7
Badge +17

@sadok, Can you please provide your Custom DAC file here.

Userlevel 2

Hi Sadok, 

In the Batch table, we have only the “LedgerID” field but NOT the “SubLedgerID”, can you please let us know what is the DAC and database field you are indicating.

 

It’s custom field refers to field SubledgerID from DAC Subledger

Userlevel 2

@sadok, Can you please provide your Custom DAC file here.

 

Subledger it’s not a custom DAC

Userlevel 7
Badge +10

I reverse-engineered the custom DAC to find how it’s designed:

The subledger selector depends on the currently selected batch module, which you don’t have from the report parameters tab. I haven’t found any way to specify this value through the selector, and I think that an additional DAC with this field and selector but without any filter would be needed to make this work…

I tried adding the Module field to the parameters and then =Report.GetFieldSchema('Batch.CegSubledger,Module') to reference it like the organization and branch but couldn’t make it work.

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