Skip to main content
Question

Payment and applications mobile App

  • January 30, 2025
  • 0 replies
  • 18 views

adriangavino45
Freshman I
Forum|alt.badge.img

Good day, everyone,

In the mobile application, I'm trying to insert a new detail line in "Documents to Apply." Here is the code:

update screen AR302000 {
  openAs = Form
  update container "PaymentSummary" {
    formActionsToExpand = 1
      update layout "PaymentHeader" {
      displayName = "PaymentHeader"
      layout = "HeaderSimple"
      update layout "PaymentHeaderNbrRow" {
        displayName = "PaymentHeaderNbrRow"
        layout = "Inline"
        update field "ReferenceNbr" {
          displayName = "Ref. Nbr."
        }
        update field "Status"
      }
      update field "ProcessingStatus"
    }     
    add recordAction "ImpRecCob" {
      redirect = True
    }
    update layout "DocumentsToApply" {
      displayName = "Documents To Apply"
      layout = "DataTab"
      update containerLink "DocumentsToApply"
    }
    update layout "PaymentTypeRow" {
      displayName = "PaymentTypeRow"
      layout = "Inline"
      update field "Type"
      update field "Hold"
    }
    update group "PaymentAmtGroup" {
      displayName = "PaymentAmtGroup"
      collapsed = True
      template = ExpansionPanel
      update layout "PaymentAmtRow" {
        displayName = "PaymentAmtRow"
        layout = "Inline"
        update field "PaymentAmount"
        update field "Currency"
      }
      update layout "PaymentAppliedRow" {
        displayName = "PaymentAppliedRow"
        layout = "Inline"
        update field "AppliedToDocuments"
        update field "AppliedToOrders"
      }
      update layout "PaymentBalanceRow" {
        displayName = "PaymentBalanceRow"
        layout = "Inline"
        update field "AvailableBalanceCuryUnappliedBal"
        update field "WriteOffAmount"
      }
      update layout "PaymentChargesRow" {
        displayName = "PaymentChargesRow"
        layout = "Inline"
        update field "FinanceCharges"
        update field "DeductedCharges"
      }
    }
    update layout "PaymentDateRow" {
      displayName = "PaymentDateRow"
      layout = "Inline"
      update field "ApplicationDate" {
        displayName = "Payment Date"
      }
      update field "ApplicationPeriod" {
        displayName = "Payment Period"
      }
    }
    update field "PaymentRef"
    update field "Customer" {
      selectorDisplayFormat = KeyDescription
      pickerType = Searchable
    }
    update field "Location" {
      selectorDisplayFormat = KeyDescription
    }
    update field "PaymentMethod" {
      selectorDisplayFormat = KeyDescription
    }
    update field "NewCard"
    update field "SaveCard"
    update field "OrigTransaction"
    update field "ProcCenterID"
    update field "CardAccountNbr"
    update field "CashAccount" {
      selectorDisplayFormat = KeyDescription
    }
    update field "DepositAfter"
    update field "Description"
    update field "ROTOrRUTPayment"
    update field "FinancialDetailsLinkToGL#Branch"
    update field "NoteText" {
      textType = PlainMultiLine
    }
    update recordAction "Cancel" {
      behavior = Cancel
      after = Close
    }
    update recordAction "Save" {
      behavior = Save
    }
    add recordAction "ReleaseFromHold" {
      behavior = Record
    }
      add recordAction "Release" {
      behavior = Record
    }
    update recordAction "CaptureCCPayment" {
      behavior = Record
      redirect = True
      syncLongOperation = True
    }
    update recordAction "AuthorizeCCPayment" {
      behavior = Record
      redirect = True
      syncLongOperation = True
    }
    update recordAction "VoidCCPayment" {
      behavior = Record
      syncLongOperation = True
    }
    update recordAction "CreditCCPayment" {
      behavior = Record
      syncLongOperation = True
    }
    update recordAction "ValidateCCPayment" {
      behavior = Record
      syncLongOperation = True
    }
    update recordAction "Delete" {
      icon = "system://Trash"
      behavior = Delete
      after = Close
    }
    update recordAction "Approve" {
      behavior = Record
      syncLongOperation = True
    }
    update recordAction "Reject" {
      behavior = Record
      syncLongOperation = True
    }

    attachments {
    }
  }
  update container "DocumentsToApply" {
    Add containerAction "Insert" {
    icon = "system://Plus"
    behavior = Create }
    add recordAction "Insert" {
    displayName = "Add Another"
    icon = "system://Plus"
    behavior = Create }  
    fieldsToShow = 3
      formActionsToExpand = 2
      containerActionsToExpand = 1    
    update layout "DocumentNbrRow" {
      displayName = "DocumentNbrRow"
      layout = "Inline"
      update field "DocType" {
        forceIsDisabled = True
        listPriority = 100
      }
      update field "ReferenceNbr" {
        forceIsDisabled = True
      }
    }
    update field "AmountPaid" {
      listPriority = 90
    }
    update field "Customer"
    update field "CashDiscountTaken"
    update field "Balance"
    update field "CashDiscountBalance"
    update field "Currency" {
      listPriority = 70
    }
    update field "Date"
    update field "Description" {
      listPriority = 80
    }
    update field "NoteText" {
      textType = PlainMultiLine
    }
    attachments {
    }
  }
  update container "SalesOrders" {
    fieldsToShow = 2
    update layout "OrderNbrRow" {
      displayName = "OrderNbrRow"
      layout = "Inline"
      update field "OrderType" {
        forceIsDisabled = True
      }
      update field "OrderNbr" {
        forceIsDisabled = True
        listPriority = 100
      }
    }
    update field "AppliedToOrder" {
      listPriority = 90
    }
    update layout "OrderBalanceRow" {
      displayName = "OrderBalanceRow"
      layout = "Inline"
      update field "OrderTotal"
      update field "Balance"
    }
    update field "NoteText" {
      textType = PlainMultiLine
    }
    attachments {
    }
  }
  update container "Approvals" {
    fieldsToShow = 4
    containerActionsToExpand = 1
    update field "AssignedTo" {
      listPriority = 100
    }
    update field "ApprovedBy"
    update field "ApprovalDate" {
      listPriority = 90
    }
    update field "Status" {
      listPriority = 80
    }
    update field "Workgroup"
    attachments {
    }
  }
}

However, when testing the solution, I get the following error:

 

Could anyone help me resolve this issue?
Thank you very much!

Regards!

0 replies

Be the first to reply!

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings