public int getSize(){
return receipts.size();
}
public ZSDSCABFACT getHeaderF(String myDay){
ZSDSCABFACT ans = new ZSDSCABFACT();
String idF = "F" + id;
String range = minFiscalId + "-" + maxFiscalId;
System.out.println("MANDT\tFKDAT\tVBELN\tZTIPV\tKUNNR\tRANGO\tREPOZ\tIMPRE\tWAERS\tWERKS");
ans.setMANDT(of.createZSDSCABDEVMANDT(Shared.getConfig("mant")));
System.out.print(Shared.getConfig("mant") + "\t");
ans.setFKDAT(of.createZSDSPOSDEVFKDAT(myDay.replace("-", "")));
System.out.print(myDay.replace("-", "") + "\t");
ans.setVBELN(of.createZSDSCABDEVVBELN(idF));
System.out.print(idF + "\t");
ans.setZTIPV(of.createZSDSCABDEVZTIPV(kind));
System.out.print(kind + "\t");
ans.setKUNNR(of.createZSDSCABDEVKUNNR(client));
System.out.print(client + "\t");
ans.setRANGO(of.createZSDSCABDEVRANGO(range));
System.out.print(range + "\t");
ans.setREPOZ(of.createZSDSCABDEVREPOZ(z));
System.out.print(z + "\t");
ans.setIMPRE(of.createZSDSCABDEVIMPRE(printerId));
System.out.print(printerId + "\t");
ans.setWAERS(of.createZSDSCABDEVWAERS(Shared.getConfig("waerks")));
System.out.print(Shared.getConfig("waerks") + "\t");
ans.setWERKS(of.createZSDSCABDEVWERKS(Shared.getConfig("storePrefix")+Shared.getConfig("storeName")));
System.out.print(Shared.getConfig("storePrefix")+Shared.getConfig("storeName") + "\n");
return ans;
}