This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PUT /entity/ExtendedDefault/18.200.001/Shipment HTTP/1.1 | |
Host: YourERPInstance | |
Content-Type: application/json | |
{ | |
"ShipmentNbr" : {"value" : "0000032" } , | |
"Details": [ | |
{ | |
"LineNbr" : {"value" : "1" } , | |
"Allocations": [ | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PUT /entity/Tote/18.200.001/Shipment?$filter=ShipmentNbr eq '0000032'&$expand=Packages HTTP/1.1 | |
Host: YourERPInstance | |
Content-Type: application/json | |
{ | |
"Packages":[ | |
{ | |
"BoxID": {"value":"PALLET"}, | |
"Confirmed": {"value":"true"}, | |
"Description": {"value":"Not So Big"}, | |
"Weight": {"value":"0.0"}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GET / entity/ExtendedDefault/18.200.001/Shipment/0000032?$expand=Details/Allocations HTTP/1.1 | |
Host: YourERPInstance | |
Content-Type: application/json | |
--return body (partial) | |
{ | |
"id": "a14bb7b0-28c2-ea11-8a94-0c54152a4c79", | |
…. | |
"Details": [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PUT /entity/Tote/18.200.001/Shipment HTTP/1.1 | |
Host: YourERPInstance | |
Content-Type: application/json | |
{ | |
"id": "a14bb7b0-28c2-ea11-8a94-0c54152a4c79", | |
"Packages": [ | |
{ | |
"id": "a3a541c4-30c2-ea11-8a94-0c54152a4c79", | |
"Contents": [ | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public abstract class srvOrdType : PX.Data.BQL.BqlString.Field<srvOrdType> { } | |
[PXDBString(4, IsKey = true, IsFixed = true, InputMask = ">AAAA")] | |
[PXUIField(DisplayName = "Service Order Type", Visibility = PXUIVisibility.SelectorVisible)] | |
[PXDefault(typeof(Coalesce< | |
Search<FSxUserPreferences.dfltSrvOrdType, | |
Where< | |
PX.SM.UserPreferences.userID, Equal<CurrentValue<AccessInfo.userID>>>>, | |
Search<FSSetup.dfltSrvOrdType>>))] | |
[FSSelectorSrvOrdType] | |
[PXUIVerify(typeof(Where<Current<FSSrvOrdType.active>, Equal<True>>), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public abstract class refNbr : PX.Data.BQL.BqlString.Field<refNbr> { } | |
[PXDBString(15, IsKey = true, IsUnicode = true, InputMask = ">CCCCCCCCCCCCCCC")] | |
[PXDefault] | |
[PXUIField(DisplayName = "Service Order Nbr.", Visibility = PXUIVisibility.SelectorVisible)] | |
[FSSelectorSORefNbr] | |
[AutoNumber(typeof(Search<FSSrvOrdType.srvOrdNumberingID, | |
Where<FSSrvOrdType.srvOrdType, Equal<Optional<FSServiceOrder.srvOrdType>>>>), | |
typeof(AccessInfo.businessDate))] | |
[PX.Data.EP.PXFieldDescription] | |
public virtual string RefNbr { get; set; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[AppointmentAutoNumber(typeof( | |
Search<FSSrvOrdType.srvOrdNumberingID, | |
Where< | |
FSSrvOrdType.srvOrdType, Equal<Optional<FSAppointment.srvOrdType>>>>), | |
typeof(AccessInfo.businessDate))] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public virtual string GetNextRefNbr(string baseRefNbr, string lastRefNbr) | |
{ | |
string newNumberSymbol = GetNewNumberSymbol(); | |
if (string.IsNullOrWhiteSpace(lastRefNbr) | |
|| (newNumberSymbol != null && lastRefNbr.Trim() == newNumberSymbol.Trim()) | |
) | |
{ | |
return GetInitialRefNbr(baseRefNbr); | |
} | |
else |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public virtual int ProcessReOpenItemLine(FSAppointmentDet apptDet) | |
{ | |
if (apptDet.Status == ID.Status_AppointmentDet.NOT_STARTED) | |
return 0; | |
FSAppointmentDet copy = (FSAppointmentDet)AppointmentDetails.Cache.CreateCopy(apptDet); | |
copy.Status = ID.Status_AppointmentDet.NOT_STARTED; | |
AppointmentDetails.Update(copy); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public virtual void ClearAppointmentLog() | |
{ | |
foreach (FSAppointmentLog fsAppointmentLogRow in LogRecords.Select().RowCast<FSAppointmentLog>().Where(_ => _.Type != ID.Type_Log.TRAVEL)) | |
{ | |
LogRecords.Delete(fsAppointmentLogRow); | |
} | |
} |
OlderNewer