Skip to content
Snippets Groups Projects
Commit 7b1ba312 authored by Alexander Vögl's avatar Alexander Vögl
Browse files

Order resolve Merge Conflicts and small Changes

parent 22c1d0bc
No related branches found
No related tags found
No related merge requests found
......@@ -5,6 +5,4 @@
<include file="AddNullableToDateNew.xml" relativeToChangelogFile="true" />
<include file="insert_workflowCategory_keyword.xml" relativeToChangelogFile="true"/>
<include file="Notification/changelog.xml" relativeToChangelogFile="true" />
<include relativeToChangelogFile="true" file="drop_salesorder_unpaid.xml"/>
<include relativeToChangelogFile="true" file="drop_salesorder_versnr.xml"/>
</databaseChangeLog>
......@@ -5,4 +5,6 @@
<include file="DeleteNotificationtypeKeywords.xml" relativeToChangelogFile="true" />
<include file="add_Address_LatLon.xml" relativeToChangelogFile="true"/>
<include file="VisitPlanEntry/rename_VisitPlanEntry_ORGANISATION_ID.xml" relativeToChangelogFile="true" />
<include file="drop_salesorder_unpaid.xml" relativeToChangelogFile="true"/>
<include file="drop_salesorder_versnr.xml" relativeToChangelogFile="true"/>
</databaseChangeLog>
......@@ -872,6 +872,7 @@
<entityParameter>
<name>Copy_param</name>
<expose v="true" />
<documentation>%aditoprj%/entity/Order_entity/entityfields/copy_param/documentation.adoc</documentation>
</entityParameter>
<entityField>
<name>COUNT</name>
......@@ -1140,4 +1141,4 @@
</indexFieldMappings>
</indexRecordContainer>
</recordContainers>
</entity>
\ No newline at end of file
</entity>
This Param is filled after the action "new Order" is activated. It fills close to all fields with values from the order before.
Therefor it uses a stringified JSON-Object, look up "OrderUtils.copyOrder()" for more details
\ No newline at end of file
......@@ -480,8 +480,8 @@ OrderUtils.buildReminderReport = function (pOrderID)
var sums = [];
var vatsum = 0;
var printDiscount = false;
var brutto=eMath.addDec(orderData[16], orderData[9]);
var offen=eMath.subDec(brutto, orderData[15]);
var grossPrice=eMath.addDec(orderData[16], orderData[9]);
var open=eMath.subDec(grossPrice, orderData[15]);
itemData = itemData.map(function (item)
{
//quantity * price
......@@ -512,8 +512,8 @@ OrderUtils.buildReminderReport = function (pOrderID)
text.formatDouble(orderData[9], "#,##0.00", true), //vat
orderData[10], //ordercode
orderData[16], //net
text.formatDouble(brutto, "#,##0.00", true),//brutto
text.formatDouble(offen, "#,##0.00", true),//offen
text.formatDouble(grossPrice, "#,##0.00", true),//grossPrice
text.formatDouble(open, "#,##0.00", true),//open
orderData[17], //due date
orderData[19], //dunning text
orderData[18] //dunninglevel
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment