예제 #1
0
  public AcActionSnapshot getSnapshot(boolean logMissing) {
    // debug("A", "getSnapshot");

    loadMissing(logMissing);
    AcActionSnapshot e = new AcActionSnapshot(getAccountCode());
    e.setItems(_items.getValues());
    e.setNests(_nests.getValues());
    e.setAliases(_aliases.getValues());
    e.setFlights(_flights.getValues());
    e.linkParentsFromIds();
    return e;
  }
예제 #2
0
  protected byte[] run() {
    _nowUtcTs = AcGlobals.nowUtc();

    makeModels();

    String accountCode = _access.getAccountCode();
    AcPropertyRegistry pr = AcPropertyRegistries.getAccount(accountCode);
    AcCn46Document document = new AcCn46Document(pr);
    byte[] pdf = document.makeDocument(_models.getValues());
    _isValidCn46Document = document.isValidDocument();
    return pdf;
  }