Archives

 

This is the complete (unencrypted) text for taSopLineIvcInsertComponent. 

DO NOT USE IT IN PRODUCTION, it's only here for us to look up how the logic works. 

 

Normally, I'd do all this in SQL, but the requirement is to loop through the grid in the IVTransfer form and look at the locations (and throw an error based on business logic)

So, I need to do this in the form, before the form is saved/posted. 

Code below

Note that this code will work for any module (most questions are for SOP), just edit the table name

 

Abridged, you ask?

These are just the ones that are in front of me at the moment

Whenever I start a project to mod Dynamics GP, I often need to add code to wire up events, and then code to access form level elements. 

So, I need to find the name of the form. I'll often go into GP and 'modify current form', that will get me something close... but not always exact. Then I have to go into .NET and guess. 

Below are the actual names of the forms, to stop the guessing. 

I'll add more as I go along. I have at least three this week I'll be adding. 

seeRMAgeTrailBalance, from GP 2018

This is for troubleshooting only, DO NOT RUN THIS IN YOUR PRODUCTION ENVIRONMENT. There is no telling what is different between my environment and yours.

 

I need to format RM00101.PHONE1 field in GP as a normal looking Phone Number.

In RM00101 the PHONE1 field is a string field (21 characters)

Example - In the interface the end user typically sees (208)363-4562 ext 0000

In the table the value is 20836345620000

In my query I'm have a hard time converting to an integer and then formatting like a Phone Number.

If you try this (below) - you get sql error because the table is storing 14 characters for a phone number (last 4 are extension)

select FORMAT(CAST(RM00101.Phone1 AS int), '000-000-0000') as Phone1 from RM00101

How can i convert the 14 digits so I get a basic (xxx)-xxx-xxxx phone number? I don't need extension number even if it's stored in the database. 

Thanks in advance - Bron 

Error: Component does not exist for the LNITMSEQ, CMPNTSEQ, and ITEMNMBR passed in

 

 

I had pasted the eConnect XML into the original post on this. Do you see it?

We have connected to the RM20101 table with Power BI and refresh the table daily, so we are able to see our current AR aging detail. We would also like to be able to create a report in Power BI that allows us to tie out to the AR account balance in the trial balance as of a given date (basically, recreating the “Detail Historical Aged Trial Balance"). Has anyone had success with this? 
Table Definition Quick Links
All Tables
SOP Tables
RM Tables
GL Tables
POP Tables
HR Tables
PM Tables
UPR Tables
IV Tables
Olympic Tables
3