ssossossosso

Forums

Covering OroCRM topics, including community updates and company announcements.  Subscribe

This topic contains 2 replies, has 2 voices, and was last updated by  Nikita Petrov 2 years, 8 months ago.

  • Creator
    Topic
  • #5407

    Nikita Petrov
    Participant

    I’m working with OroCRM and billing integration via widget in account view page. For integration I need to keep external user ID for each account entity. For this I created custom field “billing_user_id” on Account entity. I also made template inheritance in my bundle for account view template.

    Now I have object of Account entity in my template for billing widget and I need to know how can I access my custom field “billing_user_id” from entity object? Should I use Doctrine entity inheritance? If I should please help me with sample how to inherit Account entity in my bundle.

    It’s important that I also need to access to my custom field from external system by API (read/write).

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • #5412
    Yevhen Shyshkin
    Yevhen Shyshkin
    Oro Core

    Hello, Nikita.

    The easiest way to access it is through regular getter:

    Also you can use UI macros to make it look better (see example):

    #5413

    Nikita Petrov
    Participant

    Yevhen, thank you!

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.