You can use the following code to register a purchase order line. In fact, you can use a similar code to register any other inventory transaction, just change the InventTrans buffer....