コード例 #1
0
 // Added by Anusha for NFE Requirement(MNR)
 public byte[] getMNRReport(
     Date from,
     Date to,
     String foreignCountry,
     List platforms,
     List orderStates,
     String ccReference)
     throws RemoteException, Exception { // @Anwar Added for 19851
   // TODO Auto-generated method stub
   CompressedSerializedList list =
       (CompressedSerializedList)
           getReportManager()
               .getMNRReport(
                   from,
                   to,
                   foreignCountry,
                   platforms,
                   orderStates,
                   ccReference); // @Anwar Added for 19851
   byte[] arr = new byte[0];
   if (list != null && list.size() > 0) {
     arr = (byte[]) list.get(0);
   }
   return arr;
 }
コード例 #2
0
  // Added by Anusha for NFE Requirement(ICC)
  public byte[] getICCOrderUpdateReport(
      Date from, Date to, String ccCountry, String ccReference, List platforms, List orderStates)
      throws Exception {
    // TODO Auto-generated method stub

    CompressedSerializedList list =
        (CompressedSerializedList)
            getReportManager()
                .getICCOrderUpdateReport(from, to, ccCountry, ccReference, platforms, orderStates);
    byte[] arr = new byte[0];
    if (list != null && list.size() > 0) {
      arr = (byte[]) list.get(0);
    }
    return arr;
  }
コード例 #3
0
 public byte[] getGeneralReport(
     Date from,
     Date to,
     CurrencyValue currency,
     List platforms,
     List modes,
     boolean importOrders,
     boolean exportOrders)
     throws RemoteException, Exception {
   CompressedSerializedList list =
       (CompressedSerializedList)
           getReportManager()
               .getGeneralReport(from, to, currency, platforms, modes, importOrders, exportOrders);
   byte[] arr = new byte[0];
   if (list != null && list.size() > 0) {
     arr = (byte[]) list.get(0);
   }
   return arr;
 }