Update Credit status field (CDTSTA)

SOLVED

Is there a way to update the credit status field of a sales order on creation?  I have tried setting the value on in APRES_CRE "[M:SOH1]CDTSTA = 4" without any luck.  I have also tried using the entry point TRTVENCDT > CALCREDIT also without any luck.

TRTVENCDT   

$CALCREDIT
  If GREP = "C" and [M:SOH0]SOHTYP = 'YSOH'
    CDTSTA = 4
  Endif
Return

Parents Reply
  • 0 in reply to Allison Tentis

    Here is our issue.  We create a sales order.  The payment term requires a prepayment.  We issue the prepayment.  The sales order is then on hold for payment (field CDTSTA).  Later - the prepayment is made and posted.  If the sales order is not "accessed" manually by a user - field CDTSTA continues to report the sales order is on hold (which is not true as the payment was made).  Sage confirmed field CDTSTA does not update whenever the payment is posted.  Only accessing (or opening) the sales order manually will the field get updated.  The issue with this is real time reporting of orders on hold for non-payment using field CDTSTA.

Children