Hello.
I have a question:
I create a table of companies. The companies divide to: end customers and resellers
and i want to store references to another companies in case of resellers.
How i can use existing field types or construct new?
All that can be done from Studio. For all companies you can use the Accounts module. Then customize the account type and add relationships based on that field. Relationships can be added from Workflows or from LogicHooks (You need programing skills for this one)
I’ll recommend you to reading the documentation here:
Studio: https://docs.suitecrm.com/admin/administration-panel/studio/
Workflow: https://docs.suitecrm.com/user/advanced-modules/workflow/
LogicHooks: https://docs.suitecrm.com/developer/logic-hooks/
Thanks,
AlxGr