Hi, you need to apply an additional filter when opening "Get Receipt Lines" from Item Charge Assignment page, right? So add it at PurchRcptLine variable in GetReceiptLines action of page 5805.
Did you add the "Vendor Invoice No." as new field on Purch. Rcpt. Line table? By default doesn't exist and it's used to evaluate "External Document No." on Vendor Ledger Entry.