Openbravo Issue Tracking System - Openbravo Localizations
View Issue Details
0051393Openbravo LocalizationsLocalization Portugalpublic2023-01-17 14:572023-01-18 18:14
jetxarri 
jetxarri 
highminoralways
closedfixed 
5
 
 
0051393: ATCUD property is not populated in the Order object loaded using Open Receipt 19Q3
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 0051392 closed jetxarri ATCUD property is not populated in the Order object loaded using Open Receipt 20Q3 
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 0051392
2023-01-17 15:24hgbotNote Added: 0145503
2023-01-18 18:14hgbotResolutionopen => fixed
2023-01-18 18:14hgbotStatusnew => closed
2023-01-18 18:14hgbotNote Added: 0145595
2023-01-18 18:14hgbotNote Added: 0145596

Notes
(0145503)
hgbot   
2023-01-17 15:24   
Merge Request created: https://gitlab.com/openbravo/product/pmods/com.practicsbs.saftpt.retail/-/merge_requests/98 [^]
(0145595)
hgbot   
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   
2023-01-18 18:14   
Merge request merged: https://gitlab.com/openbravo/product/pmods/com.practicsbs.saftpt.retail/-/merge_requests/98 [^]