Openbravo Issue Tracking System - Openbravo Localizations
View Issue Details
0051392Openbravo LocalizationsLocalization Portugalpublic2023-01-17 14:572023-01-18 18:13
jetxarri 
jetxarri 
highminoralways
closedfixed 
5
 
 
0051392: ATCUD property is not populated in the Order object loaded using Open Receipt 20Q3
ATCUD property is not populated in the Order object loaded using Open Receipt

The ATCUD code should be added as property in paidReceiptsPropertyExtension
in 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
...

@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"));
      }
    });
No tags attached.
related to defect 0051375 closed jetxarri ATCUD property is not populated in the Order object loaded using Open Receipt 
related to backport 0051393 closed jetxarri ATCUD property is not populated in the Order object loaded using Open Receipt 19Q3 
Issue History
2023-01-17 14:57jetxarriNew Issue
2023-01-17 14:57jetxarriAssigned To => jetxarri
2023-01-17 14:57jetxarriIssue generated from0051375
2023-01-17 14:57jetxarriRelationship addedrelated to 0051375
2023-01-17 14:57jetxarriRelationship addedrelated to 0051393
2023-01-17 15:03hgbotNote Added: 0145501
2023-01-18 18:13hgbotNote Added: 0145593
2023-01-18 18:13hgbotResolutionopen => fixed
2023-01-18 18:13hgbotStatusnew => closed
2023-01-18 18:13hgbotNote Added: 0145594

Notes
(0145501)
hgbot   
2023-01-17 15:03   
Merge Request created: https://gitlab.com/openbravo/product/pmods/com.practicsbs.saftpt.retail/-/merge_requests/96 [^]
(0145593)
hgbot   
2023-01-18 18:13   
Merge request merged: https://gitlab.com/openbravo/product/pmods/com.practicsbs.saftpt.retail/-/merge_requests/96 [^]
(0145594)
hgbot   
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
---