Canada - Toronto, ON - AX

Expand all | Collapse all

Post Picking,Packing and Invoice for a sales order when an Item is "Stopped" from selling

  • 1.  Post Picking,Packing and Invoice for a sales order when an Item is "Stopped" from selling

    SILVER CONTRIBUTOR
    Posted 9 days ago
    Hi,
    What part of the code is used for performing Picking List, Packing List and Invoice of the sales order where it checks for the item number if it is available for the sales or not?

    Currently we have stopped an item from sales order under Released Products setup, but we still want to perform the picking list, packing list and invoice for the same. This is for the order which was already created before the setup on the InventItemSalesSetup.Stopped = Yes.

    Looking for x++ code where it makes the check during the process. Looks like SalesFormLetter_PickingList, SalesFormLetter_PackingList, SalesFormLetter_Invoice classes I did not see where it makes a check to see the item is stopped or not.

    Using: AX 2012 R3, CU12.

    ------------------------------
    D_Meethu R
    AX Developer
    Lush Fresh Handmade Cosmetics
    ON
    ------------------------------


  • 2.  RE: Post Picking,Packing and Invoice for a sales order when an Item is "Stopped" from selling

    GOLD CONTRIBUTOR
    Posted 2 days ago
    Edited by Christopher Ho Yee 2 days ago
    Have you considered temporarily "unstopping" the item to allow the sales order to be processed and then "stopping" it again as opposed to approaching this from a development perspective?

    This can be done also just for Sales orders and other transaction types can remain stopped.

    ------------------------------
    Christopher Ho Yee
    Altius Consulting
    Richmond BC
    ------------------------------



  • 3.  RE: Post Picking,Packing and Invoice for a sales order when an Item is "Stopped" from selling

    SILVER CONTRIBUTOR
    Posted 2 days ago
    Hi,
    I did uncheck the stopped field for the sales order and it process without any issues, but my problem is we have couple of items that are stopped for sales order but yet to be invoiced unchecking one-by-one is tedious. Want to know what checks if the items are stopped or not while posting the picking list, packing list and invoice.
    What part of the code makes a calls and check on the parameter been stopped or not.

    ------------------------------
    D_Meethu R
    AX Developer
    Lush Fresh Handmade Cosmetics
    ON
    ------------------------------



  • 4.  RE: Post Picking,Packing and Invoice for a sales order when an Item is "Stopped" from selling

    GOLD CONTRIBUTOR
    Posted 2 days ago
    Edited by Christopher Ho Yee 2 days ago
    Unfortunately, I am not a developer so can't help with the specifics.

    I still think that the business decision to set the item sale to stopped needs to be revisited. I'm assuming that the reason you are still getting sales orders for items that are stopped is that there are returns of old product or someone has found old product somewhere and it is still going out the door.

    By writing code to override this, it just puts into question the need to stop the item from sale. You're basically just saying let the sale go through regardless of the setting. Wouldn't it just make sense to leave it off? Just seems like a lot of additional complexity.

    What's the risk of an item being sold that is not stopped that you wanted stopped in the first place?

    ------------------------------
    Christopher Ho Yee
    Altius Consulting
    Richmond BC
    ------------------------------



If you've found this thread useful, dive deeper into User Group community content by role