Todd,
With that in mind.....you can take a MONTH($DATE$) to capture today's month
value, then from that you can build a query of 'DateField' > month-1/1/year
AND 'DateField < month/1/year and then pass that as the qualification to
the report...it'll take a bit (truly not much) workflow to grab the current
month, month -1, and current year (and adjust for last year if current
month is 1)....but, all of that information is readily available to Remedy
via functions....shouldn't be too hard to build that qualification up and
then pass it to a web report :)

On Wed, Aug 12, 2015 at 1:24 PM Arner, Todd <[email protected]> wrote:

> **
>
> Hi Chike,
>
> You are correct that I want to run the report on the 1st day of the month
> and capture all the records created from the previous month, so if run on
> 7/1/15, we want to see everything created 6/1/15 – 6/30/15.  We are using
> the reporting tool built into ARS and creating a report type of Web.  From
> there, we use the report scheduling module built into the ARS reporting
> tool.  When creating the web report, we identify the query to used.  This
> is using the standard advanced searching format that is used in any ARS
>  form.  Hope that makes sense.
>
>
>
> Thanks,
>
> Todd
>
>
>
> *From:* Action Request System discussion list(ARSList) [mailto:
> [email protected]] *On Behalf Of *Agu, Chike U
> *Sent:* Wednesday, August 12, 2015 2:02 PM
>
>
> *To:* [email protected]
> *Subject:* Re: Query question
>
>
>
> **
>
> Todd,
>
>
>
> I suppose that would require a little more work. After re-reading your
> question, it seems you’re just interested in generating the previous
> month’s records i.e. if you run the report on the 5th of March, you only
> want to get the report for the month of February that has 28 or 29 days. Is
> that correct?
>
>
>
> You also mentioned you’re scheduling a web report. How is the web report
> generating the records from remedy? Is the report using Remedy Java API for
> instance or is it running SQL directly at the remedy database? Let us know
> how your web report is passing the query to remedy and we should be able to
> help further.
>
>
>
> Regards,
>
> Chike
>
>
>
>
>
> *From:* Action Request System discussion list(ARSList) [
> mailto:[email protected] <[email protected]>] *On Behalf Of *Arner,
> Todd
> *Sent:* Wednesday, August 12, 2015 12:47 PM
> *To:* [email protected]
> *Subject:* Re: Query question
>
>
>
> **
>
> Thanks Chike and John for your responses.  Unfortunately, I need to be
> exact for the number of days In each month and was hoping there is a query
> that would do that calculation rather than having to write a separate query
> for each month.
>
>
>
> Thanks,
>
> Todd
>
> *From:* Action Request System discussion list(ARSList) [
> mailto:[email protected] <[email protected]>] *On Behalf Of *Agu,
> Chike U
> *Sent:* Wednesday, August 12, 2015 11:14 AM
> *To:* [email protected]
> *Subject:* Re: Query question
>
>
>
> **
>
> Hi Todd,
>
>
>
> Try this:
>
> ‘Create Date’ >= ($TIMESTAMP$ - 2678400)
>
>
>
> 2678400 is in seconds ( 3600 seconds * 24 hours * 31 day in a month)
>
>
>
> Regards,
>
> Chike
>
>
>
> *From:* Action Request System discussion list(ARSList) [
> mailto:[email protected] <[email protected]>] *On Behalf Of *Arner,
> Todd
> *Sent:* Wednesday, August 12, 2015 10:54 AM
> *To:* [email protected]
> *Subject:* Query question
>
>
>
> **
>
> I am trying to schedule a web report to run monthly that will pull in all
> records that were created in the previous month and not sure how to format
> the query.   Is there a way to set up a query in Remedy that will pull all
> the records created in the previous month?  I appreciate any help you can
> provide.
>
>
>
> ARS 8.1
>
> ITSM 8.1
>
> MS SQL 2008 R3
>
>
>
> Thanks,
>
> Todd
> ------------------------------
>
> The information contained in this communication may be confidential, is
> intended only for the use of the recipient(s) named above, and may be
> protected under state or federal law. If the reader of this message is not
> the intended recipient, you are hereby notified that any dissemination,
> distribution, or copying of this communication, or any of its contents, is
> strictly prohibited. If you have received this communication in error,
> please forward the communication to [email protected] immediately and
> destroy or delete the original message and any copy of it from your
> computer system. If you have any questions concerning this message, please
> contact the sender.
>
> _ARSlist: "Where the Answers Are" and have been for 20 years_
>
> This email is confidential and subject to important disclaimers and
> conditions including on offers for the purchase or sale of securities,
> accuracy and completeness of information, viruses, confidentiality, legal
> privilege, and legal entity disclaimers, available at
> http://www.jpmorgan.com/pages/disclosures/email
>
> _ARSlist: "Where the Answers Are" and have been for 20 years_
>
> _ARSlist: "Where the Answers Are" and have been for 20 years_
>
> This email is confidential and subject to important disclaimers and
> conditions including on offers for the purchase or sale of securities,
> accuracy and completeness of information, viruses, confidentiality, legal
> privilege, and legal entity disclaimers, available at
> http://www.jpmorgan.com/pages/disclosures/email
>
> _ARSlist: "Where the Answers Are" and have been for 20 years_
> _ARSlist: "Where the Answers Are" and have been for 20 years_

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
"Where the Answers Are, and have been for 20 years"

Reply via email to