Archives

 
In response to a request, RM Transactions with Distributions

I'm asked from time to time to do margin calculations, especially in reporting. 

After looking this up 3 times a year for forever (smiles) I'm just going to create a post so I'll have it. 

The value of this article is in the menu structure (above). Follow the link that says 'This article, and all our great SQL (General) documentation'... and remember where it is for when you need it. 

Normally, a receivings view has three tables

SELECT rct.POPRCTNM, rct.VENDORID, rcl.ITEMNMBR, rlq.QTYSHPPD, rlq.QTYINVCD, rlq.PONUMBER, rcl.PURPVIDX
    FROM pop10300 rct
        JOIN pop10310 rcl ON rcl.POPRCTNM = rct.POPRCTNM
        JOIN pop10500 rlq ON rlq.POPRCTNM = rcl.POPRCTNM AND rlq.RCPTLNNM = rcl.RCPTLNNM

But if you want distributions, I don't see where you can have the lines because there is no link from the lines to the dists. 

 

Do you have a view that pulls the Receiving Transactions with associated distributions?

I have a string field (Resident Name) in my database that I need to parse to be First Name and Last Name.

Seems easy - I have it working most of the time.

Sometimes my string field has a & character to indicate a married couple. 

I need to modify my script to work when the resident name is formatted with a &.

Here's a picture of the dataset: 

Here's my script for first name and last name being 'parsed' out of the resident name

LEFT([ResidentName], charindex(' ', [ResidentName]) - 1) as [First Name],
SUBSTRING([ResidentName], CHARINDEX(' ', [ResidentName]) + 1, LEN([ResidentName]) - CHARINDEX(' ', [ResidentName])) as [Last Name], 

How can I modify my LEFT syntax to be something like left of & - rather than simplistic left of the first space if there is a & or simply left of first space if we don't have a & in the field? 

Thanks in advance,

Bron 

 

 

 

 

Good morning, if you can help me by telling me where the amount that appears in the QTYBKORD field of table IV00102 comes from.

Good day team,

Is it possible to generate and print the inventory subledger in Dynamics GP 2018 with accurate theoretical quantities as of August 31? I would appreciate your guidance on this.

Thank you in advance.

Best regards,

Good morning,

I have the following error in GP18 when try to post payroll checks and print journals or print Purchasing Invoice Distribution Detail Journal.

I found a temporary solution in the link https://www.winhelponline.com/blog/restore-legacy-print-dialog-windows-11/

But I noticed the problem when Windows installed automatic updates and change the Print Dialog, so my question is Windows and GP18 will solve the problem in a near future?,

What alternative do I have to prevent Windows changing the Print Dialog again because the pc’s need updates periodically for security and performance purposes.

Any suggestions are welcome,

Sincerely,

 Mario García

Versión: GP18.4.1436

 

I have a customer who wants me to use econnect to do what they call a bin allocation. I can probably do this in SQL, but they want me to use econnect.

Basically, we have transferred a SOP to the WMS. Once someone picks a SO line in the WMS, we need to get that picked qty back to GP. I believe it updates a picked qty in the SOP10200 table. The question is, is there a method to do this in econnect?

HI, i have Econnect running in order to upload orders to the sales Module.

We have a few instances of GP 2018 running with Econnect 18, in one of them every time we have an issue (Setup of item missed, credit limit, etc) we got this error instead

There was an error reading from the pipe: The pipe has been ended. (109, 0x6d).
The communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for communication because it is in the Faulted state.

When i got this, i know we have an issue, i just go and find the issue. Usually i'm accustomed to get things like this from Econnect

Error Number = 108  Stored Procedure= taSopLineIvcInsert  Error Description = Inventory item does not exist  (This is a random example of an item not being setup)
Node Identifier Parameters: taSopLineIvcInsert
SOPNUMBE = UPL0418028
SOPTYPE = 2
LNITMSEQ = 16384
Related Error Code Parameters for Node : taSopLineIvcInsert
NONINVEN = Note: This parameter was not passed in, no value for the parameter will be returned.
ITEMNMBR = 731855051069
 

I'm not getting that anymore for some reason that i can't understand, instead i got issues that won't allow me to easily find what's going on. This makes it very difficult for me to pinpoint any issue and communicate back to user.

I've been comparing the DB instances and i can't find anything different, the access of the user we use for the service is the same as well as the database objects.

I ran a trace on sql profiler to see which stored procedures/tables econnect calls, i could get some procedures and it seems like i got them all, but unfortunately due to the fact that the scripts are encrypted i could not get exactly what's running each one of them.  

Any ideas  of what i can check would be welcome, my GP vendor  is not being very helpful either.

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