Customer Shipment "Review Button"

Here's my little review button that compares the OrderHed.ShipToNum and ShipHead.ShipToNum

Private Sub btnEpiCustom2_Click(ByVal Sender As Object, ByVal Args As System.EventArgs) Handles btnEpiCustom2.Click
'// ** Place Event Handling Code Here **


Dim [edvVarName3] As EpiDataView = CType(oTrans.EpiDataViews("ShipDtl"), EpiDataView)
Dim ordernum As Int32 = [edvVarName3].dataView([edvVarName3].Row)("OrderNum")

dim recselected as boolean
dim showsearch as boolean = true
dim whereclause as string = "OrderNum =" & ordernum


Dim [edvVarName2] As EpiDataView = CType(oTrans.EpiDataViews("ShipDtl"), EpiDataView)
Dim packnum As Int32 = [edvVarName2].dataView([edvVarName2].Row)("PackNum")

Dim [edvVarName] As EpiDataView = CType(oTrans.EpiDataViews("ShipHead"), EpiDataView)
Dim packshipto As String = [edvVarName].dataView([edvVarName].Row)("ShipToNum").ToString()



dim dsSearch as Dataset = Epicor.Mfg.UI.FormFunctions.searchfunctions.listlookup(otrans,"SalesOrdHedDtlAdapter",recselected,showsearch,whereclause)
dim ordershipto as string
ordershipto = dsSearch.Tables(0).Rows(0)("ShipToNum")

if recSelected then
if (packshipto <> ordershipto) then
messagebox.Show("MISMATCH ADDRESS")
end if

End If


End Sub


--- In vantage@yahoogroups.com, "sanfranc415" <sanfranc415@...> wrote:
>
> Okay, so if I'm using an if/then statement that is queried on the click of a button, do I need to bring the the orderhed and shiphead adapters to do the search for the shiptonum?
>
>
>
> --- In vantage@yahoogroups.com, "neverunmacron" <neverunmacron@> wrote:
> >
> >
> > JP,
> >
> > when you say verify that the ship to matches the packing slip? Are you having trouble with the wrong packing slips?
> >
> > Jose
> > --- In vantage@yahoogroups.com, "sanfranc415" <sanfranc415@> wrote:
> > >
> > > In light of several errors by our shipping department, they've requested a "review button," this button would go out and verify the Sales Order Shipto and verify it matches the Packing Slip Shipto, is this something that can be don't natively in Vantage?
> > >
> > > --jp
> > >
> >
>
In light of several errors by our shipping department, they've requested a "review button," this button would go out and verify the Sales Order Shipto and verify it matches the Packing Slip Shipto, is this something that can be don't natively in Vantage?

--jp
JP,

when you say verify that the ship to matches the packing slip? Are you having trouble with the wrong packing slips?

Jose
--- In vantage@yahoogroups.com, "sanfranc415" <sanfranc415@...> wrote:
>
> In light of several errors by our shipping department, they've requested a "review button," this button would go out and verify the Sales Order Shipto and verify it matches the Packing Slip Shipto, is this something that can be don't natively in Vantage?
>
> --jp
>
During the time the Sales Order and Packing slip is created, they're are instances when the ShipTo changes on the Sales Order, and the slim chance the Packing Slip is not updated to reflect the Sales Order change.

Also, if the Packing Slip is voided after it is Invoiced, and this would cause our customer to be billed twice since another Packing Slip is created and then Invoiced.

The "Review Button" would verify both of these values.
--- In vantage@yahoogroups.com, "neverunmacron" <neverunmacron@...> wrote:
>
>
> JP,
>
> when you say verify that the ship to matches the packing slip? Are you having trouble with the wrong packing slips?
>
> Jose
> --- In vantage@yahoogroups.com, "sanfranc415" <sanfranc415@> wrote:
> >
> > In light of several errors by our shipping department, they've requested a "review button," this button would go out and verify the Sales Order Shipto and verify it matches the Packing Slip Shipto, is this something that can be don't natively in Vantage?
> >
> > --jp
> >
>
So your Customer Service changes the shipto address after shipping has created the PackID, just like ours? :)
Â
A Review button would be fairly easy to do in a customization.
Â
Steven G.


________________________________
From: sanfranc415 <sanfranc415@...>
To: vantage@yahoogroups.com
Sent: Friday, May 24, 2013 10:45 AM
Subject: [Vantage] Customer Shipment "Review Button"

Â
In light of several errors by our shipping department, they've requested a "review button," this button would go out and verify the Sales Order Shipto and verify it matches the Packing Slip Shipto, is this something that can be don't natively in Vantage?

--jp




[Non-text portions of this message have been removed]
Can’t this just be a dashboard?

Filter
OrderHed.ShipVia not eq ShipHed.ShipVia;

Sorry, are dashboards available in Vntage?

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of Steven Gotschall
Sent: Friday, May 24, 2013 1:28 PM
To: vantage@yahoogroups.com
Subject: Re: [Vantage] Customer Shipment "Review Button"



So your Customer Service changes the shipto address after shipping has created the PackID, just like ours? :)

A Review button would be fairly easy to do in a customization.

Steven G.

________________________________
From: sanfranc415 <sanfranc415@...<mailto:sanfranc415%40yahoo.com>>
To: vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com>
Sent: Friday, May 24, 2013 10:45 AM
Subject: [Vantage] Customer Shipment "Review Button"


In light of several errors by our shipping department, they've requested a "review button," this button would go out and verify the Sales Order Shipto and verify it matches the Packing Slip Shipto, is this something that can be don't natively in Vantage?

--jp

[Non-text portions of this message have been removed]



[Non-text portions of this message have been removed]
Yes, dashboards are in Vantage – and you can publish one right in the customer shipment entry screen – to show as suggested below or just to show the current order line release and the ship to on the sales order I expect…

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of Miguel Santillan
Sent: Friday, May 24, 2013 3:34 PM
To: vantage@yahoogroups.com
Subject: RE: [Vantage] Customer Shipment "Review Button"



Can’t this just be a dashboard?

Filter
OrderHed.ShipVia not eq ShipHed.ShipVia;

Sorry, are dashboards available in Vntage?

From: vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com> [mailto:vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com>] On Behalf Of Steven Gotschall
Sent: Friday, May 24, 2013 1:28 PM
To: vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com>
Subject: Re: [Vantage] Customer Shipment "Review Button"



So your Customer Service changes the shipto address after shipping has created the PackID, just like ours? :)

A Review button would be fairly easy to do in a customization.

Steven G.

________________________________
From: sanfranc415 <sanfranc415@...<mailto:sanfranc415%40yahoo.com><mailto:sanfranc415%40yahoo.com>>
To: vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com><mailto:vantage%40yahoogroups.com>
Sent: Friday, May 24, 2013 10:45 AM
Subject: [Vantage] Customer Shipment "Review Button"


In light of several errors by our shipping department, they've requested a "review button," this button would go out and verify the Sales Order Shipto and verify it matches the Packing Slip Shipto, is this something that can be don't natively in Vantage?

--jp

[Non-text portions of this message have been removed]


[Non-text portions of this message have been removed]



[Non-text portions of this message have been removed]
Okay, so if I'm using an if/then statement that is queried on the click of a button, do I need to bring the the orderhed and shiphead adapters to do the search for the shiptonum?



--- In vantage@yahoogroups.com, "neverunmacron" <neverunmacron@...> wrote:
>
>
> JP,
>
> when you say verify that the ship to matches the packing slip? Are you having trouble with the wrong packing slips?
>
> Jose
> --- In vantage@yahoogroups.com, "sanfranc415" <sanfranc415@> wrote:
> >
> > In light of several errors by our shipping department, they've requested a "review button," this button would go out and verify the Sales Order Shipto and verify it matches the Packing Slip Shipto, is this something that can be don't natively in Vantage?
> >
> > --jp
> >
>