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

rtc: Sorting a DTE's cesiones by fecha-hora cesión may yield a result that's inconsistent with sorting by sequence number #5

Open
jtrobles-cdd opened this issue Feb 15, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@jtrobles-cdd
Copy link
Member

jtrobles-cdd commented Feb 15, 2022

Ordering a DTE's cesiones by fecha-hora cesión (/AEC/DocumentoAEC/Cesiones/Cesion/DocumentoCesion/TmstCesion) may result in an ordering that is inconsistent with the sequence numbers of the cesiones (/AEC/DocumentoAEC/Cesiones/Cesion/DocumentoCesion/SeqCesion).

Example:

  • DTE: (emisor_rut='76****10-3', tipo_dte=33, folio=742)
  • Cesión: (dte_emisor_rut='76****10-3', dte_tipo_dte=33, dte_folio=742, seq=2)
  • First cesión:
    • SeqCesion: 1
    • TmstCesion: 2022-01-31 15:03:14
  • Second cesión:
    • SeqCesion: 2
    • TmstCesion: 2022-01-31 14:38:11 (Note: This is 22 minutes earlier than the timestamp of the first cesión).

Ref: https://cordada.aha.io/features/COMPCLDATA-55
CC: @glarrain-cdd, @ycouce-cdd, @yrios-cdd

@jtrobles-cdd jtrobles-cdd added the bug Something isn't working label Feb 15, 2022
@jtrobles-cdd jtrobles-cdd changed the title rtc: Inconsistency between rtc: Cesiones may sometimes have an inconsistency between fecha-hora cesión and sequence number when ordering them Feb 15, 2022
@jtrobles-cdd jtrobles-cdd changed the title rtc: Cesiones may sometimes have an inconsistency between fecha-hora cesión and sequence number when ordering them rtc: Cesiones may sometimes have an inconsistency between fecha-hora cesión and sequence number when sorting them Feb 15, 2022
@jtrobles-cdd jtrobles-cdd changed the title rtc: Cesiones may sometimes have an inconsistency between fecha-hora cesión and sequence number when sorting them rtc: Sorting a DTE's cesiones by fecha-hora cesión may yield a result that's inconsistent with sorting by sequence number Feb 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant