Hi Mortaza,
That was it. Thanks, that saves me lots of time.
However, this issue also raises some questions:
1. It seems that order of RecordID and TxtLineID are not always the same. In my case, RecordID is in the order I inserted those BillLineItem, however, TxtLineID is not, it is quite random. Is it the correct behavior?
2. If this kind of random behavior is correct, then, does it mean we need to insert BillLineItem (and other transaction line item) in order of TxnLineID, but not in their RecordID?
Regards,
Alex