generate pin & idbarang