0
I have a file that JS file, I need to check the numbers that were skipped in sequence, separated by CNPJ, as would be done?
[
{"cnpj":"1234567891011","serie":"1","numero":"1"},
{"cnpj":"1234567891011","serie":"1","numero":"2"},
{"cnpj":"1234567891011","serie":"1","numero":"3"},
{"cnpj":"1234567891011","serie":"1","numero":"4"},
{"cnpj":"1234567891011","serie":"1","numero":"5"},
{"cnpj":"1234567891011","serie":"1","numero":"6"},
{"cnpj":"1234567891011","serie":"1","numero":"7"},
{"cnpj":"1234567891011","serie":"1","numero":"9"},
{"cnpj":"1234567891011","serie":"1","numero":"10"},
{"cnpj":"1213141516171","serie":"1","numero":"1"},
{"cnpj":"1213141516171","serie":"1","numero":"2"},
{"cnpj":"1213141516171","serie":"1","numero":"4"},
{"cnpj":"1213141516171","serie":"1","numero":"5"},
{"cnpj":"1213141516171","serie":"1","numero":"6"},
{"cnpj":"1213141516171","serie":"1","numero":"7"},
{"cnpj":"1213141516171","serie":"1","numero":"9"},
{"cnpj":"1213141516171","serie":"2","numero":"10"},
{"cnpj":"1213141516171","serie":"2","numero":"11"},
{"cnpj":"1213141516171","serie":"2","numero":"12"},
{"cnpj":"1213141516171","serie":"2","numero":"15"},
{"cnpj":"1213141516171","serie":"2","numero":"16"},
{"cnpj":"1213141516171","serie":"2","numero":"17"},
{"cnpj":"1213141516171","serie":"2","numero":"21"},
{"cnpj":"9090909871234","serie":"1","numero":"22"},
{"cnpj":"9090909871234","serie":"1","numero":"1"},
{"cnpj":"9090909871234","serie":"1","numero":"2"},
{"cnpj":"9090909871234","serie":"1","numero":"3"},
{"cnpj":"9090909871234","serie":"1","numero":"4"},
{"cnpj":"9090909871234","serie":"1","numero":"6"},
{"cnpj":"9090909871234","serie":"1","numero":"7"},
{"cnpj":"9090909871234","serie":"1","numero":"8"},
{"cnpj":"9090909871234","serie":"3","numero":"2"},
{"cnpj":"9090909871234","serie":"3","numero":"1"},
{"cnpj":"9090909871234","serie":"3","numero":"3"},
{"cnpj":"9090909871234","serie":"3","numero":"4"},
{"cnpj":"9090909871234","serie":"3","numero":"5"},
{"cnpj":"9090909871234","serie":"3","numero":"6"},
{"cnpj":"9090909871234","serie":"3","numero":"7"},
{"cnpj":"9090909871234","serie":"3","numero":"8"},
{"cnpj":"9090909871234","serie":"3","numero":"9"},
{"cnpj":"9090909871234","serie":"3","numero":"10"},
if I want to separate by series the numbers that are missing, series 1: 3.4 , series 2: 5 , series 3: 3.6.7
– Marcos Paulo
@Marcospaulo there complicates a lot... has to ask another question for this?
– Sorack
I can, I’ll do it now
– Marcos Paulo