It is not completely clear what you are asking in your request.
1) is the number of allowed rental cars still account number specific
or is it now location or address specific?  I will assume that the
limit is still customer account specific - addresses do not matter.
2) are there two addresses - pick up location and drop off location?

I can guess that you have a limit per customer but you want lines only
to show the location information for each rental.  If this is the
case, you can model your form after the purchase order and sales order
forms where the form has a split display - customer information at the
header, rental location information on the lines.  Your check for
allowed number of rentals, as you mention, is a kind of credit check -
just as is done for customers based on total sale, etc.

If there are two addresses, you need to create/select two addresses.
Consider using the Alt.Address capability with new address types for
origin and destination.  If there is only one address to track, then
the task is easier and you do not need to add new "types".

So it seems you already have the right idea to proceed - I do not have
any alternative advice. I am just confirming what you yourself
suggested as the approach to take.

Good luck on this project.

On Fri, Feb 6, 2009 at 11:49 AM, Dinkar Lalit <[email protected]> wrote:
> Hello all: I posted this message to MS Ax programming discusssion group but
> did not get any help. I am new in AX and started working ona real project. I
> post the question below:
> I am newbie in MS Dynamics. I have a question which follows: I am working on
> a project and have created a form calculates the number of  allowed rental
> cars per months. It tracks the allowed, rented and remaining slots. This is
> saved in a table and the form is called from the CustTable form. My
> questions is this table is a user(account number) specific and I want to
> create another or similar form that is going to be address specific since
> same customer (or account number) can rent again but  return it to different
> locations (address specific). Same logic will be used, however the logic
> checks the rental entry with the allowed number and if it car rental
> requested more than allowed and it is placed on a credit hold with a reason.
> I plan to use the Address form for the address.  What do you suggest for
> this? I am thinking to create another table for the lines (address specific)
> and do the logic on a form base or add a class to do the logic. Thank for
> your suggestions in advance.
> Dinkar
>
> [Non-text portions of this message have been removed]
>
> 

Reply via email to