Author Topic: TimeTrackingAdd  (Read 1220 times)


  • Member
  • *
  • Posts: 1
« on: January 23, 2013, 03:44:45 PM »
I need help pushing time sheet info from filemaker to Quickbooks. I am using TimeTrackingAdd but nothing shows up. 

Set Variable[$$Result; Value:PCQB_RqNew(  "TimeTrackingAdd" ; "" )]
Set Variable[$$Result; Value:PCQB_RqAddFieldWithValue( "Entityref::FullName" ; "John Doe")
Set Variable[$$Result; Value:PCQB_RqAddFieldWithValue("Duration" ;"PT2H0M0S" )

what is wrong with my script

Geoffrey Gerhard

  • Guru
  • Member
  • ****
  • Posts: 470
Re: TimeTrackingAdd
« Reply #1 on: January 23, 2013, 05:45:14 PM »
At a glance, you're passing the element "Entityref", but QB is case sensitive. Try "EntityRef" instead. Never looked at the format for duration, so can't comment on whether or not the string you're passing as the requested value is well-formed. If you're using FMP Advanced, step through your script and after you run the Execute function, use the Data Viewer to evaluate PCQB_SGetStatus. The result will identify the first error in your request.


Geoffrey Gerhard
Creative Solutions Incorporated
14000 Creekside Drive
Matthews, NC  28105
704) 814-6852