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.

Comments

mradcliffe’s picture

Status: Active » Needs work
Issue tags: +Needs tests
StatusFileSize
new18.02 KB

Here'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.

mradcliffe’s picture

Status: Needs work » Needs review
StatusFileSize
new21 KB

Okay, I think this is a bit better.

I'm fairly satisfied with it how it is.

mradcliffe’s picture

Status: Needs review » Fixed
Issue tags: -Needs tests
StatusFileSize
new31.07 KB

Now 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.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

Additional info.