public static ERPSales_taxes_and_charges Create(Chargetype chargetype, string accounthead, string description) { ERPSales_taxes_and_charges obj = new ERPSales_taxes_and_charges(); obj.charge_type = chargetype; obj.account_head = accounthead; obj.description = description; return(obj); }
public static ERPPurchase_taxes_and_charges Create(Category category, Adddeducttax adddeducttax, Chargetype chargetype, string accounthead, string description) { ERPPurchase_taxes_and_charges obj = new ERPPurchase_taxes_and_charges(); obj.category = category; obj.add_deduct_tax = adddeducttax; obj.charge_type = chargetype; obj.account_head = accounthead; obj.description = description; return(obj); }