My ticket is, to create Automatic Creation of PO from stock, but how would i know if what table or class or AOT will i extend from the x++ visual studio?

My ticket is, to create Automatic Creation of PO from stock, but how would i know if what table or class or AOT will i extend from the x++ visual studio?
Hi partner,
Can you briefly describe your business requirements? You can refer to the following blog to create a purchase order in x++, Hope it will inspire you.