Trigger Credit Warnings Programatically

lloydflloydf Member Posts: 73
I am creating sales orders programatically and would like to trigger the Credit Warnings as if I was creating the order manually however the warnings are not triggering when the sales order is created programatically despite the fact that when I create an order for the same customer manually the warnings trigger!
I am issuing a validate on the Bill To Customer No. field which should launch this functionality however the order is created without a warning.
Any advice would be appreciated

Comments

  • sandy_bsilsandy_bsil Member Posts: 40
    Since the warning use the T36 "Amount Including VAT" to check the credit limit which is nothing but the flowfield from the T37's "Amount Including VAT".So better try to validate the T36's "Bill-to Customer No." after inserting the T37's records with "Amount Including VAT" values in it.
    Sandeep B
  • lloydflloydf Member Posts: 73
    Thanks for your reply Sandeep. I did as you suggested, I did a CALCFIELDS on Amount Including VAT, Inserted the record and issued a Validate on the Bill To Customer No. Unfortunately still no credit warnings!!
Sign In or Register to comment.