SAPbobsCOM.CompanyService oCompanyService = oCompany.GetCompanyService();
SAPbobsCOM.PaymentReasonCodeService oPaymentReasonCodeService = oCompanyService.GetBusinessService(SAPbobsCOM.ServiceTypes.PaymentReasonCodeService);
SAPbobsCOM.PaymentReasonCode oPaymentReasonCode = oPaymentReasonCodeService.GetDataInterface(SAPbobsCOM.PaymentReasonCodeServiceDataInterfaces.prcsPaymentReasonCode);
oPaymentReasonCode.Code = "TT";
oPaymentReasonCodeService.AddPaymentReasonCode(oPaymentReasonCode);
SAPbobsCOM.CompanyService oCompanyService = oCompany.GetCompanyService();
SAPbobsCOM.PaymentReasonCodeService oPaymentReasonCodeService = oCompanyService.GetBusinessService(SAPbobsCOM.ServiceTypes.PaymentReasonCodeService);
SAPbobsCOM.PaymentReasonCodeParams oPaymentReasonCodeParams = oPaymentReasonCodeService.GetDataInterface(SAPbobsCOM.PaymentReasonCodeServiceDataInterfaces.prcsPaymentReasonCodeParams);
SAPbobsCOM.PaymentReasonCodesParams oPaymentReasonCodesParams = oPaymentReasonCodeService.GetDataInterface(SAPbobsCOM.PaymentReasonCodeServiceDataInterfaces.prcsPaymentReasonCodesParams);
oPaymentReasonCodeParams.Code = "A";
SAPbobsCOM.PaymentReasonCode oPaymentReasonCode = oPaymentReasonCodeService.GetDataInterface(SAPbobsCOM.PaymentReasonCodeServiceDataInterfaces.prcsPaymentReasonCode);
oPaymentReasonCode = oPaymentReasonCodeService.GetPaymentReasonCode(oPaymentReasonCodeParams);
SAPbobsCOM.CompanyService oCompanyService = oCompany.GetCompanyService();
SAPbobsCOM.PaymentReasonCodeService oPaymentReasonCodeService = oCompanyService.GetBusinessService(SAPbobsCOM.ServiceTypes.PaymentReasonCodeService);
SAPbobsCOM.PaymentReasonCodeParams oPaymentReasonCodeParams = oPaymentReasonCodeService.GetDataInterface(SAPbobsCOM.PaymentReasonCodeServiceDataInterfaces.prcsPaymentReasonCodeParams);
oPaymentReasonCodeParams.Code = "Z1";
oPaymentReasonCodeService.DeletePaymentReasonCode(oPaymentReasonCodeParams);
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
10 | |
7 | |
5 | |
5 | |
4 | |
4 | |
4 | |
4 | |
4 | |
3 |