In a GD table , we would like to retrieve only the last batch_id . How do we proceed?
For our example :
We have a line that has been deleted in the source and no longer appears in the last batch_id . But it goes back up with the previous one and is therefore present in the GUI.
Thanks for your help .
Best Answer
G
Gregory SCHMID
said
almost 2 years ago
Hi,
For a given entity, you have to look in SA_entity table and DA_BATCH table. Something like:
Yohann PLOIVY
Hello ,
In a GD table , we would like to retrieve only the last batch_id . How do we proceed?
For our example :
We have a line that has been deleted in the source and no longer appears in the last batch_id . But it goes back up with the previous one and is therefore present in the GUI.
Thanks for your help .
Hi,
For a given entity, you have to look in SA_entity table and DA_BATCH table.
Something like:
select batch.B_BATCHID
from DL_BATCH batch
left join SA_entity entity on entity.B_LOADID = batch.B_LOADID
where entity.B_LOADID =
(
select max(B_LOADID)
from SA_entity
)
Gregory SCHMID
Hi,
For a given entity, you have to look in SA_entity table and DA_BATCH table.
Something like:
select batch.B_BATCHID
from DL_BATCH batch
left join SA_entity entity on entity.B_LOADID = batch.B_LOADID
where entity.B_LOADID =
(
select max(B_LOADID)
from SA_entity
)
-
LOV label in Named Query
-
How we can set Dynamically changing Form field Description?
-
Is it possible to have a conditional survivorship rule based on a SemQL filter (akin to the filter on privileges)?
-
Where Do I View 2 Merged Records?
-
Show/hide an attribute in a form
-
Restrict access of attributes
-
Is it possible to manage visible/invisible value in List depend on user role??
-
Why am I unable to merge duplicates?
-
How are child records selected when parent records are manually merged?
-
Can the response from the API Call Response can be formatted differently in the JSON output?
See all 178 topics