on 05-09-2018 12:32 PM
Hi Experts,
what is the Object Type to CRD1(Address) table in SAP B1?
Thanks,
Chenna
Hi,
It should be same as Business partner object type 2.
Regards,
Nagarajan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
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
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.