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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0051392
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo Localizations] Localization Portugalminoralways2023-01-17 14:572023-01-18 18:13
ReporterjetxarriView Statuspublic 
Assigned Tojetxarri 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Regression date
Regression introduced by commit
Regression level
Regression introduced in release
Summary

0051392: ATCUD property is not populated in the Order object loaded using Open Receipt 20Q3

DescriptionATCUD property is not populated in the Order object loaded using Open Receipt

The ATCUD code should be added as property in paidReceiptsPropertyExtension
Steps To Reproducein POS:
- complete a ticket-> atcud code is printed in the ticket
- click in Open Receipt: load the previous receipt
- click in Print Receipt option
atcud code is not printed in the reprint
Proposed Solution...

@Qualifier(PaidReceipts.paidReceiptsPropertyExtension)
public class PaidReceiptProperties extends ModelExtension {

  @Override
  public List<HQLProperty> getHQLProperties(Object params) {
    return (new ArrayList<HQLProperty>() {
      private static final long serialVersionUID = 1L;
      {

        add(new HQLProperty(
            "coalesce((select inv.sAFTATCUDDocumentNo from Invoice inv where inv.salesOrder.id = ord.id), null)",
            "saftAtcudDocNo"));
      }
    });
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0051375 closedjetxarri ATCUD property is not populated in the Order object loaded using Open Receipt 
related to backport 0051393 closedjetxarri ATCUD property is not populated in the Order object loaded using Open Receipt 19Q3 

-  Notes
(0145501)
hgbot (developer)
2023-01-17 15:03

Merge Request created: https://gitlab.com/openbravo/product/pmods/com.practicsbs.saftpt.retail/-/merge_requests/96 [^]
(0145593)
hgbot (developer)
2023-01-18 18:13

Merge request merged: https://gitlab.com/openbravo/product/pmods/com.practicsbs.saftpt.retail/-/merge_requests/96 [^]
(0145594)
hgbot (developer)
2023-01-18 18:13

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/com.practicsbs.saftpt.retail [^]
Changeset: c206e682a450e5310e21a618e1f049a0161d0e89
Author: Javier Etxarri <javier.etxarri@openbravo.com>
Date: 18-01-2023 17:13:12
URL: https://gitlab.com/openbravo/product/pmods/com.practicsbs.saftpt.retail/-/commit/c206e682a450e5310e21a618e1f049a0161d0e89 [^]

Fixes ISSUE-51392: ATCUD property is not populated in the Order object loaded using Open Receipt

---
M src/com/practicsbs/saftpt/retail/master/PaidReceiptProperties.java
---

- Issue History
Date Modified Username Field Change
2023-01-17 14:57 jetxarri New Issue
2023-01-17 14:57 jetxarri Assigned To => jetxarri
2023-01-17 14:57 jetxarri Issue generated from 0051375
2023-01-17 14:57 jetxarri Relationship added related to 0051375
2023-01-17 14:57 jetxarri Relationship added related to 0051393
2023-01-17 15:03 hgbot Note Added: 0145501
2023-01-18 18:13 hgbot Note Added: 0145593
2023-01-18 18:13 hgbot Resolution open => fixed
2023-01-18 18:13 hgbot Status new => closed
2023-01-18 18:13 hgbot Note Added: 0145594


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker