public static ERPPayment_terms_template_detail Create(string paymentterm, string description, double invoiceportion, Duedatebasedon duedatebasedon, int creditdays, int creditmonths, string modeofpayment) { ERPPayment_terms_template_detail obj = new ERPPayment_terms_template_detail(); obj.payment_term = paymentterm; obj.description = description; obj.invoice_portion = invoiceportion; obj.due_date_based_on = duedatebasedon; obj.credit_days = creditdays; obj.credit_months = creditmonths; obj.mode_of_payment = modeofpayment; return(obj); }
public static ERPPayment_term Create(string paymenttermname, double invoiceportion, string modeofpayment, Duedatebasedon duedatebasedon, int creditdays, int creditmonths, string description) { ERPPayment_term obj = new ERPPayment_term(); obj.payment_term_name = paymenttermname; obj.invoice_portion = invoiceportion; obj.mode_of_payment = modeofpayment; obj.due_date_based_on = duedatebasedon; obj.credit_days = creditdays; obj.credit_months = creditmonths; obj.description = description; return(obj); }