You would have to custom record types, A and B. A ...
# suitescript
c
You would have to custom record types, A and B. A would be your parent and B would be your child. If you make A the parent of B then there is automagically a sublist on A with B children