debtor is financial asset as per AS and Ind AS for accounting purpose. But here in this example asset will be considered of financial nature if it is related to financing business of company. This debtor is outcome of trading business hence not included, advances given can be understood as related to finance business hence it can be included .
hope you got the point I want to make, please comment hear if still it is not clear
got it sir. txx