[Axapta-Knowledge-Village] Remainder cost value on warehouse

2007-02-09 Thread anishafakir1
Hi, Can anyone please help in providing a workaround in solving this 
problem,

The scenario,

An item was initially set up to use batch numbers. Many transactions 
and inventory closings were made against this item.

Months later the item's dimension is changed to use serial numbers, 
hence the batch number functionality is turned off.
Transactions are then made against this item (with serial number).

When an inventory close is done, the item has a cost value with no 
quantity. This is shown on the Physical inventory by inventory 
dimension report.

How can we remove this value? We tried to do an inventory adjustment 
but the inventory closing reverse's the value back.

Any ideas?

Thanking you in advance.



RE: [Axapta-Knowledge-Village] Remainder cost value on warehouse

2007-02-09 Thread James Flavell
What were you inventory dimensions settings before (batch) and after (with
serial)

Things like 'Physical invent' and 'Financial Invent'. Also 'Allow blank'

You model is Avg? FIFO?

Did you take out all the stock when you switched to serial number? Or did
you edit dimensions and add serial number to existing transactions? Or did
you just leave transaction with blank serial?

Thanks
James

 

-Original Message-
From: Axapta-Knowledge-Village@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of anishafakir1
Sent: 09 February 2007 17:52
To: Axapta-Knowledge-Village@yahoogroups.com
Subject: [Axapta-Knowledge-Village] Remainder cost value on warehouse

Hi, Can anyone please help in providing a workaround in solving this 
problem,

The scenario,

An item was initially set up to use batch numbers. Many transactions 
and inventory closings were made against this item.

Months later the item's dimension is changed to use serial numbers, 
hence the batch number functionality is turned off.
Transactions are then made against this item (with serial number).

When an inventory close is done, the item has a cost value with no 
quantity. This is shown on the Physical inventory by inventory 
dimension report.

How can we remove this value? We tried to do an inventory adjustment 
but the inventory closing reverse's the value back.

Any ideas?

Thanking you in advance.



Sharing the knowledge on Axapta.
Visit www.frappr.com/axapta for axapta friends.

Come and choose your preferred name for Microsoft Dynamics AX on the Axapta
Knowledge Village, Visit www.axapta-knowledge-village.tk

 
Yahoo! Groups Links






Re: [Axapta-Knowledge-Village] Remainder cost value on warehouse

2007-02-09 Thread Anisha Fakir
One more thing, the value is sitting on the old transactions. The transactions 
with the batch numbers.

After the setup changes occurred this issue does not appear on the serial 
transactions.

How do I get rid of the values on the old transactions?

Regards,
Anisha


- Original Message 
From: James Flavell [EMAIL PROTECTED]
To: Axapta-Knowledge-Village@yahoogroups.com
Sent: Friday, February 9, 2007 12:04:38 PM
Subject: RE: [Axapta-Knowledge-Village] Remainder cost value on warehouse

What were you inventory dimensions settings before (batch) and after (with
serial)

Things like 'Physical invent' and 'Financial Invent'. Also 'Allow blank'

You model is Avg? FIFO?

Did you take out all the stock when you switched to serial number? Or did
you edit dimensions and add serial number to existing transactions? Or did
you just leave transaction with blank serial?

Thanks
James

-Original Message-
From: Axapta-Knowledge- [EMAIL PROTECTED] ups.com
[mailto:Axapta-Knowledge- [EMAIL PROTECTED] ups.com] On Behalf Of anishafakir1
Sent: 09 February 2007 17:52
To: Axapta-Knowledge- [EMAIL PROTECTED] ups.com
Subject: [Axapta-Knowledge- Village] Remainder cost value on warehouse

Hi, Can anyone please help in providing a workaround in solving this 
problem,

The scenario,

An item was initially set up to use batch numbers. Many transactions 
and inventory closings were made against this item.

Months later the item's dimension is changed to use serial numbers, 
hence the batch number functionality is turned off.
Transactions are then made against this item (with serial number).

When an inventory close is done, the item has a cost value with no 
quantity. This is shown on the Physical inventory by inventory 
dimension report.

How can we remove this value? We tried to do an inventory adjustment 
but the inventory closing reverse's the value back.

Any ideas?

Thanking you in advance. 

Sharing the knowledge on Axapta.
Visit www.frappr.com/ axapta for axapta friends.

Come and choose your preferred name for Microsoft Dynamics AX on the Axapta
Knowledge Village, Visit www.axapta-knowledg e-village. tk

Yahoo! Groups Links





 

We won't tell. Get more on shows you hate to love 
(and love to hate): Yahoo! TV's Guilty Pleasures list.
http://tv.yahoo.com/collections/265 

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



[Axapta-Knowledge-Village] Code Upgrade Problem from 3.0 to 4.0

2007-02-09 Thread mohit rajvanshy
Hi,

We are facing the code upgrade problem from 3.0 to
4.0.

We have the application files in 3.0. The 3.0 system
was connecting to the oracle db. we are now trying to
upgrade the code in 4.0 with SQL db. But after
following the standard steps for upgrade it is giving
the problem: Listed below are the steps and problem:
We are facing few problems when moving our application
from 3.0 to 4.0 
and also Code Upgrading in Test Environment. 


This is what we have done. 


1) We have installed a new dynamics AX 4.0 with SP1(
appl, client,AOS, empty database). 


2)Unchecked the check box Start the AOS Windows
service as part of installation 
3) We have copied all the application ( *.aod, 
*.add,*.ahd,*.ald,*.khd ) files  from 3.0 above the
DIS  to 4.0\Application\Appl 
\Standard . 


6)Copied all the *.aod files from 3.0 to
4.0\Application\Appl 
\Standard\Old. ( here we don't have AxSys.aod and
AxUsr.aod to copy in 
old so we have copoed standard AxSys.aod file). 


7) Deleted the axapd.aoi file form
4.0\Application\Appl\Standard 
\. 


8)Started AOS. 


9)Started client 


(When we started the client it is giving the error as
shown in the 
attached file). 


When we check the event viewer it is giving the info 


Object Server 01: The database reported (session 3
(Admin)): 
[Microsoft][ODBC SQL Server Driver][SQL Server]Invalid
column name 
'MSM_SVCCALLUSECREATEFORM'.. The SQL statement was:
SELECT TOP 1 
A.ID,A.DOCUHANDLINGACTIVE,A.DOCUTOOLBARBUTTONACTIVE,A.HELPMARKEMPTYLINKS,A.­HELPTHEME,A.GENERATEEXECUTIONPLAN,A.EMAIL,A.COMPILERTARGET,A.LANGUAGE,A.EVE­NTPOLLFREQUENCY,A.EVENTPOPUPLINKDESTINATION,A.EVENTPOPUPDISPLAYWHEN,A.EVENT­EMAILALERTSWHEN,A.EVENTPOPUPS,A.MSM_SVCCALLUSECREATEFORM,A.RECVERSION,A.REC­ID

FROM SYSUSERINFO A WITH( NOLOCK) WHERE (ID=?) ORDER BY
A.ID 


10)   Synchronize 


11)   When we tried to create the upgrade project it
is giving the 
same error. 




Regards
Mohit Rajvanshy



 

8:00? 8:25? 8:40? Find a flick in no time 
with the Yahoo! Search movie showtime shortcut.
http://tools.search.yahoo.com/shortcuts/#news


RE: [Axapta-Knowledge-Village] Remainder cost value on warehouse

2007-02-09 Thread Karina Normann Jakobsen
You must have inconsistency on the old transactions. If you want to have 
inventory closing close out the old transaction with the new method you have, 
they have to have same serialnumber - or at least same enough to be able to 
settle them in pairs.
So my guess is that your old transactions issue and receipt holds different 
serial numbers. You have to trace them down and fix them to be able to close 
out the old remaining values. You should be able to find the old transactions 
causing the trouble, because they shouldn't be closed out (you can see this on 
the inventory transactions). Now I'm not a developer so I can only tell you, 
that you can manipulate the dimensions on individual inventory transactions 
from the inventory dimension editor on the item. If you have several 1000 and 
serial number wasn't used for any valid purpose on the old transactions you 
could choose to make a job, that simply clear the serial number on any of the 
old transactions.

[cid:image001.jpg@01C74C52.FAC87960]
Karina Normann Jakobsen
Program Manager
Microsoft Dynamics AX
Microsoft Corporation

From: Axapta-Knowledge-Village@yahoogroups.com [mailto:[EMAIL PROTECTED] On 
Behalf Of Anisha Fakir
Sent: 9. februar 2007 11:55
To: Axapta-Knowledge-Village@yahoogroups.com
Subject: Re: [Axapta-Knowledge-Village] Remainder cost value on warehouse


One more thing, the value is sitting on the old transactions. The transactions 
with the batch numbers.

After the setup changes occurred this issue does not appear on the serial 
transactions.

How do I get rid of the values on the old transactions?

Regards,
Anisha

- Original Message 
From: James Flavell [EMAIL PROTECTED]mailto:djf%40columbusindo.com
To: 
Axapta-Knowledge-Village@yahoogroups.commailto:Axapta-Knowledge-Village%40yahoogroups.com
Sent: Friday, February 9, 2007 12:04:38 PM
Subject: RE: [Axapta-Knowledge-Village] Remainder cost value on warehouse

What were you inventory dimensions settings before (batch) and after (with
serial)

Things like 'Physical invent' and 'Financial Invent'. Also 'Allow blank'

You model is Avg? FIFO?

Did you take out all the stock when you switched to serial number? Or did
you edit dimensions and add serial number to existing transactions? Or did
you just leave transaction with blank serial?

Thanks
James

-Original Message-
From: Axapta-Knowledge- [EMAIL PROTECTED] ups.com
[mailto:Axapta-Knowledge- [EMAIL PROTECTED] ups.com] On Behalf Of anishafakir1
Sent: 09 February 2007 17:52
To: Axapta-Knowledge- [EMAIL PROTECTED] ups.com
Subject: [Axapta-Knowledge- Village] Remainder cost value on warehouse

Hi, Can anyone please help in providing a workaround in solving this
problem,

The scenario,

An item was initially set up to use batch numbers. Many transactions
and inventory closings were made against this item.

Months later the item's dimension is changed to use serial numbers,
hence the batch number functionality is turned off.
Transactions are then made against this item (with serial number).

When an inventory close is done, the item has a cost value with no
quantity. This is shown on the Physical inventory by inventory
dimension report.

How can we remove this value? We tried to do an inventory adjustment
but the inventory closing reverse's the value back.

Any ideas?

Thanking you in advance.

Sharing the knowledge on Axapta.
Visit www.frappr.com/ axapta for axapta friends.

Come and choose your preferred name for Microsoft Dynamics AX on the Axapta
Knowledge Village, Visit www.axapta-knowledg e-village. tk

Yahoo! Groups Links

__
We won't tell. Get more on shows you hate to love
(and love to hate): Yahoo! TV's Guilty Pleasures list.
http://tv.yahoo.com/collections/265

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



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



Re: [Axapta-Knowledge-Village] Remainder cost value on warehouse

2007-02-09 Thread Hemant Kumthekar
Hi,

What version / release of AX  check out for the Hot fix... there is a 
procedure out on MBS website for fixing On hand value when Qty = 0. 

Hemant


- Original Message 
From: Karina Normann Jakobsen [EMAIL PROTECTED]
To: Axapta-Knowledge-Village@yahoogroups.com 
Axapta-Knowledge-Village@yahoogroups.com
Sent: Friday, February 9, 2007 7:02:48 AM
Subject: RE: [Axapta-Knowledge-Village] Remainder cost value on warehouse

You must have inconsistency on the old transactions. If you want to have 
inventory closing close out the old transaction with the new method you have, 
they have to have same serialnumber - or at least same enough to be able to 
settle them in pairs.
So my guess is that your old transactions issue and receipt holds different 
serial numbers. You have to trace them down and fix them to be able to close 
out the old remaining values. You should be able to find the old transactions 
causing the trouble, because they shouldn't be closed out (you can see this on 
the inventory transactions) . Now I'm not a developer so I can only tell you, 
that you can manipulate the dimensions on individual inventory transactions 
from the inventory dimension editor on the item. If you have several 1000 and 
serial number wasn't used for any valid purpose on the old transactions you 
could choose to make a job, that simply clear the serial number on any of the 
old transactions.

[cid:image001.jpg@ 01C74C52. FAC87960]
Karina Normann Jakobsen
Program Manager
Microsoft Dynamics AX
Microsoft Corporation

From: Axapta-Knowledge- [EMAIL PROTECTED] ups.com [mailto:Axapta-Knowledge- 
[EMAIL PROTECTED] ups.com] On Behalf Of Anisha Fakir
Sent: 9. februar 2007 11:55
To: Axapta-Knowledge- [EMAIL PROTECTED] ups.com
Subject: Re: [Axapta-Knowledge- Village] Remainder cost value on warehouse

One more thing, the value is sitting on the old transactions. The transactions 
with the batch numbers.

After the setup changes occurred this issue does not appear on the serial 
transactions.

How do I get rid of the values on the old transactions?

Regards,
Anisha

- Original Message 
From: James Flavell [EMAIL PROTECTED] commailto:djf% 40columbusindo. com
To: Axapta-Knowledge- [EMAIL PROTECTED] ups.commailto:Axapta- Knowledge- 
Village%40yahoog roups.com
Sent: Friday, February 9, 2007 12:04:38 PM
Subject: RE: [Axapta-Knowledge- Village] Remainder cost value on warehouse

What were you inventory dimensions settings before (batch) and after (with
serial)

Things like 'Physical invent' and 'Financial Invent'. Also 'Allow blank'

You model is Avg? FIFO?

Did you take out all the stock when you switched to serial number? Or did
you edit dimensions and add serial number to existing transactions? Or did
you just leave transaction with blank serial?

Thanks
James

-Original Message-
From: Axapta-Knowledge- [EMAIL PROTECTED] ups.com
[mailto:Axapta- Knowledge- [EMAIL PROTECTED] ups.com] On Behalf Of anishafakir1
Sent: 09 February 2007 17:52
To: Axapta-Knowledge- [EMAIL PROTECTED] ups.com
Subject: [Axapta-Knowledge- Village] Remainder cost value on warehouse

Hi, Can anyone please help in providing a workaround in solving this
problem,

The scenario,

An item was initially set up to use batch numbers. Many transactions
and inventory closings were made against this item.

Months later the item's dimension is changed to use serial numbers,
hence the batch number functionality is turned off.
Transactions are then made against this item (with serial number).

When an inventory close is done, the item has a cost value with no
quantity. This is shown on the Physical inventory by inventory
dimension report.

How can we remove this value? We tried to do an inventory adjustment
but the inventory closing reverse's the value back.

Any ideas?

Thanking you in advance.

Sharing the knowledge on Axapta.
Visit www.frappr.com/ axapta for axapta friends.

Come and choose your preferred name for Microsoft Dynamics AX on the Axapta
Knowledge Village, Visit www.axapta-knowledg e-village. tk

Yahoo! Groups Links

 _ _ _ _ _ _
We won't tell. Get more on shows you hate to love
(and love to hate): Yahoo! TV's Guilty Pleasures list.
http://tv.yahoo. com/collections/ 265

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

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





 

The fish are biting. 
Get more visitors on your site using Yahoo! Search Marketing.
http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php

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



[Axapta-Knowledge-Village] FW: Source Safe: Team server

2007-02-09 Thread Rodrigo - admin



-Original Message-
From: Rodrigo - admin
Sent: Fri 2/9/2007 12:56 PM
To: Axapta-Knowledge-Village@yahoogroups.com
Subject: Source Safe: Team server
 
Hi all,

I have to work with a Team server database for each application that i work??
Whats the main porpouse of the Team server?
 

Best Regards,
Rodrigo



RE: [Axapta-Knowledge-Village] Remainder cost value on warehouse

2007-02-09 Thread James Flavell
Without knowing what the BEFORE and AFTER setting are it is not really
possible to say how to fix.

Before used batch, after still used batch but added serial number? OR batch
number longer used/active?

To be honest you say you cleared out the stock with a stock journal and then
brought in new stock with serial number.  I assume you did an inventory
close in between doing these two steps right?  Maybe you can post the exact
steps you did plus the dimension settings before and after, e.g.

1) Clear out stock
2) Closing
3) Deactivate batch dimension
4) Enable serial
5) Bring in stock

I think your stock was not cleared out (could be due to several reasons) but
it could be something else also...need more info

 
-Original Message-
From: Axapta-Knowledge-Village@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Anisha Fakir
Sent: 09 February 2007 18:55
To: Axapta-Knowledge-Village@yahoogroups.com
Subject: Re: [Axapta-Knowledge-Village] Remainder cost value on warehouse

One more thing, the value is sitting on the old transactions. The
transactions with the batch numbers.

After the setup changes occurred this issue does not appear on the serial
transactions.

How do I get rid of the values on the old transactions?

Regards,
Anisha


- Original Message 
From: James Flavell [EMAIL PROTECTED]
To: Axapta-Knowledge-Village@yahoogroups.com
Sent: Friday, February 9, 2007 12:04:38 PM
Subject: RE: [Axapta-Knowledge-Village] Remainder cost value on warehouse

What were you inventory dimensions settings before (batch) and after (with
serial)

Things like 'Physical invent' and 'Financial Invent'. Also 'Allow blank'

You model is Avg? FIFO?

Did you take out all the stock when you switched to serial number? Or did
you edit dimensions and add serial number to existing transactions? Or did
you just leave transaction with blank serial?

Thanks
James

-Original Message-
From: Axapta-Knowledge- [EMAIL PROTECTED] ups.com
[mailto:Axapta-Knowledge- [EMAIL PROTECTED] ups.com] On Behalf Of
anishafakir1
Sent: 09 February 2007 17:52
To: Axapta-Knowledge- [EMAIL PROTECTED] ups.com
Subject: [Axapta-Knowledge- Village] Remainder cost value on warehouse

Hi, Can anyone please help in providing a workaround in solving this 
problem,

The scenario,

An item was initially set up to use batch numbers. Many transactions 
and inventory closings were made against this item.

Months later the item's dimension is changed to use serial numbers, 
hence the batch number functionality is turned off.
Transactions are then made against this item (with serial number).

When an inventory close is done, the item has a cost value with no 
quantity. This is shown on the Physical inventory by inventory 
dimension report.

How can we remove this value? We tried to do an inventory adjustment 
but the inventory closing reverse's the value back.

Any ideas?

Thanking you in advance. 

Sharing the knowledge on Axapta.
Visit www.frappr.com/ axapta for axapta friends.

Come and choose your preferred name for Microsoft Dynamics AX on the Axapta
Knowledge Village, Visit www.axapta-knowledg e-village. tk

Yahoo! Groups Links





 


We won't tell. Get more on shows you hate to love 
(and love to hate): Yahoo! TV's Guilty Pleasures list.
http://tv.yahoo.com/collections/265 

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



Sharing the knowledge on Axapta.
Visit www.frappr.com/axapta for axapta friends.

Come and choose your preferred name for Microsoft Dynamics AX on the Axapta
Knowledge Village, Visit www.axapta-knowledge-village.tk

 
Yahoo! Groups Links






[Axapta-Knowledge-Village] Method for Cost Price...please help me..

2007-02-09 Thread sting_xcr
Hi all, 

I need for a transacction report in Cust and Vend transacctions a 
method for obtain the journal num.. 

I tried using the find method but i can not obtain a good result.

Someone know about it? ... please help me..

regards..

Julio Jimenez..



[Axapta-Knowledge-Village] Re: printing multiple invoices

2007-02-09 Thread Steeve Gilbert
You're not a developper Wendy, are you? :)  I'm guess that you 
haven't modified your invoice report yet.  If so, go into the AOT 
report nodes and select SalesInvoice.  Open that node and the 
Methods node.  Double-click the fetch method.  At the end of that 
method, there's 2 line element.reset(), comment them (put // at 
the beginning of the line) and add element.newPage() after those 
commented line.  If you have a hard time finding the code line, use 
CRTL-F to find them.  Are you ok with that?

Like Khue mentionned, double check the invoices to make sure data is 
ok.  I've checked a bit and amounts seems fine but I've noticed 
that Page X of Y includes all pages of all invoices printed.

regards,

Steeve...

--- In Axapta-Knowledge-Village@yahoogroups.com, Wendy Hormann 
[EMAIL PROTECTED] wrote:

 Could you explain how to change the code step by step? =)
 
 Steeve Gilbert [EMAIL PROTECTED] wrote:  In Main menu  
Accounts receivable  Inquiries  Journals  Invoice, 
 you can select multiple invoices and show them. Problem is they 
appear 
 in different window but that can be modified. Find line of 
 code element.reset() and replace it with element.newPage(). 
That 
 way, instead of displaying a new windows for the next invoice, it 
will 
 only create a new page to put the next invoice on.
 
 Regards,
 
 Steeve...
 
 --- In Axapta-Knowledge-Village@yahoogroups.com, whormann 
 wendyhormann@ wrote:
 
  Is there a way to print multiple invoices for one account?
  I would like to re-print all of my open/past due invoices for an 
  account, there are so many, and it seems that I can only do it 
one by 
  one. 
  
  Thanks, 
  
  Wendy
 
 
 
 
  
 
 
 [Non-text portions of this message have been removed]





[Axapta-Knowledge-Village] Re: printing multiple invoices

2007-02-09 Thread Steeve Gilbert
Not much different than the invoice :
By just looking at the code, I think that the same trick can be 
applied to SalesPackingSlip.  Give it a try.  Then go
Main menu  Accounts receivable  Inquiries  Journals  PACKING SLIP
Filter on the desired date, select all, show button, etc...

regards,

Steeve...

--- In Axapta-Knowledge-Village@yahoogroups.com, Jens Strandberg 
[EMAIL PROTECTED] wrote:

 Steeve,
  
 That's an excellent suggestion.
  
 Now, do you have a similar, excellent suggestion as to how to allow 
printing
 of, let's say copies of packing slips for a certain date ?  :-)
  
 I can't seem to find any clues in standard Ax, and before we do some
 in-house coding, I thought I would ask...
  
 Thanks in advance.
  
 Best Regards,
 Jens
 
   _  
 
 From: Axapta-Knowledge-Village@yahoogroups.com
 [mailto:[EMAIL PROTECTED] On Behalf Of 
Steeve
 Gilbert
 Sent: Thursday, February 08, 2007 2:23 PM
 To: Axapta-Knowledge-Village@yahoogroups.com
 Subject: [Axapta-Knowledge-Village] Re: printing multiple invoices
 
 
 
 In Main menu  Accounts receivable  Inquiries  Journals  
Invoice, 
 you can select multiple invoices and show them. Problem is they 
appear 
 in different window but that can be modified. Find line of 
 code element.reset() and replace it with element.newPage(). 
That 
 way, instead of displaying a new windows for the next invoice, it 
will 
 only create a new page to put the next invoice on.
 
 Regards,
 
 Steeve...
 
 --- In Axapta-Knowledge- mailto:Axapta-Knowledge-Village%
40yahoogroups.com
 [EMAIL PROTECTED], whormann 
 wendyhormann@ wrote:
 
  Is there a way to print multiple invoices for one account?
  I would like to re-print all of my open/past due invoices for an 
  account, there are so many, and it seems that I can only do it 
one by 
  one. 
  
  Thanks, 
  
  Wendy
 
 
 
 
  
 
 
 [Non-text portions of this message have been removed]





[Axapta-Knowledge-Village] Production scrap as inventory

2007-02-09 Thread James Flavell
Hi everyone,

 

I think this is probably a fairly common request so hoping someone might be
able to help:

 

If I want the bad quantity of production order to be in inventory, how is
the best way to do it?

 

Example:

Production good qty 90, bad 10

Result wanted is 90 in warehouse A and 10 in warehouse B

 

Cost wise will be as if the production order was 100 good (i.e. cost of good
and bad items are the same)

 

Any code examples or hints where to look would be great thanks :-)

 

A few areas I am interested in and flexible about at this stage:

1) If bad qty is using same item is there simple way to change the warehouse
in the production postings? Or is it best to add code at the end of the
posting to do a transfer journal from A to B for the bad qty?

 

2) If the bad qty needs to be a different item (I guess this can be
considered like a by-product) is this easy to do?

 

Thanks once again to everyone

James

 



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



Re: [Axapta-Knowledge-Village] Production scrap as inventory

2007-02-09 Thread Hemant Kumthekar
Hi,

As you had mentioned you can do either way 

1. Enter the Production by splitting Good Quantity in warehouse A, and bad / 
defective Qty in Warehouse B. This will be clean way of doing the reporting. 
Also you can have this Warehouse B as Non Nettable if you wish to.

2. Entering as by-product will raise issues regarding costing, so better it is 
to use option 1. 

I think there won't be any need to modify the code

Hemant K 


- Original Message 
From: James Flavell [EMAIL PROTECTED]
To: Axapta-Knowledge-Village@yahoogroups.com
Sent: Friday, February 9, 2007 10:34:32 PM
Subject: [Axapta-Knowledge-Village] Production scrap as inventory

Hi everyone,

I think this is probably a fairly common request so hoping someone might be
able to help:

If I want the bad quantity of production order to be in inventory, how is
the best way to do it?

Example:

Production good qty 90, bad 10

Result wanted is 90 in warehouse A and 10 in warehouse B

Cost wise will be as if the production order was 100 good (i.e. cost of good
and bad items are the same)

Any code examples or hints where to look would be great thanks :-)

A few areas I am interested in and flexible about at this stage:

1) If bad qty is using same item is there simple way to change the warehouse
in the production postings? Or is it best to add code at the end of the
posting to do a transfer journal from A to B for the bad qty?

2) If the bad qty needs to be a different item (I guess this can be
considered like a by-product) is this easy to do?

Thanks once again to everyone

James

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





 

It's here! Your new message!  
Get new email alerts with the free Yahoo! Toolbar.
http://tools.search.yahoo.com/toolbar/features/mail/

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



Re: Re: [Axapta-Knowledge-Village] How to read data from weighing instrument?SOS!!!

2007-02-09 Thread Varden Morris
Hi Buddy,

Do a search on ActiveX in the Developer's Guide. There is a section that shows 
you how to add an ActiveX control to a form.

The next thing you should do is look for sample code that shows you how to use 
the MSCOMM control. This is available in VB6 and you may look at this link 
http://www.microsoft.com/downloads/details.aspx?familyid=01efe663-e0ff-4147-aa8b-ab9549605ea2displaylang=en.

Once you understand the VB6 code you should have a head start to do what you 
would like to do in X++. In VB6 you set a property value of the ActiveX control 
as follows:

MSCOMM.ComPort = 1

But remember that the comparable code in X++ whould be:

MSCOMM.ComPort(1);

This is important to know because it may frustrate you if you forget that X++ 
uses function calls to set and get property values of a variable in an object, 
as a result of the encapsulation of variables in the object.

Hope this gives you a kick start. One final thing, in order for you to trigger 
the value from the scale on the comport you should output an end-of-line 
character to the port. This will trigger the OnEvent method/event of the 
ActiveX control, where you should read the value.

Regards,
 
Varden Morris 

85 Saddleland Close N.E. 
Calgary, Alberta T3J 5J5 
Canada 

(403) 366-8434 (H) 
(403) 615-1604 (C)
[EMAIL PROTECTED]
 
 



- Original Message 
From: [EMAIL PROTECTED] [EMAIL PROTECTED]
To: [EMAIL PROTECTED] Axapta-Knowledge-Village@yahoogroups.com; [EMAIL 
PROTECTED] Axapta-Knowledge-Village@yahoogroups.com
Sent: Thursday, February 8, 2007 5:29:36 PM
Subject: Re: Re: [Axapta-Knowledge-Village] How to read data from weighing 
instrument?SOS!!!

HI,Morris 
yes,i want to use MSCOM activeX to read data from the COM port, but could you 
tell me how to call MSCOM ActiveX in axapta? thank you very much. 




[EMAIL PROTECTED] 
2007-02-09 



发件人: Varden Morris 
发送时间: 2007-02-07 00:41:16 
收件人: Axapta-Knowledge- [EMAIL PROTECTED] ups.com 
抄送: 
主题: Re: [Axapta-Knowledge- Village] How to read data from weighing 
instrument?SOS! !! 

You can use the MSCOM activeX control to read data from the COM port of the 
computer where the scale is connected. If you are using Citrix or Terminal 
Server to launch the AX client you can configure them to map the client 
computer port, instead of the Citrix or Terminal Server, to the AX client. 

Regards, 

Varden Morris 

85 Saddleland Close N.E. 
Calgary, Alberta T3J 5J5 
Canada 

(403) 366-8434 (H) 
(403) 615-1604 (C) 
[EMAIL PROTECTED] com 



- Original Message  
From: [EMAIL PROTECTED] [EMAIL PROTECTED] 
To: Axapta-Knowledge- Village Axapta-Knowledge- [EMAIL PROTECTED] ups.com 
Sent: Monday, February 5, 2007 5:58:00 PM 
Subject: [Axapta-Knowledge- Village] How to read data from weighing 
instrument?SOS! !! 

Dear all 

I want to read data from weighting instrumnet to Axapta, do you have any souce 
code or expirement or suggestion?? ? 

thanks you very much!!! 

 -- 
qhpeng 
2007-02-06 

 _ _ _ _ _ _ 
Be a PS3 game guru. 
Get your game face on with the latest PS3 news and previews at Yahoo! Games. 
http://videogames. yahoo.com/ platform? platform= 120121 

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




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





 

Never miss an email again!
Yahoo! Toolbar alerts you the instant new Mail arrives.
http://tools.search.yahoo.com/toolbar/features/mail/

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