Hi,
As you are procuring material and service ,better go for two purchasing documents instead of single purchasing document.
Create one purchasing document for material and upon goods receipt,material will post to Stock Account . Create another purchasing document for service and do creates service entry sheet,upon releasing service entry sheet- service cost will post to service consumption account.
Regards,
Biju K