Solved

Hi! I need to make generic inquiry which filter data of employee time card according to employee ID and date range by week ID .

  • 3 November 2023
  • 2 replies
  • 53 views

 This is the parameters and conditions I have created. But its not filter data.

<gifilter LineNbr="3" IsActive="1" Name="PeriodTo" FieldName="PMTimeActivity.weekID" DataType="string" DisplayName="To Date" IsExpression="1" ColSpan="1" Required="1" />         <gifilter LineNbr="2" IsActive="1" Name="PeriodFrom" FieldName="PMTimeActivity.weekID" DataType="string" DisplayName="From Date" IsExpression="1" ColSpan="1" Required="1" />         <gifilter LineNbr="1" IsActive="1" Name="EmployeeID" FieldName="EPEmployee.acctCD" DataType="string" DisplayName="Employee Name" IsExpression="1" ColSpan="1" Required="1" />

 

<giwhere LineNbr="2" IsActive="1" DataFieldName="PMTimeActivity.weekID" Condition="B" IsExpression="0" Value1="[PeriodFrom]" Value2="[PeriodTo]" Operation="A" />
        <giwhere LineNbr="1" IsActive="1" DataFieldName="EPEmployee.acctCD" Condition="E" IsExpression="0" Value1="[EmployeeID]" Operation="A" />

icon

Best answer by meganfriesen37 3 November 2023, 15:46

View original

2 replies

Userlevel 7
Badge +10

Are you using custom weeks (it will be a checkbox on the Time and Expense Preferences screen) or not?  If you are using custom weeks then it’s a lot easier to filter by the time card weeks.  If you are using “standard” weeks it’s very difficult to filter on the dates, because they don’t seem to be really be stored in a format that’s conducive to filtering on a GI

@meganfriesen37 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