Hi Ahmed,
Your inputs are excellent now it is working well, but the only issue i am having is the sample is not being calculated while doing goods receipt.Where might be the issue?
Also the the missing link was, instead of creating 1 sampling scheme i had created 2 more & assigned in different sampling procedure..