Sage 100

 View Only
  • 1.  PostWrite script adding a line interferes with exploding kits

    Posted 12-17-2020 17:21

    We have an SO line PostWrite script that conditionally adds lines (a service charge, special discount...) which has been working great for years.

    Now the customer wants to set up exploding kits... which work great, except for lines that qualify for the PostWrite script which adds a line.  When the script adds a line, the component lines are never added, even though the parent SO Line is tagged as ExplodedKitItem = Y.

    Are there some values I can reset at the end of the script to allow the components to explode as expected?



    ------------------------------
    Kevin Moyes
    Technical Systems Analyst
    Munjal White Consulting Co.
    Toronto ON
    ------------------------------


  • 2.  RE: PostWrite script adding a line interferes with exploding kits

    Posted 12-28-2020 22:26
    Edited by David Speck II 12-28-2020 22:25

    Did you see my latest reply to your post on SageCity, i got this to work by setting the detail object back to the key of the parent item being exploded.

    Here's a link directly to my reply.

    https://www.sagecity.com/support_communities/sage100_erp/f/sage-100-business-object-interface/160634/postwrite-script-adding-a-line-interferes-with-exploding-kits/416685#416685 



    ------------------------------
    David Speck II
    Tennessee Software Solutions
    ------------------------------



  • 3.  RE: PostWrite script adding a line interferes with exploding kits

    Posted 12-29-2020 15:36

    Thanks David.  I've been off for a few days, and will certainly give your recommendations a try, then report back the results (when I have the time).



    ------------------------------
    Kevin Moyes
    Technical Systems Analyst
    Munjal White Consulting Co.
    Toronto ON
    ------------------------------