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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0051393
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo Localizations] Localization Portugalminoralways2023-01-17 14:572023-01-18 18:14
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

0051393: ATCUD property is not populated in the Order object loaded using Open Receipt 19Q3

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 0051392 closedjetxarri ATCUD property is not populated in the Order object loaded using Open Receipt 20Q3 

-  Notes
(0145503)
hgbot (developer)
2023-01-17 15:24

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

Directly closing issue as related merge request is already approved.

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

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

---
M src/com/practicsbs/saftpt/retail/master/PaidReceiptProperties.java
---
(0145596)
hgbot (developer)
2023-01-18 18:14

Merge request merged: https://gitlab.com/openbravo/product/pmods/com.practicsbs.saftpt.retail/-/merge_requests/98 [^]

- 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 0051392
2023-01-17 15:24 hgbot Note Added: 0145503
2023-01-18 18:14 hgbot Resolution open => fixed
2023-01-18 18:14 hgbot Status new => closed
2023-01-18 18:14 hgbot Note Added: 0145595
2023-01-18 18:14 hgbot Note Added: 0145596


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker