Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added API for deleted records. #199

Closed

Conversation

bartkraai
Copy link

No description provided.

@Bertverbeek4PS
Copy link
Owner

@bartkraai why do you want this API? Also deletion is set to true. There is currently a codeunit that were you is looks up the exporting date and then remove the records.
With an API you can then delete everything which is not recomended

@bartkraai
Copy link
Author

This API is used for a customer who wants to track deleted records in their own data-warehouse and delete them if processed. This is maybe a little out of scope for this project but don't see any harm by adding this API.

@Bertverbeek4PS
Copy link
Owner

This API is used for a customer who wants to track deleted records in their own data-warehouse and delete them if processed. This is maybe a little out of scope for this project but don't see any harm by adding this API.

Why are they not using the codeunit in BC? Because then they are processed if they put it on a weekly base.
By opening the table through an API with deletation on it that is more dangerous that someone remove all the entries with dataloss.

So there is already a good solution for it. And opening it can have allot of implications on it.

@bartkraai
Copy link
Author

They use an external warehouse and not fabric to export. So they also process the deleted records themselves. THe delete CU will not work for them.

@Bertverbeek4PS
Copy link
Owner

They use an external warehouse and not fabric to export. So they also process the deleted records themselves. THe delete CU will not work for them.

Not sure if I understand it.
If you exporting everything with bc2adls it will also export the deleted items.
If there is an export made there will be a timestamp registered.

When you run the codeunit for the deletion it is looking at that timestamp if a record already is exported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants