Appearance of long range magnetic order in a nonmagnetic periphery: YB2PD2(In,Sn)