[minor] sales invoice to delivery note mapping and prevdoc validation