Hi,
You need to have vendor number/vendor master for your dealer, can have CIN details in vendor master or can have CIN details in J1ID.
For more refer how to handle dealer with dealer margin and capture excise details.
http://scn.sap.com/thread/2077113
http://scn.sap.com/docs/DOC-50739
Regards,
Biju K