Jump to content

[Sage X3 Ver. 11.12.] Purchase Prices List from Manufacturing Orders to subcontracting orders


 Share

Recommended Posts

[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.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...