Subversion Repositories SmartDukaan

Rev

Rev 19891 | Rev 19950 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 19891 Rev 19912
Line 658... Line 658...
658
    t_OutstandingPayment.creditor_id = outstandingPayment.creditor_id
658
    t_OutstandingPayment.creditor_id = outstandingPayment.creditor_id
659
    t_OutstandingPayment.payment_id = outstandingPayment.payment_id
659
    t_OutstandingPayment.payment_id = outstandingPayment.payment_id
660
    t_OutstandingPayment.totalAmount = outstandingPayment.totalAmount 
660
    t_OutstandingPayment.totalAmount = outstandingPayment.totalAmount 
661
    t_OutstandingPayment.created =  to_java_date(outstandingPayment.createdDate)
661
    t_OutstandingPayment.created =  to_java_date(outstandingPayment.createdDate)
662
    return t_OutstandingPayment
662
    return t_OutstandingPayment
-
 
663
 
-
 
664
def __loanHistoryObj(user_id, creditor_id, paymentId, amount, credit_type, loan_id, value_date=None, invoiceNumber=None):
-
 
665
    loanobj = TLoanHistory()
-
 
666
    loanobj.user_id = user_id
-
 
667
    loanobj.creditor_id = creditor_id    
-
 
668
    loanobj.payment_id = paymentId
-
 
669
    loanobj.amount = amount
-
 
670
    loanobj.credit_type = credit_type
-
 
671
    loanobj.loan_id = loan_id
-
 
672
    if value_date is not None:
-
 
673
        loanobj.value_date = to_java_date(value_date)
-
 
674
    if invoiceNumber is not None:
-
 
675
        loanobj.invoiceNumber = invoiceNumber
-
 
676
    return loanobj
663
    
677
    
664
def to_t_ShipmentLogisticsCostDetail(shipmentLogisticsCostDetail):
678
def to_t_ShipmentLogisticsCostDetail(shipmentLogisticsCostDetail):
665
    t_ShipmentLogisticsCostDetail = TShipmentLogisticsCostDetail()
679
    t_ShipmentLogisticsCostDetail = TShipmentLogisticsCostDetail()
666
    t_ShipmentLogisticsCostDetail.logisticsTransactionId = shipmentLogisticsCostDetail.logisticsTransactionId
680
    t_ShipmentLogisticsCostDetail.logisticsTransactionId = shipmentLogisticsCostDetail.logisticsTransactionId
667
    t_ShipmentLogisticsCostDetail.airwayBillNo = shipmentLogisticsCostDetail.airwayBillNo
681
    t_ShipmentLogisticsCostDetail.airwayBillNo = shipmentLogisticsCostDetail.airwayBillNo