Openbravo Issue Tracking System - Openbravo Localizations
View Issue Details
0051375Openbravo LocalizationsLocalization Portugalpublic2023-01-16 12:092023-01-18 18:13
malsasua 
jetxarri 
highmajoralways
closedfixed 
5
 
 
0051375: ATCUD property is not populated in the Order object loaded using Open Receipt
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 backport 0051392 closed jetxarri ATCUD property is not populated in the Order object loaded using Open Receipt 20Q3 
related to backport 0051393 closed jetxarri ATCUD property is not populated in the Order object loaded using Open Receipt 19Q3 
Issue History
2023-01-16 12:09malsasuaNew Issue
2023-01-16 12:09malsasuaAssigned To => psanjuan
2023-01-16 12:49jetxarriAssigned Topsanjuan => jetxarri
2023-01-17 14:57jetxarriIssue cloned0051392
2023-01-17 14:57jetxarriRelationship addedrelated to 0051392
2023-01-17 14:57jetxarriIssue cloned0051393
2023-01-17 14:57jetxarriRelationship addedrelated to 0051393
2023-01-17 15:00hgbotNote Added: 0145499
2023-01-18 18:13hgbotResolutionopen => fixed
2023-01-18 18:13hgbotStatusnew => closed
2023-01-18 18:13hgbotNote Added: 0145591
2023-01-18 18:13hgbotNote Added: 0145592

Notes
(0145499)
hgbot   
2023-01-17 15:00   
Merge Request created: https://gitlab.com/openbravo/product/pmods/com.practicsbs.saftpt.retail/-/merge_requests/95 [^]
(0145591)
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: 902234b8ca1d143cfe31315b55849bcb44ded6f9
Author: Javier Etxarri <javier.etxarri@openbravo.com>
Date: 18-01-2023 17:12:26
URL: https://gitlab.com/openbravo/product/pmods/com.practicsbs.saftpt.retail/-/commit/902234b8ca1d143cfe31315b55849bcb44ded6f9 [^]

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

---
M src/com/practicsbs/saftpt/retail/master/PaidReceiptProperties.java
---
(0145592)
hgbot   
2023-01-18 18:13   
Merge request merged: https://gitlab.com/openbravo/product/pmods/com.practicsbs.saftpt.retail/-/merge_requests/95 [^]