Example #1
0
        public static ERPContract Create(Partytype partytype, string partyname, string contractterms)

        {
            ERPContract obj = new ERPContract();

            obj.party_type     = partytype;
            obj.party_name     = partyname;
            obj.contract_terms = contractterms;
            return(obj);
        }
        public static ERPBank_statement_transaction_payment_item Create(string transactiondate, string description, double amount, Partytype partytype, string party, Referencetype referencetype, string account, string modeofpayment, double outstandingamount, string referencename, string paymentreference, string invoices)

        {
            ERPBank_statement_transaction_payment_item obj = new ERPBank_statement_transaction_payment_item();

            obj.transaction_date   = transactiondate;
            obj.description        = description;
            obj.amount             = amount;
            obj.party_type         = partytype;
            obj.party              = party;
            obj.reference_type     = referencetype;
            obj.account            = account;
            obj.mode_of_payment    = modeofpayment;
            obj.outstanding_amount = outstandingamount;
            obj.reference_name     = referencename;
            obj.payment_reference  = paymentreference;
            obj.invoices           = invoices;
            return(obj);
        }
Example #3
0
        public static ERPBank_statement_transaction_invoice_item Create(string transactiondate, string paymentdescription, Partytype partytype, string party, string invoicedate, Invoicetype invoicetype, string invoice, string outstandingamount, string allocatedamount)

        {
            ERPBank_statement_transaction_invoice_item obj = new ERPBank_statement_transaction_invoice_item();

            obj.transaction_date    = transactiondate;
            obj.payment_description = paymentdescription;
            obj.party_type          = partytype;
            obj.party              = party;
            obj.invoice_date       = invoicedate;
            obj.invoice_type       = invoicetype;
            obj.invoice            = invoice;
            obj.outstanding_amount = outstandingamount;
            obj.allocated_amount   = allocatedamount;
            return(obj);
        }