Forum Post: RE: Sales object fields deducted from Inventory and Delivery object fields

  • Thread starter Thread starter Miguel Saez
  • Start date Start date
Status
Not open for further replies.
M

Miguel Saez

Guest
Hi, Another way to respond your question, you could create a new field type formula, the idea will be to create a loop calculating the DeliverQuantity, this kind of fields is executed when is representing, that's mean, the value is not stored. You can find more information in Rollbase in Action document page 58. The code which you should create will be similar to this (please find a application xml file attached with a simple example) var sumQuantity = 0; {!#LOOP_BEGIN.R39143} sumQuantity=sumQuantity + {!R39143.inventoryquantity}; {!#LOOP_END.R39143} return sumQuantity; Kind Regards, Miguel

Continue reading...
 
Status
Not open for further replies.
Back
Top