In Sales Order form, when you split a line, the actions are
- select the target line
- click the "Actions" button, and select "Split Line"
- Enter the amount in the first line, then press "down"
- Enter the remaining amount, then click "Split"
What I was asked to do is to make the "remaining amount" coming out automatically so that the staff do not need to calculate what it's supposed to be.
Forms to be Personalized
Sales Order, Sales Organizer, Quick Sales Order, Quick Sales Organizer
CONDITION
Trigger Event
WHEN-NEW-ITEM-INSTANCE
Trigger Object
Trigger Object
SPLIT_LINE.ORDERED_QUANTITY
Condition
Condition
NVL(:SPLIT_LINE_CONTROL.TOTAL_SHIPMENT_QUANTITY, 0) > 0 AND
ACTION
Type
:SPLIT_LINE.ORDERED_QUANTITY IS NULL AND
(:SPLIT_LINE_CONTROL.ORIG_ORDERED_QUANTITY - :SPLIT_LINE_CONTROL.TOTAL_SHIPMENT_QUANTITY) >= 0
Type
Property
Object Type
Object Type
Item
Target Object
Target Object
SPLIT_LINE.ORDERED_QUANTITY
Property Name
Property Name
VALUE
Value
= (:SPLIT_LINE_CONTROL.ORIG_ORDERED_QUANTITY - :SPLIT_LINE_CONTROL.TOTAL_SHIPMENT_QUANTITY)
Value
= (:SPLIT_LINE_CONTROL.ORIG_ORDERED_QUANTITY - :SPLIT_LINE_CONTROL.TOTAL_SHIPMENT_QUANTITY)
No comments :
Post a Comment