Post Product receipt from a Custom table

Hi Experts,

I need to post a Product receipt from a custom table.

I have done some researches but they’re all about Posting product receipt from PurchTable and PurchLine.

Does anyone have any references that can be used ?

Thanks in advanced.