c

dynamics.cli

LoadAddressesActions

class LoadAddressesActions extends AnyRef

Loading addresses requires that the input is json with all the attributes set. The only requirement is that parentid is sets in the input data source and it should be remove, along with any other non-modelled attributes using the etl CLI parameters.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LoadAddressesActions
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new LoadAddressesActions(context: DynamicsContext)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clean(instring: String): String
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  7. val context: DynamicsContext
  8. def dbStream(query: String, dbConfigFile: String): Stream[IO, Nothing]

    Create a stream from a json array file source.

    Create a stream from a json array file source. ...whoops...this does it from MSSQL...change this

  9. val ehandler: ApplicativeError[IO, Throwable]
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def insertAddress(payload: String): IO[String]
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. val loadAddresses: Action

    Load source side account "location" correctly.

    Load source side account "location" correctly. First 2 addresses should map to pre-existing addressnumber 1 and 2 and hence should be updates and not inserts. Data should be sorted by crm accountid then sorted by whatever makes the address you want for 1 and 2 appear at the start of the group.

    objecttypecode is a string! not a number for this entity: account|contact|...

  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. def parentBind(entityName: String): (Object) ⇒ Object

    Assumes parentid holds id.

    Assumes parentid holds id. Mutates record. Not currently used as its assumed that @odata.bind is in the data stream already.

  22. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. def updateAddress(parentId: String, addressNumber: Int, payload: String): IO[String]
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  28. def xform(params: Map[String, String]): (Object) ⇒ Object

Inherited from AnyRef

Inherited from Any

Ungrouped