cancel
Showing results for 
Search instead for 
Did you mean: 

what is the Object Type to CRD1 table in SAP B1

former_member416544
Participant
0 Kudos

Hi Experts,

what is the Object Type to CRD1(Address) table in SAP B1?

Thanks,

Chenna

Accepted Solutions (1)

Accepted Solutions (1)

kothandaraman_nagarajan
Active Contributor
0 Kudos

Hi,

It should be same as Business partner object type 2.

Regards,

Nagarajan

former_member416544
Participant
0 Kudos

Hi Nagarjan,

Thanks for your prompt replay,

But here I want to add data into CRD1 table using object Types.

Please check the below code

var company = SBO.DI.Connection.SboCompany;
GeneralService udoGeneralService = company.GetCompanyService().GetGeneralService("2");
var generalData = (GeneralData) udoGeneralService.GetDataInterface(GeneralServiceDataInterfaces.gsGeneralData);
generalData.SetProperty("CardCode", finalBPCardCode);
generalData.SetProperty("CardType", BPCardType);
generalData.SetProperty("CardName", BPCardName);
generalData.SetProperty("Currency", BPCurrency);
udoGeneralService.Add(generalData);

using above code I already added Business Partner details into 'OCRD' table, now I want to add BP CardCode related Address details into CRD1 table using objctType.

Thanks.

ANKIT_CHAUHAN
Product and Topic Expert
Product and Topic Expert

Hi Chenna Gadicherla

Why are you using 'GeneralService' to add the Business Partner Master Data Record using DI API? GeneralService provides you the access to UDOs.

You can use the following sample code from the SDK Help Center:

Hope it helps!

Kind regards,

ANKIT CHAUHAN

SAP SME Support

former_member416544
Participant
0 Kudos

Hi Ankit,

thanks for your prompt replay,

I'm working, Boyum-it import XML documents using UFFI function, which is you are mentioned code as VB code in Visual Studio.

Please correct me if I'm wrong.

Thanks,

Chenna

Answers (0)