VALUER Action Parameter Empty via Import

SOLVED

On MISC RECEIPT screen

SPE:

Subprog AP_LOT(VALEUR)
Variable Char VALEUR()

The VALUER variable is empty when I use a import template, but not when I use the UI. Help please Slight smile

Parents
  • +1
    verified answer

    Good day Diego,

    This is because field entry works differently on an import. I am not sure what you want to do with the value of VALEUR, but you can use can get the LOT value directly from the screen in the event of an import. For example, validate that process being executed is via an import and if the value of VALEUR is blank, then load the value from the screen field.

    if [V]GIMPORT and VALEUR <> ''

    VALEUR = [SMR1]LOT(nolign-1)

    endif

Reply
  • +1
    verified answer

    Good day Diego,

    This is because field entry works differently on an import. I am not sure what you want to do with the value of VALEUR, but you can use can get the LOT value directly from the screen in the event of an import. For example, validate that process being executed is via an import and if the value of VALEUR is blank, then load the value from the screen field.

    if [V]GIMPORT and VALEUR <> ''

    VALEUR = [SMR1]LOT(nolign-1)

    endif

Children