Class Config

java.lang.Object
org.bgerp.app.cfg.Config
org.bgerp.plugin.inventory.sync1c.Config

public class Config extends Config
Configuration for sync1c plugin. Keys in DB config / bgerp.properties with prefix "sync1c:". Example: sync1c:export.maxAttempts=3 sync1c:processTypeIds=5,8 sync1c:processType.5.statusWriteoff=15
  • Constructor Details

    • Config

      protected Config(ConfigMap config)
  • Method Details

    • getMaxAttempts

      public int getMaxAttempts()
    • getProcessTypeIds

      public Set<Integer> getProcessTypeIds()
    • isWriteoffStatus

      public boolean isWriteoffStatus(int processTypeId, int statusId)
      Returns true if the given statusId is the configured write-off trigger for this process type.