Changes for DocSystem

Changes for DocSystem with PARTNER_FLAG