web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics SL (Archived)

EventId in SoEvent

(0) ShareShare
ReportReport
Posted on by 75

Hello,

We are trying to insert an event row in the SoEvent Table to signal a report has been printed. In looking at the EventId field, it is obviously not a uniqueidentifier or an auto-incrmeneted field so we haven't been able to figure out how this can be generated.

Any thoughts on generating a valid eventID to insert in the SOEvent Table

Thanks

*This post is locked for comments

I have the same question (0)
  • Paul Phillips Profile Picture
    590 on at

    I suggest just calling stored procedure 'ADG_SOEvent_Create' to create a log entry. It takes the following parameters:

     @cpnyid  varchar(10),  
     @descr  varchar(30),  
     @eventtype varchar(4),  
     @ordnbr  varchar(15),  
     @progid  varchar(8),  
     @shipperid varchar(15),  
     @userid  varchar(10)

    @shipperid is specified when the entry pertains to a shipper, otherwise it is left blank.

    The SOEvent table does use an identity field for EventID (for version 7 anyway), so you should be able to insert without specifying a value. Or use the above procedure whose text shows how it is done.

    Valid values for eventtype:

    • X - None
    • ENT - Enter Order
    • MORD - Modify Order
    • DET - Approve Order Details
    • TECH - Technical Approval
    • COST - Cost/Price Approval
    • REL - Release Order
    • PRC - Print Order Confirmation
    • PRQ - Print Quote
    • GPO - Generate POs Needed
    • AAI - Auto Advance to Invoice
    • RMA - Create RMA Receiver
    • CRTS - Create Shipper
    • ENTS - Enter Shipper
    • MSHP - Modify Shipper
    • PPIK - Print Picking List
    • CPIK - Confirm Picking
    • NPIK - Print Picking Notice
    • RASY - Release for Assembly
    • PASY - Print Workorder
    • CASY - Confirm Assembly
    • NASY - Print Assembly Notice
    • RINS - Release for Inspection
    • PINS - Print Inspection Order
    • CINS - Confirm Inspection
    • NINS - Print Inspection Notice
    • RPAK - Release for Packing
    • PPAK - Print Packing Slip
    • CPAK - Confirm Packing
    • NPAK - Print Packing Notice
    • RSHP - Release for Shipping
    • PSHP - Print Bill of Lading
    • SLAB - Print Shipping Label
    • MAN - Manifest Shipment
    • CSHP - Confirm Shipment
    • NSHP - Print Advance Ship Notice
    • RUPD - Release for Update
    • USHP - Update Shipper
    • PINV - Print Invoice
    • AHLD - Administrative Hold
    • AREL - Release Administrative Hold
    • CHLD - Credit Hold
    • CREL - Release Credit Hold
    • CANO - Cancel Order
    • CANA - Cancel Order (Automatic)
    • CANS - Cancel Shipper
    • CAND - Cancel Schedules (Cancel Date)
    • CLOR - Close Order
    • CLSH - Close Shipper
    • MREL - Manual Release
    • RREC - Release For Receipt
    • PREC - Print Receiver
    • CREC - Confirm Receipt
    • 0 - User Event 0
    • 1 - User Event 1
    • 2 - User Event 2
    • 3 - User Event 3
    • 4 - User Event 4
    • 5 - User Event 5
    • 6 - User Event 6
    • 7 - User Event 7
    • 8 - User Event 8
    • 9 - User Event 9

  • Community Member Profile Picture
    on at

    [CpnyID] ASC,

    [OrdNbr] ASC,

    [ShipperID] ASC,

    [EventID] ASC

    Is the primary key. Still do not understand why you want to insert into that table, why not to add a status to a SO - Report being Printed.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics SL (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans