Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
basic
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
xrm
basic
Commits
f0720111
Commit
f0720111
authored
5 years ago
by
Daniel Tran
Browse files
Options
Downloads
Patches
Plain Diff
#1048431 - Applied coding styles: (tablename.columnname)
parent
b24472aa
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
entity/Offer_entity/recordcontainers/index/query.js
+5
-5
5 additions, 5 deletions
entity/Offer_entity/recordcontainers/index/query.js
with
5 additions
and
5 deletions
entity/Offer_entity/recordcontainers/index/query.js
+
5
−
5
View file @
f0720111
...
...
@@ -9,18 +9,18 @@ import("Sql_lib");
import
(
"
KeywordRegistry_basic
"
);
var
sqlHelper
=
new
SqlMaskingUtils
();
var
querySelect
=
newSelect
(
"
OFFERID
"
// as "_uid_",
+
"
,
"
+
sqlHelper
.
concat
([
sqlHelper
.
cast
(
"
OFFERCODE
"
,
SQLTYPES
.
CHAR
,
10
),
KeywordUtils
.
getResolvedTitleSqlPart
(
$KeywordRegistry
.
offerStatus
(),
"
OFFER.STATUS
"
)],
"
|
"
)
//as "_title_"
var
querySelect
=
newSelect
(
"
OFFER.
OFFERID
"
// as "_uid_",
+
"
,
"
+
sqlHelper
.
concat
([
sqlHelper
.
cast
(
"
OFFER.
OFFERCODE
"
,
SQLTYPES
.
CHAR
,
10
),
KeywordUtils
.
getResolvedTitleSqlPart
(
$KeywordRegistry
.
offerStatus
(),
"
OFFER.STATUS
"
)],
"
|
"
)
//as "_title_"
+
"
,
"
+
sqlHelper
.
concat
([
"
ORGANISATION.NAME
"
,
"
'|
"
+
translate
.
text
(
"
Description
"
)
+
"
:'
"
,
sqlHelper
.
castLob
(
"
OFFER.INFO
"
,
250
)])
// as "_description_"
+
"
, OFFERCODE
"
+
"
, CUSTOMERCODE
"
+
"
,
OFFER.
OFFERCODE
"
+
"
,
ORGANISATION.
CUSTOMERCODE
"
+
"
, OFFER.CONTACT_ID
"
+
"
, CONTACT.ORGANISATION_ID
"
// as CONTACT_ORG_ID
+
"
, ORGANISATION.NAME
"
)
// as "CONTACT_ORG_ID.displayValue"
.
from
(
"
OFFER
"
)
.
join
(
"
CONTACT
"
,
"
OFFER.CONTACT_ID = CONTACTID
"
)
.
join
(
"
ORGANISATION
"
,
"
ORGANISATIONID = CONTACT.ORGANISATION_ID
"
)
.
orderBy
(
"
OFFERCODE
"
);
.
orderBy
(
"
OFFER.
OFFERCODE
"
);
if
(
vars
.
exists
(
"
$local.idvalue
"
)
&&
vars
.
get
(
"
$local.idvalue
"
)
&&
vars
.
get
(
"
$local.idvalue
"
).
length
>
0
)
{
...
...
This diff is collapsed.
Click to expand it.
Johannes Goderbauer
@j.goderbauer
mentioned in commit
e6be35f8
·
5 years ago
mentioned in commit
e6be35f8
mentioned in commit e6be35f86399d7e39261008d6c3989fccc8fdd90
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment