Table 18008316 EOS010 Salesperson Integration
Table 18008316 EOS010 Salesperson Integration
Language | Caption |
---|---|
de-DE | Vertreter-Replik (CMS) |
es-ES | Réplica de vendedor (CMS) |
fi-FI | Myyjäkopio (CMS) |
fr-FR | Réplica de commercial (CMS) |
en-US | Salesperson Replica (CMS) |
it-IT | Replica agente (CMS) |
nb-NO | Selgerkopi (CMS) |
nl-NL | Verkopersreplica (CMS) |
sv-SE | Säljareplikat (CMS) |
Fields
Table No. (1
)
Integer
TableRelation: AllObj."Object ID" where("Object Type" = const(Table))
Language | Caption |
---|---|
de-DE | Tabellennr. |
es-ES | Nº de tabla |
fi-FI | Taulun nro |
fr-FR | N° de table |
en-US | Table No. |
it-IT | Nr. tabella |
nb-NO | Tabellnr. |
nl-NL | Tabelnr. |
sv-SE | Tabellnr. |
No. (2
)
Code[20]
TableRelation: if ("Table No." = const(Database::Customer)) Customer."No." else if ("Table No." = const(Database::"Ship-to Address")) "Ship-to Address"."Customer No." else if ("Table No." = const(Database::"EOS Sales Network")) "EOS Sales Network".Code
Language | Caption |
---|---|
de-DE | Nr. |
es-ES | No. |
fi-FI | Ei. |
fr-FR | non. |
en-US | No. |
it-IT | Nr. |
nb-NO | nei. |
nl-NL | №. |
sv-SE | Nej. |
No. 2 (3
)
Code[20]
TableRelation: if ("Table No." = const(Database::"Ship-to Address")) "Ship-to Address"."Code" where("Customer No." = field("No."))
Language | Caption |
---|---|
de-DE | Nummer 2 |
es-ES | Nº 2 |
fi-FI | Nro 2 |
fr-FR | N° 2 |
en-US | No. 2 |
it-IT | Nr. 2 |
nb-NO | Nr. 2 |
nl-NL | Nr. 2 |
sv-SE | Nr. 2 |
Salesp Role/Code Json Base64 (100
)
Text[2048]
Language | Caption |
---|---|
de-DE | Vertreterrolle/Code Json |
es-ES | Rol/Código de vendedor Json |
fi-FI | Myyjärooli/Koodi Json |
fr-FR | Rôle/Code Commercial Json |
en-US | Salesperson Role/Code Json |
it-IT | Ruolo/Codice Agente Json |
nb-NO | Selgerrolle/Kode Json |
nl-NL | Verkopersrol/Code Json |
sv-SE | Säljarroll/Kod Json |
Methods
GetSalesPersons
procedure GetSalesPersons(OnlyValid: Boolean) Result: Dictionary of [Code[10], Code[20]]
Retrieves the Salespersons from the JSON field (base64 encoded) and converts it to a Dictionary.
Parameters / Return Value
OnlyValid
Boolean
Returns
Dictionary[Code,Code]
TryGetSalesPersons
procedure TryGetSalesPersons(var Result: Dictionary of [Code[10], Code[20]]; OnlyValid: Boolean)
Tries to retrieve the Salespersons from the JSON field (base64 encoded) and converts it to a Dictionary. If it fails, it returns an empty Dictionary.
Parameters / Return Value
Result
Dictionary[Code,Code]
OnlyValid
Boolean
EOSSetSalesPersons
procedure EOSSetSalesPersons(SalesPersonDict: Dictionary of [Code[10], Code[20]])
Sets the Salespersons in the JSON field (base64encoding) from a Dictionary. (Inside, Rec.Insert or Rec.Modify are NOT invoked)
Parameters / Return Value
SalesPersonDict
Dictionary[Code,Code]
Dictionary of Role/Salesperson
CopyFrom
procedure CopyFrom(var Customer: Record Customer) Valid: Boolean
Checks if the input record is valid for processing. If true it populates Rec with the current Customer references and Salesperson dictionary converted to JSON and encoded in Base64.
Parameters / Return Value
Customer
Record "Customer"
Returns
Boolean
True if Rec values are consistent
CopyFrom
procedure CopyFrom(var ShipToAddress: Record "Ship-to Address") Valid: Boolean
Checks if the input record is valid for processing. If true it populates Rec with the current Ship-to Address references and Salesperson dictionary converted to JSON and encoded in Base64.
Parameters / Return Value
ShipToAddress
Record "Ship-to Address"
Returns
Boolean
True if Rec values are consistent
CopyFrom
procedure CopyFrom(var SalesNetwork: Record "EOS Sales Network") Valid: Boolean
Checks if the input record is valid for processing. If true it populates Rec with the current Sales Network references and Salesperson dictionary converted to JSON and encoded in Base64.
Parameters / Return Value
SalesNetwork
Record "EOS Sales Network"
Returns
Boolean
True if Rec values are consistent
UpdateRecord
procedure UpdateRecord() Updated: Boolean
This method inserts the record if it doesn’t exist, or updates it if it is already present and the JSON is different. It don’t raise record update loopback, all checkes are done with ReadUncommitted isolation level.
Parameters / Return Value
- Returns
Boolean
DeleteRecord
procedure DeleteRecord() Deleted: Boolean
Deletes the record if it exists. It don’t raise record update loopback, all checkes are done with ReadUncommitted isolation level.
Parameters / Return Value
- Returns
Boolean
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.