Check demo samples given in developer. There you find multi company daybook. using the same logic . you can get the same for leder outstanding also.