Updating a timestamp if a previous submission is older than a newer submission - forms

So Im working on a gaming community and have a "Roll Call" form they fill out each day they play with us so we can track if they are active. This form comes with name, the unit they are in and the timestamp when it was submitted (only important pieces). It is all sent to a google sheets page and has a google forms page linked.
What I am trying to do is to have it so in their roster, the most recent roll call will update a cell next to their name with the date submitted, while also changing the colour of the cell to indicate if it fits within a certain time period.
Currently, I have tried =IF('Roll Call'!A3:A<TODAY(-3)AND('Roll Call'!B3:B=D6),"ACTIVE","Innactive")
A3:A is all timestamps logged, B3:B is the name submitted and D6 on the sheet is the name of the person. Eventually I want it to be that if submitted within 3 days they are active, if submitted within 3-6 days its inactive and after 7 days they are "AWOL".
For now, Im not fussed about the changing colours based on activity, I just want it to auto update the last submitted timestamp in Day/Month/Year format based on the name of the person submitted. Anyone able to direct me and help me in any way?
Main Roster Page
Raw data roll call page

try:
=IF(IFNA(FILTER('RAW - ROLL CALL'!A2:A, 'RAW - ROLL CALL'!A2:A<TODAY()-3, 'RAW - ROLL CALL'!B2:B=E6))="",
"ACTIVE", "INNACTIVE")

Related

Can PayPal's CUSTOM variable be used on eBay?

I program with PHP and I'm familiar with getting data from PayPal's IPN. I need to send custom data to ebay and get it back when payment is made. For example, if sold 1 Widget on ebay and that widget has a stock number of 12345A, I receive data back from PayPal. I get things like customer's name, address, item name, etc. But, unless I include that stock number in my title, I don't see any way to get that data back from PayPal. I don't want to use ebay's limited title space for including my stock numbers. I realize I could do it if I had another database to store ebay's item numbers and cross reference them with my stock numbers, but I don't want to do that.
I have noticed that when data comes back from PayPal after an ebay sale, it includes the custom variable and that variable has a large number in assigned to it. I have no idea what that is. I've also tried using ebay's custom label feature that's found in Turbo Lister and Selling Manager Pro. I was hoping that would be sent back in PayPal's custom variable, but no luck. Any ideas?
As you've discovered, it looks like it's some internal id number uniquely identifying each eBay order. You can probably forget about specifying a value for this field as it isn't documented anywhere.
The best solution to your problem is to use the eBay API. GetSingleItem will return information about an item given the item id.
The ItemSpecifics list will contain any item specific data that the seller has entered about the product. In my case, I added a custom field called SKU to the eBay item. Just add itemspecifics to your include selector. The call can be executed with a GET request:
http://open.api.ebay.com/shopping?callname=GetSingleItem&IncludeSelector=ItemSpecifics&appid=YOURAPPID=515&ItemID=ITEMIDOFINTEREST
What you get back will contain those custom fields you added to your item:
..
<ItemSpecifics>
<NameValueList>
<Name>MPN</Name>
<Value>MyPartModelA</Value>
</NameValueList>
<NameValueList>
<Name>SKU</Name>
<Value>123-456</Value>
</NameValueList>
</ItemSpecifics>
..

How can i get Last login user date time and update in user form in online CRM 2011

Hello i have created on field in user(systemuser) Form.so i need to show Last Login Date time in that field.so i have to write PlugIn/script or anything.so basically my question is i get the information from Audit View.but how can i write Plugin and on which entity.because i cant find the Entity Audit in Plugin Registration tool.if so then may be i can write the plugin on Create Audit and update it on User Form.
I have just tried in one sample like below but i cant find date field.but my question is where can i write plugin and update user form.
var query = from a in orgContext.CreateQuery("audit")
where (int)a["operation"] == 4 &&
a["objectid"] == "E39383B6-AFBB-45DD-9F4A-C140A03F1871"
select a;
how can i get that field from audit.
In short i want last login date and time for Login User..
Is there any way?
CRM 2011 doesn't support tracking when users login / logout. If you're running locally you'd have to hack together some sort of system that read IIS logs and then updates a custom field on the User entity itself...

Google App Script Spreadsheet Form error

Separate issue raised with Google by st...#ditoweb.com here (issue 2391)
We have an iframe-based spreadsheet form on a website (http://www.monarch-equestrian.co.uk/brochurerequest.html) which is set to generate emails with attached PDF's to respondents.
Over the past few days, this has been generating an error notification - "You do not have permission to call getActiveSpreadsheet". The script, triggered on submission, has been working perfectly - however the spreadsheet had grown to 1387 rows so we archived it and deleted most of the records in the original (in case we had reached the limit allowed and so we wouldn't have to create a new spreadsheet etc).
The question is, even though the spreadsheet is presumably now within data limits and all the settings are unchanged, why are we still getting the error?
According to the reported issue noted in the question, this was fixed Feb 25, 2013.

The results of my form are not being automatically emailed - why?

First off - I am new to Google Apps.
I have created a form that I want to be automatically emailed to me upon submission.
I have set up a trigger as follows :
timeDriven --> Time-driven --> Minutes timer --> every minute
I have created two forms and it has collected the data.
But is is NOT being emailed to me.
Any ideas why?
-Jena
When troubleshooting problems with triggers it helps to set the notification frequency to "immediately", to ensure that errors are emailed to you as soon as they happen.

Google Calendar API - Recurring Events - GDATA - iPhone

I am trying to build an app which shows events from a google calendar. I am using GData. Does any of you know how can I modify GDataQueryCalendar or other things such that google calendar doesn't show recently edited recurring event twice.
For Eg: If I have a recurring event called 'Breakfast' which is repeated daily at 7am. When I check the feed it shows the event only once. But, if I go back and edit the event's title to 'Breakfast1' only for today. And then when I check the feed it shows two events. One is "Breakfast" at 7am and the other one is "Breakfast1" at the same time 7am. Starttime on both the events are same.
How can I get the event only for that day (Breakfast1 as in eg)?
Finally got it working.. I am checking if a GDataEntryCalendarEvent event has an original event with it ([event originalEvent]). If an event has original event then we need to use this event instead of the duplicate event.