Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0047721
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo Localizations] Localization Portugalmajoralways2021-09-20 15:382022-02-28 12:44
ReporterpsanjuanView Statuspublic 
Assigned Tocaristu 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSLinux 64 bitDatabasePostgreSQLJava version7.x
OS VersionOpenbravo Appliance 14.04Database version9.3.xAnt version1.9.x
Product VersionSCM revision 
Regression date
Regression introduced by commit
Regression level
Regression introduced in release
Summary

0047721: SAFT file does not include Reference information, in case of a Blind Return that becomes Verified.

DescriptionSAFT file does not include Reference information, in case of a Blind Return that becomes Verified.
Steps To ReproduceIn an enviroment with PT certification code installed and configured, navigate to a POS terminal.
Select any product. Click on Return Line button.
Click on Check-out. Verify that a message is shown saying:
"Please, provide original document number in description field of the receipt properties". See image attached. This is correct.
Introduce that information. See image attached.

Launch the e-fatura file for that given date.

Verify there is no Reference node for that return (Nota de crédito).

current SAFT information
<Invoice>
<InvoiceNo>NC A019NCS/00004</InvoiceNo>
<ATCUD>0</ATCUD>
<DocumentStatus>
<InvoiceStatus>N</InvoiceStatus>
<InvoiceStatusDate>2021-09-20T15:19:48</InvoiceStatusDate>
<SourceID>vallblanca</SourceID>
<SourceBilling>P</SourceBilling>
</DocumentStatus>
<Hash>W4UDzwtto0sH2iYZtqWMbqdijIPrL3qMucbzMkkfxfxBV29rsJeHZEdatNOlLsTNh+PJJFqrcaXxJVaKo6TplLwvEefqaqjah37PS5+8Gy4trwxGH76rmrJa7PDAu3VLG5VDlplC57pERt78MBGGzAk+sZU+IW4ZlzEVRGmhdts=</Hash>
<HashControl>2</HashControl>
<InvoiceDate>2021-09-20</InvoiceDate>
<InvoiceType>NC</InvoiceType>
<SpecialRegimes>
<SelfBillingIndicator>0</SelfBillingIndicator>
<CashVATSchemeIndicator>0</CashVATSchemeIndicator>
<ThirdPartiesBillingIndicator>0</ThirdPartiesBillingIndicator>
</SpecialRegimes>
<SourceID>vallblanca</SourceID>
<SystemEntryDate>2021-09-20T15:19:48</SystemEntryDate>
<CustomerID>T019/C001</CustomerID>
<Line>
<LineNumber>1</LineNumber>
<ProductCode>T01</ProductCode>
<ProductDescription>T01 - Test Produto Normal</ProductDescription>
<Quantity>1</Quantity>
<UnitOfMeasure>Unit</UnitOfMeasure>
<UnitPrice>81.3</UnitPrice>
<TaxPointDate>2021-09-20</TaxPointDate>
<Description>T01 - Test Produto Normal</Description>
<DebitAmount>81.30</DebitAmount>
<Tax>
<TaxType>IVA</TaxType>
<TaxCountryRegion>PT</TaxCountryRegion>
<TaxCode>NOR</TaxCode>
<TaxPercentage>23</TaxPercentage>
</Tax>
</Line>
<DocumentTotals>
<TaxPayable>18.70</TaxPayable>
<NetTotal>81.30</NetTotal>
<GrossTotal>100.00</GrossTotal>
</DocumentTotals>
</Invoice>
Proposed Solutioncorrect one

<Invoice>
<InvoiceNo>NC A019NCS/00002</InvoiceNo>
<ATCUD>0</ATCUD>
<DocumentStatus>
<InvoiceStatus>N</InvoiceStatus>
<InvoiceStatusDate>2021-09-20T15:11:00</InvoiceStatusDate>
<SourceID>vallblanca</SourceID>
<SourceBilling>P</SourceBilling>
</DocumentStatus>
<Hash>rVEnbPbGCwQEUG/SkpsUq/W1isW8busmIhpO4diw8N8XJTKTltjOipLwOpB6Ja5BBpTaS+frX0QG0AS7nR9/VxsoOzNQ5U8+vBqvvA02LzXfp0OnRJmY3skXPgfBIsLha+1tCFSw4iHKqYalRiGjuAZ1hTilTDylgKNDSI8tVp4=</Hash>
<HashControl>2</HashControl>
<InvoiceDate>2021-09-20</InvoiceDate>
<InvoiceType>NC</InvoiceType>
<SpecialRegimes>
<SelfBillingIndicator>0</SelfBillingIndicator>
<CashVATSchemeIndicator>0</CashVATSchemeIndicator>
<ThirdPartiesBillingIndicator>0</ThirdPartiesBillingIndicator>
</SpecialRegimes>
<SourceID>vallblanca</SourceID>
<SystemEntryDate>2021-09-20T15:11:00</SystemEntryDate>
<CustomerID>T019/C001</CustomerID>
<Line>
<LineNumber>1</LineNumber>
<ProductCode>T01</ProductCode>
<ProductDescription>T01 - Test Produto Normal</ProductDescription>
<Quantity>1</Quantity>
<UnitOfMeasure>Unit</UnitOfMeasure>
<UnitPrice>81.3</UnitPrice>
<TaxPointDate>2021-09-20</TaxPointDate>
<References>
<Reference>FS A019FS/00002</Reference>
</References>
<Description>T01 - Test Produto Normal</Description>
<DebitAmount>81.30</DebitAmount>
<Tax>
<TaxType>IVA</TaxType>
<TaxCountryRegion>PT</TaxCountryRegion>
<TaxCode>NOR</TaxCode>
<TaxPercentage>23</TaxPercentage>
</Tax>
</Line>
<DocumentTotals>
<TaxPayable>18.70</TaxPayable>
<NetTotal>81.30</NetTotal>
<GrossTotal>100.00</GrossTotal>
</DocumentTotals>
</Invoice>
TagsNOR
Attached Filespng file icon Campo_Description.png [^] (731,545 bytes) 2021-09-20 15:40
png file icon Receipt_Properties.png [^] (604,711 bytes) 2021-09-20 16:49

- Relationships Relation Graph ] Dependency Graph ]
related to feature request 0047749 closedcaristu Ability to include external invoice references into verified returns 
related to defect 0048713 closedjorge-garcia Original document number must be included in ticket description also when using Return Line 

-  Notes
(0131953)
psanjuan (manager)
2021-09-21 14:43

El popup que valida que la descripción se rellene en caso de blind returns es un desarrollo contribuido a la versión de SAFT de 20Q3:

https://gitlab.com/openbravo/product/pmods/com.practicsbs.saftpt.retail/-/merge_requests/10 [^]
(0131954)
psanjuan (manager)
2021-09-21 14:43

Reportado


http://practicsbs.zendesk.com/hc/requests/11471 [^]
(0132071)
caristu (developer)
2021-09-29 17:34
edited on: 2021-09-30 12:34

When fixing this issue please take into account that with the fix for issue 0047749 the verified returns can also include the information of the original invoice on their description.

Ensure that the following works fine after the fix:

- Original invoice reference is printed in case of Blind Return.
- Original invoice reference is printed in case of normal Verified Return.
- Original invoice reference is printed in case of Verified Return that contains the invoice reference on its description.
- Original invoice reference is included in SAFT in case of Blind Return.
- Original invoice reference is included in SAFT in case of normal Verified Return.
- Original invoice reference is included in SAFT in case of Verified Return that contains the invoice reference on its description.

(0132192)
hgbot (developer)
2021-10-06 11:32

Merge Request created: https://gitlab.com/openbravo/product/pmods/com.practicsbs.saftpt/-/merge_requests/22 [^]
(0132327)
hgbot (developer)
2021-10-13 17:50

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/com.practicsbs.saftpt [^]
Changeset: a9323e14fa1bb867ef168580b6e4e4a7970063d6
Author: Carlos Aristu <carlos.aristu@openbravo.com>
Date: 2021-10-06T11:30:49+02:00
URL: https://gitlab.com/openbravo/product/pmods/com.practicsbs.saftpt/-/commit/a9323e14fa1bb867ef168580b6e4e4a7970063d6 [^]

fixes ISSUE-47721: Add reference info for blind returns becoming verified

  Take reference information from the return description in those cases
where is not possible to find the referenced invoice because is not
present in the database.

---
M src/com/practicsbs/saftpt/data/ExportSourceDocs.java
M src/com/practicsbs/saftpt/data/Invoices_data.xsql
---
(0132328)
hgbot (developer)
2021-10-13 17:50

Merge request merged: https://gitlab.com/openbravo/product/pmods/com.practicsbs.saftpt/-/merge_requests/22 [^]
(0135338)
hgbot (developer)
2022-02-28 12:44

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/com.practicsbs.saftpt [^]
Changeset: d6f52bf9ed26a5e051dd71ccf10fc6e8e45f3ded
Author: Carlos Aristu <carlos.aristu@openbravo.com>
Date: 28-02-2022 11:44:20
URL: https://gitlab.com/openbravo/product/pmods/com.practicsbs.saftpt/-/commit/d6f52bf9ed26a5e051dd71ccf10fc6e8e45f3ded [^]

fixes ISSUE-47721: Add reference info for blind returns becoming verified

  Take reference information from the return description in those cases
where is not possible to find the referenced invoice because is not
present in the database.


(cherry picked from commit a9323e14fa1bb867ef168580b6e4e4a7970063d6)
---
M src/com/practicsbs/saftpt/data/ExportSourceDocs.java
M src/com/practicsbs/saftpt/data/Invoices_data.xsql
---

- Issue History
Date Modified Username Field Change
2021-09-20 15:38 psanjuan New Issue
2021-09-20 15:38 psanjuan Assigned To => forge_aes
2021-09-20 15:40 psanjuan File Added: Campo_Description.png
2021-09-20 15:40 psanjuan File Added: Receipt_Properties.png
2021-09-20 15:46 rafaroda Tag Attached: NOR
2021-09-20 15:59 psanjuan File Deleted: Receipt_Properties.png
2021-09-20 16:07 psanjuan Assigned To forge_aes => aferraz
2021-09-20 16:07 psanjuan Category Localization Peru => Localization Portugal
2021-09-20 16:49 psanjuan File Added: Receipt_Properties.png
2021-09-21 11:31 caristu Issue cloned 0047729
2021-09-21 14:43 psanjuan Note Added: 0131953
2021-09-21 14:43 psanjuan Note Added: 0131954
2021-09-21 14:45 psanjuan Summary SAFT file do not include Reference information, in case of a Blind Return that becomes Verified. => SAFT file does not include Reference information, in case of a Blind Return that becomes Verified.
2021-09-21 14:45 psanjuan Description Updated View Revisions
2021-09-28 10:59 vmromanos Status new => acknowledged
2021-09-29 17:33 caristu Relationship added related to 0047749
2021-09-29 17:34 caristu Note Added: 0132071
2021-09-29 17:34 caristu Note Edited: 0132071 View Revisions
2021-09-29 17:35 caristu Note View State: public: 132071
2021-09-29 17:38 aferraz Assigned To aferraz => psanjuan
2021-09-30 12:34 caristu Note Edited: 0132071 View Revisions
2021-10-06 11:32 caristu Assigned To psanjuan => caristu
2021-10-06 11:32 hgbot Note Added: 0132192
2021-10-13 17:50 hgbot Resolution open => fixed
2021-10-13 17:50 hgbot Status acknowledged => closed
2021-10-13 17:50 hgbot Note Added: 0132327
2021-10-13 17:50 hgbot Note Added: 0132328
2022-02-28 12:44 hgbot Note Added: 0135338
2022-03-03 14:23 aferraz Relationship added related to 0048713


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker