Skip to Content
avatar image
Former Member

Assign condition type for payment terms

When i creating a sales order, when the payment is COD, then it will trigger one of condition price mandatory, it I choose other payment terms, the trigger will be ignore. I would like to know how to set this checking, since i want to remove it. Thanks!

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Dec 04, 2008 at 09:38 AM

    Hi,

    You can try user exit USEREXIT_CHECK_VBKD or USEREXIT_SAVE_DOCUMENT_PREPARE applying following logic

    If VBAK-AUART = u2018ORu2019 and VBKD-ZTERMS = 'COD' THEN xkomv-KSCHL = 'XXXX'(YOUR CONDITION TYPE) and KOMV-KHERK u2018Cu2019

    Else IGNORE

    I am not sure but you can try.

    Rgds

    San

    Add comment
    10|10000 characters needed characters exceeded