Skip to content

Commit

Permalink
Se agrega soporte a documento fiscal para validación de sobregiro desde
Browse files Browse the repository at this point in the history
el tipo de documento y no desde el documento
  • Loading branch information
yamelsenih committed Apr 24, 2024
1 parent 9ae6c54 commit 44849fa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public String docValidate(PO entity, int timing) {
if(creditMemo.isSOTrx()
&& creditMemo.isCreditMemo()
&& !creditMemo.isReversal()
&& creditMemo.get_ValueAsBoolean(LVEUtil.COLUMNNAME_IsFiscalDocument)
&& documentType.get_ValueAsBoolean(LVEUtil.COLUMNNAME_IsFiscalDocument)
&& !documentType.get_ValueAsBoolean(LVEUtil.LVE_AllowOverdraftReference)) {
Map<Integer, BigDecimal> documentsToAllocate = new HashMap<>();
Arrays.asList(creditMemo.getLines())
Expand Down

0 comments on commit 44849fa

Please sign in to comment.