Closed (fixed)
Project:
Xero API
Version:
7.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Feature request
Assigned:
Reporter:
Created:
31 Jan 2013 at 04:07 UTC
Updated:
26 Feb 2013 at 02:00 UTC
Jump to comment: Most recent file
Create a xero field type and formatter with field schema:
| entity_type | id | type |
|---|---|---|
| profile2 | c09661a2-a954-4e34-98df-f8b6d1dc9b19 | Contact |
| commerce_payment_transaction | d20b6c54-7f5d-4ce6-ab83-55f609719126 | BankTransaction |
| commerce_order | 243216c5-369e-4056-ac67-05388f86dc81 | Invoice |
Field formatter could create a link..?
Use cases:
- Use Queue API to post bank transaction or invoice+payments and store the arbitrary Id back on the invoice or payment. I've already got something in Drupal 6 that does this for Ubercart, but I think I can expand and make it better/more accounting-friendly.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 1903878-add-xero-reference-field-3.patch | 31.07 KB | mradcliffe |
| #2 | 1903878-add-xero-reference-field-2.patch | 21 KB | mradcliffe |
| #1 | 1903878-add-xero-reference-field.patch | 18.02 KB | mradcliffe |
Comments
Comment #1
mradcliffeHere's a good start to this. This is going to fundamentally change the Autocomplete paths for Drupal 7 and beyond. Drupal 6 won't be modified, but will need change record for Drupal 7.
Comment #2
mradcliffeOkay, I think this is a bit better.
I'm fairly satisfied with it how it is.
Comment #3
mradcliffeNow I'm fairly satisfied... with tests. Going to push this to the dev branch. :-)
We'll tackle properties for multiple values when Entity API tokens aren't screwed up.
Comment #4.0
(not verified) commentedAdditional info.