What is a position in your application domain? Are you able to share some code to help visualise your problem
Oct 28, 2018
3
Level 1
Best Way to handle documents positions in accounting system
Hi, i try tu redesign my simple accounting software and I am wondering which way is the best for handling positions of documents (invoice/offer/order/proform infoice, corrective invoice) . Positions have the same structure.
I thought about polymorphic relation to all documents from one position table in my DB ? Now I have pairs of tables such as "offers" and "offers_positions".
Additionaly I want to deploy products index - now all products/services in positions are "string in row" and I have problem with different names for the same product.
Thank you for your opinions.
Please or to participate in this conversation.