Multiple data sources are submitted at the same time
Multiple data sources are modified at the same time
W.isready = true; The agreement was put to the last
Sh.reloadonedit to load data again when it represents point editing, the editor must sh.reloadonedit = True
The inheritance coverage of the data service profile needs to be consistent with the inherited node
The store's primary key defaults to the first row
The use of Waitid
Storewarehouse.load ({
Waitid: ' Storewarehouse '
});
Shstockbillmstinit.onedit ({
Waitid: ' Storestockbillmstinit ',
Wait: ' Storewarehouse ',
Params: {ID: $args. ID}
});
Storewhlocation.load ({
Waitid: ' Storewhlocation ',
Wait: [' storewarehouse ', ' storestockbillmstinit ']//must be called in order, if the storestockbillmstinit or only
Write Storestockbillmstinit It's possible Storewhlocation.load's request will be executed sooner than shstockbillmstinit
Params: {whid:storeStockBillMstInit.getAt (0). Get (' Whid ')}
});
<Create>
<table name= "In_stockbillmst" >
<Values>
<exp field= "CreateDate" target= "Express" value= "Now" level= "1"/>
<exp field= "Createman" target= "AppInfo" value= "UserId" level= "1"/>
<exp field= "Verdtm" target= "Express" value= "Now" level= "1"/>
<exp field= "exes" value= "0" level= "1"/>
<exp field= "Audit" value= "0" level= "1"/>
</Values>
</Table>
</Create>
system defaults such as <exp field= "audit" value= "0" level= "1"/>
Need to add leve = "1", which indicates that the value will be passed on by the client.
General help a document can only be used one.
The query control must have a key value for the background service's configuration file, or it will complain
Do not test directly after the page has been written and the key value is not configured in the configuration file.
<table name= "Ba_enterprise" >
<field name= "Compno"/>
<field name= "Compname"/>
</Table>
<table name= "Sa_ordermst_online" >
<field name= "Relbillno" asname= "Wbillno"/>
</Table>
</Tables>
<Read>
<Sql>
Select [Fields] from [table]
Left join ba_enterprise on [table].compid = Ba_enterprise.id
[WHERE]
</Sql>
</Read>
The configuration file node is case-sensitive if the <Sql> is written <sql> will not conform to the expected result
valuechangeoption= "Leave" means that the control retains the last loaded value
The <Where> node of the <Record> node is not allowed to have elements
Ajax Asynchronous Invocation Problem:
If an AJAX request has not been completed, other AJAX requests cannot be requested to the server because of the asp.net session locking mechanism
The solution to this problem is in the first line of the ASPX page
<%@ Page language= "C #" autoeventwireup= true "codebehind=" OnSaleOrderDownload.aspx.cs "inherits=" be. Onsale.onsaleorderdownload "enablesessionstate=" ReadOnly "%>
Plus enablesessionstate= "ReadOnly"
can use var b = Builder. Transation (BD =>
{
Bd. Transationbegin (TRUE);
if (Pub.request ("Storemst"). Length > 0)
{
Storestockbillmst.with (BD). Commit ("Storemst");
}
if (Pub.request ("Storedtl"). Length > 0)
{
Storestockbilldtl.with (BD). Commit ("Storedtl");
}
});
Use as much as possible, because this transaction can be invoked by other external transactions unless there is special handling
Try
{
Builder. Transationbegin (TRUE);
Srvmst.delstockbillbyid (Jarr[i]. Tryparsetostring ());
}
catch (Exception ex)
{
Builder. Transationrollback ();
Jarr. RemoveAt (i);
Serror = ex. Message + "<br>";
}
Finally
{
Builder. Transationend ();
}
This transaction cannot be invoked by other external transactions and is generally used primarily for environments that require special handling
When there are two pop-up boxes the closing button for the first box must be different from the one in the second box, otherwise the first box will appear with two close buttons
If you want the statement to not appear _uid where query criteria, you can <dataservice needuid= false > Set needuid= "false"