Hello,
I am trying to add a custom table (Table X) to existing SalesPurchLine map. I have added the SalesPurchLine map to Table X under mappings. Then created new method to return SalesPurchLineInterface() class in the table level. In order to create linking for the new custom table to SalesPurchLineInterface(), I have created a new class be using SalesPurchLineInterfaceFactoryAttribute class for the TableX which extends SalesPurchLineInterface() class.
When I try to run the table method to return SalesPurchLineInterface() class, I am getting "object reference not set to an instance of object error".
Has anyone tried this before or can help me with the steps of how to add custom table to existing table map (SalesPurchLine).