Skip to Content
0
Former Member
Apr 30, 2014 at 09:27 AM

Retrieving the list of properties SAPbobsCOM.Documents,SAPbobsCOM.Payments,SAPbobsCOM.JournalEntries and SAPbobsCOM.StockTransfer

31 Views

Good day,

Is there a way to get the list of properties of SAPbobsCOM.Documents,SAPbobsCOM.Payments,SAPbobsCOM.JournalEntries and SAPbobsCOM.StockTransfer objects?

The only thing I can think of now is create a .net function and this function will list the properties one by one which will be tedious because of the number of properties of each object.

Like this:

SAPbobsCOM.Payments targetPayment = new SAPbobsCOM.Payments();

System.Collections.ArrayList arrayListProperties = new System.Collections.ArrayList();

arrayListProperties.Add(targetDocument.Address.ToString());

.

.

.

.

.

arrayListProperties.Add(targetDocument.<property n>.ToString());

return arrayListProperties;