Description
Sets the default bank charges allocation code.
Syntax
Parameters
Example
| Setting Default Bank Charges Allocation Code (C#) | Copy Code |
|---|
void SetDefaultCode () { Try { CompanyService oCompSrv = MyCompany.GetCompanyService(); BankChargesAllocationCodesService oBCACodeSrv = (BankChargesAllocationCodesService)(oCompSrv.GetBusinessService(ServiceTypes.BankChargesAllocationCodesService)); BCACodeParams defaultCode; defaultCode = (BCACodeParams)oBCACodeSrv.GetDataInterface(BankChargesAllocationCodesServiceDataInterfaces.bcacsBCACodeParams); defaultCode.Code = "1"; oBCACodeSrv. SetDefaultBankChargesAllocationCode(defaultCode); } Catch (Exception ex) { MessageBox.Show(ex.ToString()); } } |
|
See Also