Hi, I need to get invoices for customers that are sent since my last run. But since changedDateTime doesnt use seconds, i will have some issues with either duplicates(using _gte comparison) or not finding files(using _gt comparison) that are sent the same minute. Since changedDateTime is using ISO-8601 standard, are you able to add the use of seconds? Or is it a better way to do this? Now i first get the associates with the EDI flag enabled for invoices, i then get a list of the invoices created after(_gt) changedDateTime and has the DoneInvoicesAndCreditNotes flag. Invoice list query: query GetInvoiceList($cId: Int, $date: DateTime, $customerId: Int) { useCompany(no : $cId) { orderDocument(filter: { _and: [ {changedDateTime: {_gt: $date}}, {orderStatus1Flags: {_is_on: DoneInvoicesAndCreditNotes}}, {customerNo: {_eq: $customerId}} ]}) { totalCount items { invoiceNo } } } }
... View more