Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Alternative address in free text invoices

0 views
Skip to first unread message

J_Seidler

unread,
Jun 16, 2005, 2:45:03 PM6/16/05
to
If a customer has an alt. address of type 'Invoice' in a free text invoice
always this address will be use without having a possibility to choose which
address (default or alternative) should be used.

One suggestion might be to implement a 'Yes/No' message box in table
'CustInvoiceTable' method 'setInvoiceAddress()' that - if a customer has an
alt. address of type 'Invoice' - pops up and the user is asked to select
wether the alt. address should be used or not (I haven't used labels for the
text elements of the message box):
...
if (Address::exist(custTable.tableId, custTable.recId, AddressType::Invoice))
//suggestion start
if (box::yesNo('Abweichende Adresse verwenden?', DialogButton::No,Which
address', 'An alt. address of the type "Invoice" exists. Should this be used
instead of the defaul address?') == DialogButton::Yes)
//suggestion end
address = Address::find(custTable.tableId, custTable.recId,
AddressType::Invoice);
...
Be aware, that there is a 2nd issue: it is always the alphbetical 1st
address of tpye 'Invoice' that is used!

J_Seidler

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

http://www.microsoft.com/Businesssolutions/Community/NewsGroups/dgbrowser/en-us/default.mspx?mid=16e5f00b-974c-4a11-bd0c-69cd551ab1ea&dg=microsoft.public.axapta

0 new messages