dealer n distributor
When the same partner works as a dealer and a distributor and they
Have the same master data, how does the sales document identifies if it is working as a dealer or a distributor in that order. How and where does u differentiate it?
In the customer masterdata for X(Sold to party) you have to maintain Y as SD(Distributor).
Also you need to include these 2 partner functions in the partner determination for the sales document header.
Then , when you are creating a sales order, the partners will be populated in the document automatically.
SE16 is the transaction code where you can see the entries in database tables for the transaction done. If you dont know much about SE16, it is very easy to learn. Just take the help of your development guy for 10min, and you can master SE16.