NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

package com.highradius.model;
import java.sql.*;
import java.sql.Date;;
public class AcctDocHdr {
private int accountId;
private String documentNumberNorm;
private String companyCode;
private String fiscalYear;
private String branch;
private String customerNumberNorm;
private int fkCustomerMapId;
private Date documentDateNorm;
private Date baselineDateNorm;
private Date dueDateNorm;
private String invoiceNumberNorm;
private double openAmountNorm;
private String paymentTerms;
private Date clearingDateNorm;
private boolean isOpen;
private String orderType;
private Date orderDate;
private String businessArea;
private Date shipDate;
private int jobId;
private double taxAmt;
private double currentDisputAmount;
private String shipTo;
private int documentId;
private Date documentDate;
private double actualOpenAmount;
private Date dueDate;
private int invoiceAge;
private boolean isvalidDispute;
private String postingKey;
private int strategyId;
private String currency;
private boolean debitCreditIndicator;
private double validOpenAmount;
private String customerName;
private double retainageAmount;
public int getAccountId() {
return accountId;
}
public void setAccountId(int accountId) {
this.accountId = accountId;
}
public String getDocumentNumberNorm() {
return documentNumberNorm;
}
public void setDocumentNumberNorm(String documentNumberNorm) {
this.documentNumberNorm = documentNumberNorm;
}
public String getCompanyCode() {
return companyCode;
}
public void setCompanyCode(String companyCode) {
this.companyCode = companyCode;
}
public String getFiscalYear() {
return fiscalYear;
}
public void setFiscalYear(String fiscalYear) {
this.fiscalYear = fiscalYear;
}
public String getBranch() {
return branch;
}
public void setBranch(String branch) {
this.branch = branch;
}
public String getCustomerNumberNorm() {
return customerNumberNorm;
}
public void setCustomerNumberNorm(String customerNumberNorm) {
this.customerNumberNorm = customerNumberNorm;
}
public int getFkCustomerMapId() {
return fkCustomerMapId;
}
public void setFkCustomerMapId(int fkCustomerMapId) {
this.fkCustomerMapId = fkCustomerMapId;
}
public Date getDocumentDateNorm() {
return documentDateNorm;
}
public void setDocumentDateNorm(Date documentDateNorm) {
this.documentDateNorm = documentDateNorm;
}
public Date getBaselineDateNorm() {
return baselineDateNorm;
}
public void setBaselineDateNorm(Date baselineDateNorm) {
this.baselineDateNorm = baselineDateNorm;
}
public Date getDueDateNorm() {
return dueDateNorm;
}
public void setDueDateNorm(Date dueDateNorm) {
this.dueDateNorm = dueDateNorm;
}
public String getInvoiceNumberNorm() {
return invoiceNumberNorm;
}
public void setInvoiceNumberNorm(String invoiceNumberNorm) {
this.invoiceNumberNorm = invoiceNumberNorm;
}
public double getOpenAmountNorm() {
return openAmountNorm;
}
public void setOpenAmountNorm(double openAmountNorm) {
this.openAmountNorm = openAmountNorm;
}
public String getPaymentTerms() {
return paymentTerms;
}
public void setPaymentTerms(String paymentTerms) {
this.paymentTerms = paymentTerms;
}
public Date getClearingDateNorm() {
return clearingDateNorm;
}
public void setClearingDateNorm(Date clearingDateNorm) {
this.clearingDateNorm = clearingDateNorm;
}
public boolean isOpen() {
return isOpen;
}
public void setOpen(boolean isOpen) {
this.isOpen = isOpen;
}
public String getOrderType() {
return orderType;
}
public void setOrderType(String orderType) {
this.orderType = orderType;
}
public Date getOrderDate() {
return orderDate;
}
public void setOrderDate(Date orderDate) {
this.orderDate = orderDate;
}
public String getBusinessArea() {
return businessArea;
}
public void setBusinessArea(String businessArea) {
this.businessArea = businessArea;
}
public Date getShipDate() {
return shipDate;
}
public void setShipDate(Date shipDate) {
this.shipDate = shipDate;
}
public int getJobId() {
return jobId;
}
public void setJobId(int jobId) {
this.jobId = jobId;
}
public double getTaxAmt() {
return taxAmt;
}
public void setTaxAmt(double taxAmt) {
this.taxAmt = taxAmt;
}
public double getCurrentDisputAmount() {
return currentDisputAmount;
}
public void setCurrentDisputAmount(double currentDisputAmount) {
this.currentDisputAmount = currentDisputAmount;
}
public String getShipTo() {
return shipTo;
}
public void setShipTo(String shipTo) {
this.shipTo = shipTo;
}
public int getDocumentId() {
return documentId;
}
public void setDocumentId(int documentId) {
this.documentId = documentId;
}
public Date getDocumentDate() {
return documentDate;
}
public void setDocumentDate(Date documentDate) {
this.documentDate = documentDate;
}
public double getActualOpenAmount() {
return actualOpenAmount;
}
public void setActualOpenAmount(double actualOpenAmount) {
this.actualOpenAmount = actualOpenAmount;
}
public Date getDueDate() {
return dueDate;
}
public void setDueDate(Date dueDate) {
this.dueDate = dueDate;
}
public int getInvoiceAge() {
return invoiceAge;
}
public void setInvoiceAge(int invoiceAge) {
this.invoiceAge = invoiceAge;
}
public boolean isIsvalidDispute() {
return isvalidDispute;
}
public void setIsvalidDispute(boolean isvalidDispute) {
this.isvalidDispute = isvalidDispute;
}
public String getPostingKey() {
return postingKey;
}
public void setPostingKey(String postingKey) {
this.postingKey = postingKey;
}
public int getStrategyId() {
return strategyId;
}
public void setStrategyId(int strategyId) {
this.strategyId = strategyId;
}
public String getCurrency() {
return currency;
}
public void setCurrency(String currency) {
this.currency = currency;
}
public boolean isDebitCreditIndicator() {
return debitCreditIndicator;
}
public void setDebitCreditIndicator(boolean debitCreditIndicator) {
this.debitCreditIndicator = debitCreditIndicator;
}
public double getValidOpenAmount() {
return validOpenAmount;
}
public void setValidOpenAmount(double validOpenAmount) {
this.validOpenAmount = validOpenAmount;
}
public String getCustomerName() {
return customerName;
}
public void setCustomerName(String customerName) {
this.customerName = customerName;
}
public double getRetainageAmount() {
return retainageAmount;
}
public void setRetainageAmount(double retainageAmount) {
this.retainageAmount = retainageAmount;
}

public static String checkString(String s)
{
if(s==null||s.equals(" ")||(s.charAt(0)=='\'&&s.charAt(1)=='N'))
return null;
else
return s;
}
public static Date checkDate(String s)
{
Date d=null;
try
{
d=Date.valueOf(s);


}
catch(Exception e)
{}
return d;
}
public static Double checkDouble(String s)
{
Double d=0.0;
try
{
d=Double.parseDouble(s);
}
catch(Exception e)
{}
return d;
}
public static int checkInt(String s)
{
int d=0;
try
{
d=Integer.parseInt(s);
}
catch(Exception e)
{}
return d;
}

public static boolean checkBoolean(String s) {
boolean b = false;
if(s!=null&&s.equals("1"))b = true;
return b;
}
public static AcctDocHdr setvalue(String arr[])
{


AcctDocHdr obj=new AcctDocHdr();
try
{


obj.setAccountId(checkInt(arr[0]));
obj.setDocumentNumberNorm(checkString(arr[1]));
obj.setCompanyCode(arr[2]);
obj.setFiscalYear(arr[3]);
obj.setBranch(checkString(arr[4]));
obj.setCustomerNumberNorm(checkString(arr[5]));
obj.setFkCustomerMapId(checkInt(arr[6]));
obj.setDocumentDateNorm(checkDate(arr[7]));
obj.setBaselineDateNorm(checkDate(arr[8]));
obj.setDueDateNorm(checkDate(arr[9]));
obj.setInvoiceNumberNorm(checkString(arr[10]));
obj.setOpenAmountNorm(checkDouble(arr[11]));
obj.setPaymentTerms(arr[12]);
obj.setClearingDateNorm(checkDate(arr[13]));
obj.setOpen(checkBoolean(arr[14]));
obj.setOrderType(checkString(arr[15]));
obj.setOrderDate(checkDate(arr[16]));
obj.setBusinessArea(arr[17]);
obj.setShipDate(checkDate(arr[18]));
obj.setJobId(checkInt(arr[19]));
obj.setTaxAmt(checkDouble(arr[20]));
obj.setCurrentDisputAmount(checkDouble(arr[21]));
obj.setShipTo(checkString(arr[22]));
obj.setDocumentId(checkInt(arr[23]));
obj.setDocumentDate(checkDate(arr[24]));
obj.setActualOpenAmount(checkDouble(arr[25]));
obj.setDueDate(checkDate(arr[26]));
obj.setInvoiceAge(checkInt(arr[27]));
obj.setIsvalidDispute(checkBoolean(arr[28]));
obj.setPostingKey(arr[30]);
obj.setStrategyId(checkInt(arr[31]));
obj.setCurrency(arr[32]);
obj.setDebitCreditIndicator(checkBoolean(arr[33]));
obj.setValidOpenAmount(checkDouble(arr[34]));
obj.setCustomerName(arr[35]);
obj.setRetainageAmount(checkDouble(arr[29]));

}
catch(Exception e)
{}
return obj;
}

}
     
 
what is notes.io
 

Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...

With notes.io;

  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share note!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )

Free: Notes.io works for 12 years and has been free since the day it was started.


You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;


Email: [email protected]

Twitter: http://twitter.com/notesio

Instagram: http://instagram.com/notes.io

Facebook: http://facebook.com/notesio



Regards;
Notes.io Team

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.