Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

TRXSORCE

Status
Not open for further replies.

SpeedBWild

Programmer
Apr 29, 2004
117
US
When does the TRXSORCE get populated? I see this field in many tables, but I am not sure how a value gets assigned to it and what table it originates from.


I have a stand-alone application that inserts sale orders into GP. I believe the first time the TRXSORCE is affected is when I am inserting data into the SOP10105 for the transaction tax detail record. But I don’t know what to put for the TRXSORCE number. Any ideas?

Thanks,
 
Under Setup > Posting > Audit Trail Codes will show you the next number.

Thanks!
Barb E.
 
You can scan the SY01000 table for that TRXSORCE to grab the next number, then once the document has been inserted, you can increase the number by 1.
 
I entered a sales order, then saved. The next number does not get updated. I then transferred the order to an invoice, it gets increased. I entered a manual invoice, the next number does not get increased. I posted this manual invoice, then the number gets increased. Therefore, this table is only updated when an order is transferred or invoice is posted. You do not need to worry about this table for your imports.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top