allocate a single payment that will then update multiple ord

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
yahya
Posts: 77
Joined: Sat Jul 16, 2011 6:00 am
Location: South Africa
Contact:

allocate a single payment that will then update multiple ord

Post by yahya »

Trying to allocate a single payment that will then update multiple orders.

Account consists of multiple Orders, so we will then be working with the following information:

Account.ContactPerson
Account.Order.Number
Account.Order.Date
Account.Order.Amount
Account.Order.PaidAmount
Account.Order.OutstandingAmount

Now I will make a Payment to this account, with a Payment.Amount

How do I get AwareIM to update all the Orders with the allocated payment amount from the oldest order date.

For example:
Order1 = 20
Order2 = 10
Order3 = 15
Order4 = 30
Order5 = 10

Payment = 80, meaning order1-4 will be paid up and order5 will have outstanding amount of 5.

Your assistance would be appreciated.
himanshu
Posts: 725
Joined: Thu Jun 19, 2008 6:24 am
Location: India
Contact:

Post by himanshu »

Hi,

You need to create process in which rules are defined which will process FOR

EACH ORDER and update the outstanding.
From,
Himanshu Jain


AwareIM Consultant (since version 4.0)
OS: Windows 10.0, Mac
DB: MYSQL, MSSQL
Post Reply