Adding lines and charges to CDF
Posted: Thu Jul 23, 2015 10:04 am
I know that a set number of empty lines have been pre-created in most sections of the CDF, but there are times when we need to add more lines than already exist.
I read in another forum post that the way to create a new line to the prepaids section is
dynamic CDFLine = ((IOrder)order).CreateNew("PrepaidDetailLine");
So the "code" for that section is "PrepaidLineDetail"
Can you provide the "code" to create new lines for all other sections, please? It would also be very helpful if you include the code for adding a new charge to a line. Thanks.
DueFromBuyer
DueToBuyer
DueFromSeller
DueToSeller
OtherCosts
Escrows
TaxesAndGovernmentFees
OriginationCharges
ServicesNotShoppedFor
ServicesShoppedFor
I read in another forum post that the way to create a new line to the prepaids section is
dynamic CDFLine = ((IOrder)order).CreateNew("PrepaidDetailLine");
So the "code" for that section is "PrepaidLineDetail"
Can you provide the "code" to create new lines for all other sections, please? It would also be very helpful if you include the code for adding a new charge to a line. Thanks.
DueFromBuyer
DueToBuyer
DueFromSeller
DueToSeller
OtherCosts
Escrows
TaxesAndGovernmentFees
OriginationCharges
ServicesNotShoppedFor
ServicesShoppedFor