1
Personal case I have a sale to be registered, with contract number, customer data and among others and I have sales fields with plots... Here comes my question, should I create a table of plots interconnected by the sales number and each record of a sale generates multiple plots record? For example I make a sale in 3x and register 3 records in my table of interconnected plots by the same purchase ID? Also because I need to inform the payment date of each one, if there was discount and finally.
What are your options? I mean, if not in another table, how would you store this information that you already know you need?
– Caffé
@Caffé I have no option, I ask because this is the only one I thought, I wanted to know what is done today in the "market".
– Rafael Assmann
Got it. Considering the requirements you described, it’s done just like you suggested.
– Caffé
Okay! Thank you so much @Caffé
– Rafael Assmann
@Rafaelassmann a tip is to remember to have a control also of the amount due. Because it often occurs that one pays only a part of a plot.
– Giovani
@Giovaniracipaganini yes! I have the balance in the database, thank you very much!
– Rafael Assmann