Actually you can do Sales Order Comments directly. Here is the Code I
use for it:
/* this section posts the data from P80_ED_ACK into the line detail
database */
If P01_QUOTENUM<>0 AND GetContextMode() = "ORDER" Then Do:
Find First OrderDtl Where OrderDtl.Company = P01_COMPANY
and OrderDtl.OrderNum = Int(P01_QUOTENUM)
and OrderDtl.OrderLine = Int(P01_QUOTELINE)
No-Lock No-Error.
IF AVAIL OrderDtl THEN
RUN
lib\UpdateTableBuffer.p
(input BUFFER OrderDtl:HANDLE,
'OrderComment', P85_ED_ACK + '~n' + '~n' + P60_ED_CHOICES).
End.
There was some code I put on the first page to pull in the Order Number
and line:
/* Prep Data */
/* Populate Quote & Line Number */
If GetContextMode() = "QUOTE" Then Do:
P01_COMPANY = GetCurrentCompany().
P01_QUOTENUM = GetCurrentQuoteNum().
P01_QUOTELINE = GetCurrentQuoteLine().
End.
/* Populate Order Number & Line */
If GetContextMode() = "ORDER" Then Do:
P01_COMPANY = GetCurrentCompany().
P01_QUOTENUM = GetCurrentOrderNum().
P01_QUOTELINE = GetCurrentOrderLine().
End.
/* For Rules and input Tests */
If GetContextMode() = "TEST" Then Do:
P01_COMPANY = 'TMC'.
P01_QUOTENUM = 0.
P01_QUOTELINE = 0.
P01_CHR_CUSTID = "100".
End
I hope that helps.
Paul Millsaps
Time Manufacturing
254.399.2170
paulm@... <mailto:paulm@...>
This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission.
If you receive this message in error, please immediately delete it and
all copies of it from your system, destroy any hard copies of it and
notify the sender. You must not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the
intended recipient.
________________________________
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
Of Mark Wonsil
Sent: Wednesday, October 15, 2008 10:45 AM
To: vantage@yahoogroups.com
Subject: RE: [Vantage] Configuartor
Hi Gene (now doesn't that sound clean...),
otherwise people will give you solutions that you're not looking for.
;-)
So in short, you're trying to configure a sales kit? I think you're
going to
have to choose between configurator and sales kit.
It is certainly possible to change the contents of a sales kit at order
entry time. It will cost everything for you and print the components on
the
packing list. However, it won't ask you any questions and put it
together
for you. The order entry clerk would have to know which parts to add.
If you really need the configurator, then you're in work order territory
as
far as I know - could be wrong. Even still, you're not out of luck. As
part
of the configuration rule, you could create an input field for the last
screen that builds the text for the packing list and assign it to Work
Order/Quote Comments - can't do sales order comments directly the last
time
I've checked. :-(
HTH,
Mark W.
[Non-text portions of this message have been removed]
use for it:
/* this section posts the data from P80_ED_ACK into the line detail
database */
If P01_QUOTENUM<>0 AND GetContextMode() = "ORDER" Then Do:
Find First OrderDtl Where OrderDtl.Company = P01_COMPANY
and OrderDtl.OrderNum = Int(P01_QUOTENUM)
and OrderDtl.OrderLine = Int(P01_QUOTELINE)
No-Lock No-Error.
IF AVAIL OrderDtl THEN
RUN
lib\UpdateTableBuffer.p
(input BUFFER OrderDtl:HANDLE,
'OrderComment', P85_ED_ACK + '~n' + '~n' + P60_ED_CHOICES).
End.
There was some code I put on the first page to pull in the Order Number
and line:
/* Prep Data */
/* Populate Quote & Line Number */
If GetContextMode() = "QUOTE" Then Do:
P01_COMPANY = GetCurrentCompany().
P01_QUOTENUM = GetCurrentQuoteNum().
P01_QUOTELINE = GetCurrentQuoteLine().
End.
/* Populate Order Number & Line */
If GetContextMode() = "ORDER" Then Do:
P01_COMPANY = GetCurrentCompany().
P01_QUOTENUM = GetCurrentOrderNum().
P01_QUOTELINE = GetCurrentOrderLine().
End.
/* For Rules and input Tests */
If GetContextMode() = "TEST" Then Do:
P01_COMPANY = 'TMC'.
P01_QUOTENUM = 0.
P01_QUOTELINE = 0.
P01_CHR_CUSTID = "100".
End
I hope that helps.
Paul Millsaps
Time Manufacturing
254.399.2170
paulm@... <mailto:paulm@...>
This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission.
If you receive this message in error, please immediately delete it and
all copies of it from your system, destroy any hard copies of it and
notify the sender. You must not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the
intended recipient.
________________________________
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
Of Mark Wonsil
Sent: Wednesday, October 15, 2008 10:45 AM
To: vantage@yahoogroups.com
Subject: RE: [Vantage] Configuartor
Hi Gene (now doesn't that sound clean...),
> on our packing slips we need to have eah of these placeholder partsSometimes it's better to start with what you're trying to accomplish,
> to show up. right now when this is put into a sales order we are
> getting just the CFG Part to show with the price for the configured
> part. this is ok for the sales order, but we need the break down for
> the packing slips.
otherwise people will give you solutions that you're not looking for.
;-)
So in short, you're trying to configure a sales kit? I think you're
going to
have to choose between configurator and sales kit.
It is certainly possible to change the contents of a sales kit at order
entry time. It will cost everything for you and print the components on
the
packing list. However, it won't ask you any questions and put it
together
for you. The order entry clerk would have to know which parts to add.
If you really need the configurator, then you're in work order territory
as
far as I know - could be wrong. Even still, you're not out of luck. As
part
of the configuration rule, you could create an input field for the last
screen that builds the text for the packing list and assign it to Work
Order/Quote Comments - can't do sales order comments directly the last
time
I've checked. :-(
HTH,
Mark W.
[Non-text portions of this message have been removed]