Jump to content

FabioDavide76

Members
  • Posts

    6
  • Joined

  • Last visited

Posts posted by FabioDavide76

  1. Hi guys.

    i've a question about scripting performance.

    in some script i found the following syntax

    Filter [classitm]where itmkey = value
    Read [
    classitm]First

    instead of

    Read[classitm]itmkey= value

    Which syntax is faster?


    Omitting Filter [class] statements after a Filter [class] where field=value.
    Could it cause a program to degrade in performance?

    Thank u in advance.

     

    • Like 1
  2. Hi guy, i've a problem.

    From a custom button, I create a file according to the path of the SCS import model.

    But when I run the import, I am notified OF UNAUTHORIZED LOCALTYPDES

    But when I launch the import, X3 show me the trace with this error LOCALTYPDES not authorized.

    If I use the GESSCS function, entering the same data, it works correctly. Can you help me?

    THKS

    [in attach my import datafiles]

    YSCS_220136_11588_1.txt

  3. [Sage X3 Ver. 11.12.]
    From the operations tab of manufacturing orders, row action order, generate a purchase order. the cost must be recovered from the standard price lists, using the article launched and not the processing/operation itmref.

     

    I'm trying to use the entry point TARIFACH of TRTPRICE program:

    ....

    # func YTRTPRICE.TARIFACH
    #return in YMONTANT the gross price of the processing
    #return in YMOTIF the value in PRIRIEN from PPRICCONF

      RES = func YTRTPRICE.TARIFACH(YMONTANT, YMOTIF)
      If RES = 1

        MONTANT(0) = YMONTANT
        MOTIF(0) = YMOTIF

      Endif
    ....

    but the purchase order is generated without gross price. I don't understand.

  4. Hi Ben.
    The product is Sage X3 Ver. 11.12.

    I'm trying to use the entry point TARIFACH of TRTPRICE program:

    ....

    # func YTRTPRICE.TARIFACH
    #return in YMONTANT the gross price of the processing
    #return in YMOTIF the value in PRIRIEN from PPRICCONF

      RES = func YTRTPRICE.TARIFACH(YMONTANT, YMOTIF)
      If RES = 1

        MONTANT(0) = YMONTANT
        MOTIF(0) = YMOTIF

      Endif
    ....

    but the purchase order is generated without gross price. I don't understand.

×
×
  • Create New...